Commit Graph

101 Commits

Author SHA1 Message Date
Mark Brown
07cb25b792 boards: Add Synquacer DT
Add a template for the Socionext Synquacer booted with DT.

Signed-off-by: Mark Brown <broonie@kernel.org>
2023-08-27 17:35:37 -05:00
Mark Brown
6ac3e34d34 helpers: Fix bashism in cpufreq and cpuidle tests
The helpers for verifiying that cpufreq and cpuidle are enabled
use let which is a bash extension and not supported in standard
POSIX shell, including with busybox.  Convert to use expr which
is standard.

Signed-off-by: Mark Brown <broonie@kernel.org>
2023-01-17 22:53:16 -06:00
Mark Brown
f65d7327ca bin: Add a tool to generate a template bootrr board description
bootrr requires a description of each board it runs on to provide
detection of the actual devices and system support that is
present.  Currently these descriptions must be written by hand
but we can ease the process of creating them by providing a tool
which examines the running system and outputs a set of bootrr
assertions which would pass on the system.

The script will require post processing by users, the generate
rule names won't be good, hotplugged devices will be included and
any spaces in device or driver names will cause confusion, but it
can provide a usefuls starting point.

Signed-off-by: Mark Brown <broonie@kernel.org>
2023-01-17 22:52:56 -06:00
Mark Brown
8d1bcab6db boards: Add LibreTech Tritium H5
This adds coverage for the bulk of the devices on the LibreTech
Tritium H5.

Signed-off-by: Mark Brown <broonie@kernel.org>
2023-01-17 22:52:12 -06:00
Mark Brown
c7966eae35 boards: Move generic RK3288 description to a separate file
There are a number of devices on the RK3288 which are usable on
and enabled for any system using the SoC, due to either being
essential for system operation or entirely internal to the SoC
(like the crypto engine).  Move these to a separate script
identified by the compatible for the SoC so that we get coverage
of these things on any system which uses this SoC.

Signed-off-by: Mark Brown <broonie@kernel.org>
2023-01-17 22:51:55 -06:00
Mark Brown
611aa83457 boards: Add UDOO Dual Lite
Add coverage for the UDOO Dual Lite board.

Signed-off-by: Mark Brown <broonie@kernel.org>
2023-01-17 22:51:24 -06:00
Mark Brown
b1a3d903d3 boards: Add Allwinnner A64 coverage
Add coverage for the generic SoC devices on the Allwinner A64.

Signed-off-by: Mark Brown <broonie@kernel.org>
2023-01-17 22:51:10 -06:00
Mark Brown
784c03585f boards: Add Pine64+ coverage
Cover the board specific devices on the Pine64+.

Signed-off-by: Mark Brown <broonie@kernel.org>
2023-01-17 22:50:53 -06:00
Mark Brown
d952028b4f boards: Add UDOO Quad
Add coverage for the UDOO Quad.

Signed-off-by: Mark Brown <broonie@kernel.org>
2023-01-17 22:50:40 -06:00
Mark Brown
157742b79d boards: Add LibreTech Le Potato
This covers most of the hardware on the LibreTech Le Potato
board.

Signed-off-by: Mark Brown <broonie@kernel.org>
2023-01-17 22:50:25 -06:00
Mark Brown
c55b110515 boards: Add Raspberry Pi 1 coverage
Add coverage of most of the user facing devices on the original
Raspberry Pi.

Signed-off-by: Mark Brown <broonie@kernel.org>
2023-01-17 22:50:02 -06:00
Mark Brown
c79876ebb8 boards: Add BeagleBone Black coverage
Cover most of the user visible hardware on the BeagleBone Black.

Signed-off-by: Mark Brown <broonie@kernel.org>
2023-01-17 22:49:40 -06:00
Mark Brown
123323d5d0 boards: Add coverage for AT91SAM9G20-EK
Coverage for most of the end user devices on the AT91SAM9G20-EK
board.

Signed-off-by: Mark Brown <broonie@kernel.org>
2023-01-17 22:49:13 -06:00
Mark Brown
9136a0f94b boards: Add coverage for Juno r0
Add coverage for most of Juno r0.

Signed-off-by: Mark Brown <broonie@kernel.org>
2023-01-17 22:48:49 -06:00
Emanuele Aina
bd84c8a164 Expand the README to explain what bootrr is about
Inspired by https://github.com/RichardLitt/standard-readme/

Signed-off-by: Emanuele Aina <emanuele.aina@collabora.com>
2022-02-08 09:10:55 -08:00
Vinod Koul
4de62e94bc boards: Add Qualcomm SM8450 QRD
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2022-02-08 09:10:06 -08:00
Dmitry Baryshkov
388e281ef2 Makefile: change install paths, provide bootrr-run script
Install all the tests into separe dir (${prefix}/libexec/bootrr).
Provide a generic script to run all the tests on the target board.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2021-11-01 11:48:12 -05:00
Dmitry Baryshkov
e5413c7b1f .gitingore: add ignore file including generated files
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2021-11-01 11:48:12 -05:00
Dmitry Baryshkov
4a600192ca Makefile: remove list of files to be installed
Remove lists of boards and helpers, this is too error-prone. For example
the list of helpers missed bootrr-generic-tests.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2021-11-01 11:48:12 -05:00
Dmitry Baryshkov
5f9f7904ab bootrr-auto: switch to using sh
There is nothing bash-specific in bootrr-auto, we can safely use /bin/sh
instead. Verified with dash and with busybox sh.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2021-11-01 11:48:12 -05:00
Dmitry Baryshkov
17d6cf968b helpers/rproc-start,-stop: use common test_report_exit helper
Use common test_report_exit implementation from the bootrr rather than
hand-coding lava-only version.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2021-11-01 11:48:12 -05:00
Dmitry Baryshkov
dad8a13e9e helpers/bootrr: move timeout to separate helper
There is no need to have timeout as a function in the bootrr file. Move
it to a separate helper file as we have for the rest of helpers.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2021-11-01 11:48:12 -05:00
Bhupesh Sharma
d2329902b7 Add a LICENSE file with BSD-3-Clause license
Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org>
2021-09-22 08:28:33 -07:00
Bhupesh Sharma
de442c7201 boards: Add Qualcomm sa8155p ADP
Add the bootrr board file for sa8155p adp board.

Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org>
2021-06-17 09:51:32 -07:00
Bhupesh Sharma
e7ea52f897 boards: Create a SoC file for Qualcomm sm8150 parts
Create a SoC file for Qualcomm sm8150 part since there
can be multiple boards which use the same SoC, for example
sm8150-mtp and sa8155p-adp boards.

The respective board files will include this soc file instead.
Via this patch make sure that sm8150-mtp board file includes
the qcom,soc-sm8150 file.

Subsequent patch will implement a similar mechanism for the
sa8155p-adp board.

Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org>
2021-06-17 09:51:32 -07:00