On Tue, Dec 20, 2011 at 07:16:56PM +0000, Jon Medhurst (Tixy) wrote:
On Tue, 2011-12-20 at 12:45 -0600, Xianghua Xiao wrote:
where does it mandate 3G/1G in Android?
we're planning to use 2G/2G split as well, but I'm unaware of the 3G/1G requirement in Android, seems odd to me.
I think there are some user libraries (bionic?, dalvik?) which are hard coded to the addresses just below 0xc000000. Perhaps this is configurable, I don't know. I just know that when trying to bring up Linaro Android on Versatile Express I had problems until I realised the 3G/1G split was needed; other Android people then agreed that kernels need to use that memory arrangement.
Can any Android experts confirm this?
I think it is a fairly hardcoded assumption. I think at one point the codeaurora.org Android source supported a flag to enable android to work on the 2G split. I don't know if it still is present, though.
David