You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fastrpc_test: default to /usr/bin; add --domain/--user-pd; tougher CI logging
- Always cd to /usr/bin and launch ./fastrpc_test so bundled assets
(/usr/bin/linux) are discovered reliably.
- Add domain selection:
* --domain <0|1|2|3> or --domain-name <adsp|mdsp|sdsp|cdsp>
* ENV overrides: FASTRPC_DOMAIN / FASTRPC_DOMAIN_NAME
* Auto-pick if unset: CDSP(3) if present, else ADSP(0), else SDSP(2), else 3
- PD mode: default -U 0; opt-in user PD via --user-pd or FASTRPC_USER_PD=1
- Refuse /bin by default (seen to fail on some ramdisks); allow with
ALLOW_BIN_FASTRPC=1 or explicit --bin-dir=/bin
- Stronger CI diagnostics:
* log SoC info (machine/soc_id/platform_version)
* enumerate *dsp remoteprocs via existing helpers
* per-iteration .env/.cmd/.out/.rc (and dmesg on error)
* show exact command with safe quoting
- Safer argv construction and quoting; no reliance on shell word-splitting
- Result file always produced (PASS/FAIL)
Examples:
./run.sh # auto domain (likely CDSP), -U 0
./run.sh --domain 0 # ADSP
./run.sh --domain-name cdsp # CDSP
FASTRPC_USER_PD=1 ./run.sh # run with -U 1
./run.sh --bin-dir /usr/bin # explicit path if needed
Signed-off-by: Srikanth Muppandam <[email protected]>
[PASS] 2025-09-02 10:44:50 - fastrpc_test : Test Passed (1/1)
106
137
```
107
138
108
139
## CI debugging aids
109
-
140
+
- Binary resolved to /bin/fastrpc_test: By default this is blocked to avoid loader/ramdisk mismatches. Set ALLOW_BIN_FASTRPC=1 and/or --bin-dir /bin if you intentionally need it.
141
+
- Error resolving path .../linux: Ensure linux/ is next to the binary (e.g., /usr/bin/linux). The script runs from the binary dir specifically to make this work.
142
+
- Session create errors with -U 1: If you opt into user/unsigned PD and see 0x80000416, confirm your image includes unsigned shells/policies (or revert to the default -U 0).
0 commit comments