Including out-of-tree kernel modules in Android build

41 views
Skip to first unread message

Aaron Rudolph

unread,
Oct 22, 2023, 9:18:36 PM10/22/23
to Android-rpi
I figured I'd post here as well as on the Raspberry Pi forums to see if anyone else knows anything. tl;dr - skip to the last paragraph.

I'm trying to build Android for reTerminal by SeeedStudio (https://wiki.seeedstudio.com/reTerminal). So far I've gotten KonstaKANG's AOSP build running on the device, but I can only use an external HDMI display (and mouse + keyboard). reTerminal also includes a light sensor, accelerometer, crypto device (?) and four programmable buttons that go through an I/O expander.

For now I just want to get the touchscreen and possibly accelerometer/light sensor working since I know Android should support those out-of-box without too much trouble. The thing is KonstaKANG's build does not include support for the touchscreen. Fortunately, Seeed has published DKMS drivers for all of the aforementioned hardware, and I have validated that they work on Raspberry Pi OS (https://github.com/Seeed-Studio/seeed-linux-dtoverlays/tree/master/modules)

Therein lies the problem. Can someone please guide me as to how I might add these drivers to an Android build? Right now I'm following KonstaKANG's instructions from https://github.com/raspberry-vanilla/android_local_manifest.

Thanks in advance.
Reply all
Reply to author
Forward
0 new messages