The recent simulation of the Android camera process on the Minicamera (Linux + FPGA) platform has been plagued by escalating synchronization. Especially when the source code is not open,
The difficulty of applying to link closed dynamic libraries. And on the Sprdisk to constantly upgrade the corresponding Minicamera. Minicamera cannot be upgraded in sync with the Android system.
The two deadly problems that mixed with each other are severely retarded by the camera application and kernel-driven development test progress.
In the inspiration of Shenzhen colleague, do the simplest plan to try
1 compile Android's C + + application and its dependencies. CP to BuildRoot generated under the target folder under/bin and/lib
2 Add the linker of Android to the/bin in the target folder by this executive interpreter CP
This will solve the problem of closed source code and application after the upgrade of Android, only need to push the generated Android ELF,SO and linker interpreter to the relevant Linux platform test certificate.
No need to continue on the Linux platform to build a simulation, another compilation, synchronization and other issues.
The most thorough removal of Android, but also to synchronize to the latest other reference platform of practical information, to achieve the Android platform of the native code development.
References Link:
Http://www.linuxidc.com/Linux/2014-03/97499.htm
Linux programs ported to Android
http://blog.csdn.net/dinuliang/article/details/5509009
An analysis of Android linker
Http://www.cnblogs.com/sdphome/archive/2011/09/14/2176219.html
Android prelink Implementation of source code analysis
Android/C + + app migration to Linux platform execution