Revert "PROVISORY: ci: cram: freedom: disable 5G modem tests"

This reverts commit a0773fdc32 as its
supposed to be fixed.

References: PCF-2306
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
This commit is contained in:
Petr Štetiar 2026-03-31 17:04:32 +02:00 committed by Hela Saadani
parent 9abb4df08f
commit cd4c4f608a
2 changed files with 29 additions and 2 deletions

View File

@ -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:

View File

@ -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