127 Commits

Author SHA1 Message Date
Bjorn Andersson 7dd53678fe Merge pull request #68 from lumag/fix-db410c
Fix db410c tests
2024-07-05 17:34:03 -05:00
Dmitry Baryshkov daf340e67c boards/qcom,apq8016-sbc: allow different IDs for the HDMI codec device
If the ADV7511 was probe-deferred, then the HDMI codec can have
different IDs. Use wildcard to allow different IDs.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2024-07-05 17:01:19 +03:00
Dmitry Baryshkov bfe12e1ee1 boards: correct apq8016-sbc
Correct the DB410c tests to follow upstream changes:
- the SMD device migrated to use new qcom-rpm-proc driver
- smem device name has changed to include address
- APCS clock device name is now autogenerated.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2024-07-05 17:01:15 +03:00
Bjorn Andersson 57921a19b2 github: Introduce workflow for generating bootrr.cpio
For kernel CI purposes it's convenient to always have access to the
latest bootrr.cpio archive. Introduce a workflow that composes this and
generates an artifact.

Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com>
2024-05-08 18:15:45 +02:00
Bjorn Andersson 7ce7fd4e57 Merge pull request #66 from quic-bjorande/for-linux-msm/introduce-x1e-crd
boards: Add Qualcomm X1 Elite CRD
2024-04-23 16:15:47 -05:00
Bjorn Andersson 01b5de4e79 Merge pull request #65 from quic-bjorande/for-linux-msm/introduce-sc8280xp-crd
boards: Add Qualcomm SC8280XP CRD
2024-04-23 16:15:37 -05:00
Bjorn Andersson 969fdc4536 Merge pull request #64 from quic-bjorande/for-linux-msm/introduce-rb3gen2
boards: Add Qualcomm QCS6490 Rb3Gen2
2024-04-23 16:15:26 -05:00
Bjorn Andersson 4f08b9dac4 boards: Add Qualcomm X1 Elite CRD
Generated using boardrr-generate-template, with test case names adjusted
to be human readable.

Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com>
2024-04-23 14:15:22 -07:00
Bjorn Andersson 84fd5d56e8 Merge pull request #63 from quic-bjorande/for-linux-msm/silence-lava-testcase-test
helpers/bootrr: Silence the lava-test-case test
2024-04-23 16:15:15 -05:00
Bjorn Andersson bdc7b69cf2 Merge pull request #62 from quic-bjorande/for-linux-msm/cpio-owner
Makefile: Override owner of files in cpio archive
2024-04-23 16:15:02 -05:00
Bjorn Andersson 18baa908d7 Merge pull request #60 from nfraprado/usb-probe-test-upstream
Introduce USB device probe helper
2024-04-23 16:14:42 -05:00
Bjorn Andersson deb6fb799b boards: Add Qualcomm SC8280XP CRD
Generated using boardrr-generate-template, with test case names adjusted
to be human readable.

Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com>
2024-04-23 13:45:14 -07:00
Bjorn Andersson f7df0adc82 boards: Add Qualcomm QCS6490 Rb3Gen2
Generated using boardrr-generate-template, with test case names adjusted
to be human readable.

Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com>
2024-04-23 13:06:43 -07:00
Bjorn Andersson 76a2fde625 helpers/bootrr: Silence the lava-test-case test
`command -v` is invoked to check if lava-test-case exists, to know if we
need to fake it using `echo`. But in the event that lava-test-case
actually exist it also prints the full path of the executable.

Pipe the output to /dev/null, as we only care about the exit code.

Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com>
2024-04-21 20:39:55 -07:00
Bjorn Andersson 04922d1bd7 Makefile: Override owner of files in cpio archive
In the typical scenario where the bootrr cpio archive is concatenated
onto some ramdisk, attributes of this cpio archive will overwrite those
previously extracted.

When used in combination with a ramdisk with systemd, this results in
many services failing to start, because the namespaced services does not
have permission to open e.g. /

Fix this my overriding the owner and group.

Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com>
2024-04-21 20:38:32 -07:00
Konrad Dybcio 48ac2b00f7 Merge pull request #61 from calebccff/musl-op6
POSIX sh fixes and OnePlus 6 board files
2024-03-18 17:18:25 +01:00
Caleb Connolly 624169ad57 boards: support OnePlus 6/6T
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
2023-09-25 15:20:44 +01:00
Caleb Connolly 15802fb245 bin: generate: use POSIX sh and support spaces
Handles drivers with spaces in their names, and simplify slightly by
using globbing to unwrap the bus for loop.

It's necessary to add the final '*' in the "for driver in" loop in
bootrr-generate-template on POSIX sh.

Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
2023-09-25 15:18:27 +01:00
Nícolas F. R. A. Prado 1dd1ca0437 boards: Use assert_usb_probed for USB devices on Spherion
Make use of the newly added assert_usb_probed helper for USB devices on
Spherion, as it relies on documented kernel ABI and will therefore
require less maintenance.

Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
2023-09-07 16:23:15 -04:00
Nícolas F. R. A. Prado bc331ca133 helpers: Introduce assert_usb_probed
Current bootrr helpers, assert_device_present and assert_driver_present,
use driver and device names, both of which are not part of the kernel's
stable ABI and end up requiring extra maintenance whenever those names
are changed, in order to check for the expected name on each kernel
version.

Introduce a new helper, assert_usb_probed, that verifies a USB device
has been probed, taking as parameters the device's hardware identifying
properties, which are documented kernel ABI: idVendor, idProduct,
bcdDevice, bDeviceClass, bDeviceSubClass, bDeviceProtocol,
bInterfaceClass, bInterfaceSubClass, bInterfaceProtocol,
bInterfaceNumber.

A 'count' parameter is also required, to inform the number of devices
matching these criteria that should have been probed. This allows the
test to verify the probe of multiple identical devices.

A '*' can be used as wildcard for any of the matching fields as
necessary.

Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
2023-09-07 16:23:15 -04:00
Nícolas F. R. A. Prado b22ac8899c boards: Add test case for google,spherion
Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
2023-09-07 16:19:52 -04:00
Mark Brown cac8008d8b boards: Add BeagleBone X15
Add an initial description for the BeagleBone X15.

Signed-off-by: Mark Brown <broonie@kernel.org>
2023-08-27 17:36:53 -05:00
Mark Brown 71cb8ec97f boards: Add Toradex Verdin on Dahalia carrier card
This is a modular system, it could be split up further (eg, there will
be a lot shared with the WiFi variant) but this is what I have to hand.

Signed-off-by: Mark Brown <broonie@kernel.org>
2023-08-27 17:36:30 -05:00
Mark Brown 260e8efd32 squash imx8mp 2023-08-27 17:36:30 -05:00
Mark Brown 0dc294836a boards: Add i.MX8MP-EVK description
Add coverage for the NXP i.MX8MP-EVK based on the current upstream
support.

Signed-off-by: Mark Brown <broonie@kernel.org>
2023-08-27 17:36:30 -05:00