diff --git a/.gitlab/tests/cram/generic/acceleration-plan-components/50-cellular-offline.t b/.gitlab/tests/cram/generic/acceleration-plan-components/50-cellular-offline.t index 53ee74aa93..b0cec10e3d 100644 --- a/.gitlab/tests/cram/generic/acceleration-plan-components/50-cellular-offline.t +++ b/.gitlab/tests/cram/generic/acceleration-plan-components/50-cellular-offline.t @@ -2,9 +2,9 @@ Create R alias: $ alias R="${CRAM_REMOTE_COMMAND:-}" -If test is running on a Mozart, Turris, Haze or Freedom, lets skip the test as there is no cellular modem available: +If test is running on a Mozart, Turris or Haze, lets skip the test as there is no cellular modem available: - $ if echo "$CI_JOB_NAME" | grep -q -E "(Mozart|Turris|Haze|Freedom)"; then exit 80; fi + $ if echo "$CI_JOB_NAME" | grep -q -E "(Mozart|Turris|Haze)"; then exit 80; fi Make sure Cellular is registered in the Datamodel: diff --git a/.gitlab/tests/cram/wnc-freedom/015-platform.t b/.gitlab/tests/cram/wnc-freedom/015-platform.t index f41d676d8e..9f131422fa 100644 --- a/.gitlab/tests/cram/wnc-freedom/015-platform.t +++ b/.gitlab/tests/cram/wnc-freedom/015-platform.t @@ -2,6 +2,33 @@ Create R alias: $ alias R="${CRAM_REMOTE_COMMAND:-}" +Check that Quectel RM520N-GL is available on PCI bus and uses correct mhi-pci-generic kernel driver: + + $ R "lspci -v -d 17cb:0308" 2>/dev/null | grep -v Flags: + 0000:01:00.0 Unassigned class [ff00]: Qualcomm Technologies, Inc Device 0308 + \tSubsystem: Qualcomm Technologies, Inc Device 5201 (esc) + \tMemory at 28300000 (64-bit, non-prefetchable) [size=4K] (esc) + \tMemory at 28301000 (64-bit, non-prefetchable) [size=4K] (esc) + \tCapabilities: [40] Power Management version 3 (esc) + \tCapabilities: [50] MSI: Enable+ Count=8/32 Maskable+ 64bit+ (esc) + \tCapabilities: [70] Express Endpoint, IntMsgNum 0 (esc) + \tCapabilities: [100] Advanced Error Reporting (esc) + \tCapabilities: [148] Secondary PCI Express (esc) + \tCapabilities: [168] Physical Layer 16.0 GT/s (esc) + \tCapabilities: [18c] Lane Margining at the Receiver (esc) + \tCapabilities: [19c] Transaction Processing Hints (esc) + \tCapabilities: [228] Latency Tolerance Reporting (esc) + \tCapabilities: [230] L1 PM Substates (esc) + \tCapabilities: [240] Data Link Feature (esc) + \tKernel driver in use: mhi-pci-generic (esc) + +Check that Quectel RM520N-GL is available on USB bus: + + $ R lsusb -v -d 2c7c:0801 | grep -e iManufacturer -e iProduct -e iConfiguration | sort + iConfiguration 4 DIAG_SER_RMNET + iManufacturer 1 Quectel + iProduct 2 RM520N-GL + Check that expected DTS aliases are provided for ethernet interfaces: $ R 'cd /sys/firmware/devicetree/base