Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.clangd
build
build-arm*
compile_commands.json
tools/dumps/
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -310,12 +310,18 @@ sensors:
# ipctool --script reginfo
```

* Advanced replacement of `strace`:
* Advanced replacement of `strace`, with sensor-aware decoding of I2C/SPI
ioctls and HiSilicon MIPI/VI structs:

```console
# ipctool trace /usr/bin/Sofia
# ipctool trace --output=/tmp/sofia-trace.log /usr/bin/Sofia
```

For a complete recipe — building a portable binary, capturing on
OpenIPC/Majestic and XiongMai/Sofia firmwares, and converting the
trace into a buildable sensor driver scaffold — see
[docs/sensor-driver-extraction.md](docs/sensor-driver-extraction.md).

### To help the researcher

On Ingenic devices, the original Sensor I2C address needs to be right shifted by 1bit, example:
Expand Down
Loading
Loading