Ralim / ebc-dev-reverse-engineering

Reverse engineering notes on the RK3566 EBC controller #pinenote
13 stars 7 forks source link

Add Ghidra project and C header/source for v2.09 #3

Closed smaeul closed 2 years ago

smaeul commented 2 years ago

This driver version is much closer to the version actually running in the stock Android build (v2.08). The main focus in this Ghidra project was understanding the dmesg output, understanding how buffer flipping worked, and confirming that my data path reimplementation1 was still correct.

Specifically, I was not concerned with the custom ioctl API, as that will not be used on mainline, and as the userspace side (the hwcomposer) is available as C source. So this version does not fully supersede the previous effort.

The purpose of this pull request is to help keep all of the reversing effort in one place.

Ralim commented 2 years ago

Thank you for this ❤️ Happy to take in any reversing work or notes you can offer during your highly appreciated quest