Add Airoha/Nokia profile for the Valyrian board. Required packages are imported from the feed-airoha repository. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> Signed-off-by: Peter Steinhaeuser <ps@embedd.com>
28 lines
928 B
Perl
28 lines
928 B
Perl
Create R alias:
|
|
|
|
$ alias R="${CRAM_REMOTE_COMMAND:-}"
|
|
|
|
If test is running on a Valyrian, Valyrian, Mozart, Turris or Haze, lets skip the test as there is no cellular modem available:
|
|
|
|
$ if echo "$CI_JOB_NAME" | grep -q -E "(Valyrian|Mozart|Turris|Haze|Valyrian)"; then exit 80; fi
|
|
|
|
Make sure Cellular is registered in the Datamodel:
|
|
|
|
$ R "ba-cli -ajl Cellular.?1"| jq -r '.[0] | keys[0]'
|
|
Cellular.
|
|
|
|
Make sure a Modem is found:
|
|
|
|
$ R "mmcli -L | head -n 1"
|
|
.*\/org\/freedesktop\/ModemManager[0-9]\/Modem\/[0-9]+.+ (re)
|
|
|
|
Check datamodel parameters that should be set when no SIM is detected:
|
|
|
|
$ R "ubus-cli -al Cellular.AccessPoint.1.Interface? | awk NF"
|
|
Device.Cellular.Interface.1.
|
|
|
|
$ R "ubus-cli -al Cellular.Interface.1.LowerLayers? | awk NF"
|
|
|
|
$ R "echo protected\; Cellular.Interface.1.InternalName? | xargs ba-cli -al | grep -v '> ' | awk NF"
|
|
.*\/org\/freedesktop\/ModemManager[0-9]\/Modem\/[0-9]+ (re)
|