Commit Graph

20 Commits

Author SHA1 Message Date
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
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
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
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
Nicolas Dechesne
1c42025152 Makefile: fixes board name for google,kevin
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>
2019-02-05 22:26:37 -08:00
Enric Balletbo i Serra
c5d93c41f8 boards: Add Samsung Chromebook Plus test script
Add some test cases for kevin, now that it is being boot tested.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
2019-02-04 14:51:21 -08:00
Amit Kucheria
29a357b718 boards: Add new qcs404-evb board
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>
2019-01-16 23:13:02 -08:00
Amit Kucheria
a2cc1741bb helpers: Add value_in_range helper
This helper is useful to check if a value is within a given range e.g.
temperature is between 30 and 40 degrees.

Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
2018-07-26 06:06:57 -07:00
Amit Kucheria
4ea31c5af8 helpers: Add state_check helper
This helper is useful to check the state of a sysfs variable, e.g. enabled,
disabled, running, offline, etc.

Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
2018-07-26 06:06:57 -07:00
Bjorn Andersson
30e0c0fcd9 boards: Update boards list in makefile
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2018-05-11 23:16:26 -07:00
Aníbal Limón
365a5ee5fe Makefile: Add missing bootrr installation
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
2018-03-20 20:19:21 -07:00
Bjorn Andersson
ede63f2b8a make: Move files into subdirectories
Instead of mixing helpers and board files move them to separate folders.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2018-03-06 14:20:41 -08:00
Bjorn Andersson
bc136385d1 db820c: Add initial list of checks for db820c
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2018-03-06 14:20:41 -08:00
Bjorn Andersson
94686b71d8 db410c: Add initial bunch of tests
Some random smoke tests for db410c.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2018-02-27 15:08:19 -08:00