Hi,
I’m using Android on the M3 so that I can use the hardware acceleration for jpeg decoding and all the good stuff that we can’t yet access on Linux.
I made 2 “peripherals” with a small uC that send data via serial via a board mounted on the GPIO pins. The banana having only one USART port available by default on the GPIOs, I managed to use USART 3 on Linux (GPIO pin 31/33), but I can’t manage to find a way to do it on Android.
In the same fashion that I did it on Linux, and in the same way it’s done on some allwinner-based boards to modify things like the default resolution and such, I should be able to just modify the sys_config.fex file (obtained by extracting the .img android system image using tools like imgRepacker), and repack it with that same tool. While I got no error when doing this, and my modifications to the file being correctly extracted if I unpack/repack the image, it seems to have no influence on the system once flashed.
Is there a special way / tool to edit that sys_config.fex, or a similar file that I’m not aware of to make the system take my modifications into account ? Is there something special to do with the Bpi ?
If anyone managed to change the default GPIO function on android, I’d be interested : ).
Thanks,