Commit Graph

85 Commits

Author SHA1 Message Date
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
Thara Gopinath
eda0e4bf25 boards/thundercomm,db845c: Add support for checking if cpufreq and cpuidle is enabled
Add helper files to check if cpufreq and cpuidle are enabled. Also
add the test support for db845c.

Signed-off-by: Thara Gopinath <thara.gopinath@linaro.org>
2021-02-25 08:18:09 -08:00
Vinod Koul
75dfce0a53 boards: Add Qualcomm SM8350 MTP
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2021-02-25 08:17:36 -08:00
Aníbal Limón
6603529a75 oards/qcom,apq8016-sbc: Change partition check to boot
Linux and Android bootloaders differs in set of partitions rootfs vs
system/userdata respectively. Both has boot partition.

Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
2021-01-26 14:55:45 -08:00
Aníbal Limón
b765202e1d boards/qcom,apq8016-sbc: Fix qcom_hwspinlock device
From,

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=5342f1df8f50df3cec6e015beefc4eca79eb858d

Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
2021-01-26 14:55:45 -08:00
Aníbal Limón
f58a59af20 boards/qcom,apq8016-sbc: Rename "x-smp2p" to "smp2p-x
From,

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=cdbb391676fa07606994243cc670dd496a9d37db

Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
2021-01-26 14:55:45 -08:00
Aníbal Limón
f55dab45f9 boards/qcom,apq8016-sbc: Rename qcom-q6v5-pil to qcom-q6v5-mss
Driver was renamed from,

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=ef73c22fa025fe1db47605a9440767de993d1628

Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
2021-01-26 14:55:45 -08:00
Aníbal Limón
37018e5143 boards/qcom,apq8016-sbc: Add soundcard testing
This test covers check for WCD and HDMI audio driver/devices and check
/proc/asound to ensure soundcard has devices attached.

Common assert_soundcard_present is implemented to check /proc/asound for
soundcards a devices associated with it. In this case 2 Playbacks and 1
Capture device.

Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
2021-01-21 08:56:20 -08:00
Aníbal Limón
efe5691ee5 helpers: assert_{mmc,partition} use test_report_exit
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
2021-01-21 08:56:20 -08:00
Nicolas Dechesne
866d779bca thermal: combine all thermal zones into a single test
Instead of reporting each thermal zone independently, test them all in
batch mode, and report one test case. When looking at the lists of
test results we will now have the same tests name for any platform
instead of a different number of tests executed for each of them.

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2021-01-18 20:30:56 -08:00
Dmitry Baryshkov
1f97bd3f0e boards: qrb5165-rb5: add more devices to test
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2020-12-03 09:16:53 -06:00
Dmitry Baryshkov
568beabff6 boards: qrb5165-rb5: disable PCIe1/2 tests
Only first PCIe host is probed, other two hosts will fail probing with
ETIMEDOUT. Disable testing for corresponding devices.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2020-12-03 09:16:53 -06:00
Dmitry Baryshkov
a9bb37959d boards: qrb5165-rb5: correct adsp smp2p device name
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2020-12-03 09:16:53 -06:00
Dmitry Baryshkov
c383e5b597 boards: qrb5165-rb5: correct tcsr-mutex device name
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2020-12-03 09:16:53 -06:00
Manivannan Sadhasivam
f829d2ba52 boards: rb5: Add more peripherals/drivers
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
2020-10-07 07:07:20 -07:00
Amit Kucheria
66f41cfd08 Add QRB5165 RB5
Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2020-09-28 09:58:08 -05:00
Bjorn Andersson
84b3d592b0 boards: Add Qualcomm SM8250 MTP
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2020-04-30 21:42:04 -07:00