Commit Graph

143 Commits

Author SHA1 Message Date
Dmitry Baryshkov
b5664c2c79 Merge pull request #31 from krzk/ci-clean
Ci clean
2023-09-23 00:19:24 +02:00
Krzysztof Kozlowski
b55f011d1a ci: remove stale links
Remove stale CI script links (unused).

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
2023-09-22 22:03:09 +02:00
Krzysztof Kozlowski
1353a029aa ci: keep env variables ordered by name
Put 'pkg_config_path' before 'variant' so the environment variables are
ordered alphabetically.  No functional changes.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
2023-09-22 22:03:06 +02:00
Konrad Dybcio
85f802323c Merge pull request #19 from krzk/ci-scheduled-builds
ci: run builds periodically
2023-09-22 21:34:14 +02:00
Krzysztof Kozlowski
2c2e9d46b4 ci: fix Arch Linux GLIBC_2.38 not found
Arch Linux builds can fail if system is not upgraded while installing
new packages, probably due to mismatched libraries:

  clang: /usr/lib/libc.so.6: version `GLIBC_2.38' not found (required by /usr/lib/libstdc++.so.6)

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
2023-09-22 21:06:13 +02:00
Krzysztof Kozlowski
04f83b65f2 ci: run builds periodically
Without big development activity, thus workflows triggered on changes,
CI builds might never run.  In the same time distros actually change, so
things can get be broken due to external (distro) reasons.  This is
especially true for development versions, like Debian testing.

Run at least once per week, to be sure everything still builds even
without development activity.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
2023-09-22 21:06:06 +02:00
Dmitry Baryshkov
62d67fc81e Merge pull request #30 from linux-msm/konradybcio-patch-1
ftdi-gpio: Use a non-local include for libftdi hdr
2023-09-21 17:40:42 +03:00
Konrad Dybcio
a1f2da91b2 ftdi-gpio: Use a non-local include for libftdi hdr
Signed-off-by: Konrad Dybcio <konradybcio@kernel.org>
2023-09-21 16:27:22 +02:00
Dmitry Baryshkov
a4df159d84 Merge pull request #29 from lumag/fix-ci
ci: use Debian ARM hard-float port instead of armel
2023-09-21 16:56:53 +03:00
Krzysztof Kozlowski
4c1216134c ci: use Debian ARM hard-float port instead of armel
Newer ARMv7 boards are actually supported by armhf, not armel.  armel
containers might not even work:

  The following packages have unmet dependencies:
    libc6-dev:armel : Depends: linux-libc-dev:armel but it is not installable
  E: Unable to correct problems, you have held broken packages.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
[DB: fixed pkg-config-path]
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-09-21 16:52:54 +03:00
Konrad Dybcio
fb1118346d Merge pull request #28 from lumag/fix-ci
Makefile: adapt for libftdi vs libftdi1 differences
2023-09-21 15:42:57 +02:00
Dmitry Baryshkov
b6ef0718d4 ci: install pkg-config or pkgconf
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-09-21 16:37:48 +03:00
Dmitry Baryshkov
2bbe855662 Makefile: adapt for libftdi vs libftdi1 differences
Use the cflags and libs from pkg-config. This allows us to adapt to the
distro differences. Also, make sure to autodetect if the distro provides
libftdi or libftdi1, preferring the latter one.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-09-21 15:03:40 +03:00
Konrad Dybcio
38d05e8d95 Merge pull request #23 from lumag/tilde-handling
cdba: fix console handling
2023-09-21 12:43:29 +02:00
Konrad Dybcio
f2d2828dd8 Merge pull request #22 from lumag/set_active
device: support specifying active slot
2023-09-21 12:43:18 +02:00
Dmitry Baryshkov
bfcbff6439 cdba: fix console handling
Current default is to interpret 20 tilde characters as a signal to power
cycle the board and if there are no power cycles left to exit cdba.
Unfortunately gcc started spurting tilde chars in compile log, so
compiling software on the cdba target can cause cdba exit.

Change the defaults so that by default cdba doesn't interpret received
lines. One can specify '-c 0' on the cdba command line to restore
previous behaviour.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-09-21 13:36:58 +03:00
Dmitry Baryshkov
327da0b5b5 device: support specifying active slot
For different reasons it might be desirable to keep slot 'b' as an
active slot. Add support for specifying the active slot in the config
file. The default is still slot 'a'.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-09-21 13:35:04 +03:00
Konrad Dybcio
ace20c95f5 Merge pull request #26 from linux-msm/konradybcio-patch-1
cdba-server: Remove dead code
2023-09-21 12:29:51 +02:00
Konrad Dybcio
9e0edd42ce Merge pull request #20 from lumag/debian-cross-ci
Improve debian-cross CI scripts
2023-09-21 12:28:00 +02:00
Dmitry Baryshkov
35836467e4 c/debian: use dpkg-architecture to detect gcc-cross package name
Rather than specifying GCC packages manually, generate package name
using dpkg-architecture.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-09-21 13:26:29 +03:00
Dmitry Baryshkov
d6d2554182 ci/debian: don't install libc6-dev-ARCH-cross packages
There is no need to manually install libc6-dev-ARCH-cross packages.
Corresponding target arch packages will be pulled out via the dependency
of library dev packages.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-09-21 13:23:59 +03:00
Konrad Dybcio
5850ee756d cdba-server: Remove dead code
Don't count the timers, as it's not used anywhere. Clang is unhappy with that:

cdba-server.c:307:6: warning: variable 'count' set but not used [-Wunused-but-set-variable]
        int count = 0;

Signed-off-by: Konrad Dybcio <konradybcio@kernel.org>
2023-09-21 09:24:24 +02:00
Konrad Dybcio
6ea5f8f123 ci: Drop EOL ubuntu kinetic
and leave a comment about lunar EOL

Signed-off-by: Konrad Dybcio <konradybcio@kernel.org>
2023-09-21 01:53:05 +02:00
Konrad Dybcio
f3ec38a754 Merge pull request #24 from linux-msm/konradybcio-patch-1
Drop EOL fedora branches
2023-09-21 01:51:27 +02:00
Konrad Dybcio
721f440e7d Drop EOL fedora branches
Signed-off-by: Konrad Dybcio <konradybcio@kernel.org>
2023-09-21 01:36:12 +02:00