Commit Graph

66 Commits

Author SHA1 Message Date
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
Vinod Koul
f679bcc1ac boards: Introduce qcom,sm8150-mtp
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2020-01-03 11:14:14 -08:00
Bjorn Andersson
ffed252561 boards: db410c: Update test cases
Disable CPR until it's landed, fix PRNG driver name, don't try to mount
the firmware partition and boot the wcnss as part of the basic test
suite.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2019-10-11 21:39:22 -07:00
Bjorn Andersson
5ed816e004 helpers: device_present: Report driverless devices as blocked
Typical use of assert_device_present is to first assert_driver_present
and then check for the individual devices. Let the driver check fail and
report any of the device tests as blocked if the driver is not present.

This makes it clearer in the output that a device test failed due to the
lack of the driver, rather than some other aspect.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2019-10-11 21:25:12 -07:00
Bjorn Andersson
4b48a09e89 boards: thundercomm,db845c: Update tests
Add GENI wrapper test cases, add i2c11 test, reorder uart tests and add
uart3 (disabled for now to match dts), disable the GEN3 PCI tests as
there's nothing attached and fix remoteproc test case names.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2019-10-11 21:25:05 -07:00
Bjorn Andersson
b0c11040bc boards: qcom,sdm845-mtp: Update tests
Add test for GENI wrapper, disable PCIe tests as there's nothing
attached on the test device and fix the name of the remoteproc tests.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2019-10-11 21:21:05 -07:00
Bjorn Andersson
806304f0e5 boards: qcs404: Fix QCS404 EVB definition
Fix the RPM regulator device name and drop the test for SMSM as this
isn't used on QCS404.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2019-10-02 16:40:02 -07:00
Bjorn Andersson
f6f1e2a5e4 boards: Update SDM845 MTP
Update sdm845 mtp board to match things landed in the kernel.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2019-10-02 16:36:36 -07:00
Bjorn Andersson
363804b205 boards: Introduce Dragonboard 845c
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2019-10-02 16:33:30 -07:00
Nicolas Dechesne
2a1010e7ad Makefile: add target to generate cpio
It is convenient to deliver the bootrr as a cpio archive which can be
appended to an initramfs image.

The output cpio filename can be overriding the CPIONAME variable, it
is set to 'bootrr' by default.

Also use a default value for DESTDIR, so that "make cpio" just works.

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2019-08-05 23:26:44 -07:00
Enric Balletbo i Serra
e4ea38f586 boards: google,kevin: Check for console_log and pdinfo in debugfs
Assert that console_log and pdinfo attributes are present in cros_ec
debugfs.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
2019-05-23 15:16:26 -07:00
Enric Balletbo i Serra
970ecfd149 boards: google,kevin: Fix missing parameters on some assert_device_present tests
The call to asset_device_present for rockchip-efuse and
rockchip-emmc-phy was missing some paramaters and always failed. Fix that
by adding the proper paramaters.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
2019-05-23 15:16:26 -07:00
Fabien Lahoudere
d3ac0bc9be helpers: Add script to perform generic tests
Some tests does not depend on a board. We can consider these tests
as generic and bootrr-generic-tests is added to contain them.
This scripts is started at the begining of bootrr-auto before boards
specific tests.

Signed-off-by: Fabien Lahoudere <fabien.lahoudere@collabora.com>
Reviewed-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
2019-05-08 09:00:50 -07:00
Enric Balletbo i Serra
4523c42196 helpers: Add an script to check if a file is empty
We might be interested on check if a file is empty or not. One use case
is check if the /sys/kernel/debug/devices_deferred file is not empty, in
such case mean that a driver is deferred for some reason so probe didn't
succeed.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Fabien Lahoudere <fabien.lahoudere@collabora.com>
2019-05-08 09:00:50 -07:00
Enric Balletbo i Serra
bdec57ba38 helpers: Add a helper script to run the tests for device-tree based devices
Based on the compatible string you can identify which device model is running,
so add a helper script that allows you to detect which test suite should
be run.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Fabien Lahoudere <fabien.lahoudere@collabora.com>
2019-05-08 09:00:50 -07:00
Enric Balletbo i Serra
d39031aad4 boards: Add Google Veyron Jaq test script
Add some test cases for the Chromebooks based on Google Veyron Jaq models.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
2019-02-27 10:37:42 -08:00
Enric Balletbo i Serra
736f42f6e8 boards: Add Samsung Chromebook 2 (Peach Pi) test script
Add some test cases for the Chromebooks based on Google Peach Pi models.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
2019-02-27 10:37:42 -08:00
Vinod Koul
99c8e7a517 README: Add readme with local testing details
I keep  forgetting how to run the tests locally from git or tarball, so
create the README file with details

Signed-off-by: Vinod Koul <vkoul@kernel.org>
2019-02-27 09:31:33 -08:00
Vinod Koul
6596c94ebf boards: enable qcs404 tests and correct some tests
Enable bunch of tests for QCS404 which are relevant and also fix some
of the tests for QCS404 to use correct drivers/devices

Signed-off-by: Vinod Koul <vkoul@kernel.org>
2019-02-27 09:31:33 -08:00
Enric Balletbo i Serra
49bf91b600 Makefile: Match board name with compatible string and install sysfs_attr helper
There is an script that parses /proc/device-tree/compatible and if
matches with the name of the board script runs the test suite. The
Samsung Chromebook Plus reports the following compatibles:

 google,kevin-rev15 google,kevin-rev14 google,kevin-rev13
 google,kevin-rev12 google,kevin-rev11 google,kevin-rev10
 google,kevin-rev9 google,kevin-rev8 google,kevin-rev7
 google,kevin-rev6 google,kevin google,gru rockchip,rk3399

Being google,kevin the more generict this patch renames the board test
script to this name.

The patch also adds the assert_sysfs_attr_present helper script to the
Makefile install target because it is used by the google,kevin test
suite.

Fixes: 1c42025152 ("Makefile: fixes board name for google,kevin")
Fixes: c5d93c41f8 ("boards: Add Samsung Chromebook Plus test script")
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
2019-02-06 10:41:31 -08:00