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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Fixes c5d93c41f8 (boards: Add Samsung Chromebook Plus test script),
which wouldn't compile.
make: *** No rule to make target 'boards/google,kevin', needed by '/tmp/bin/google,kevin'. Stop.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
This is a copy of the qcom,msm8916-sbc with everything commented out for
now except the thermal bits that I know about.
Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>