Based on TI's documentation for Android on the AM37X I followed the doc till the following:
Using pre-packaged repo
The above method is ideal but is time consuming, so developers can use the pre-packaged Android sources in DevKit package.
NOTE: Once the sources are generated developers can do a “repo sync” to pull latest updates (if any) from gitorious.org/rowboat
$ mkdir rowboat-android $ cd rowboat-android $ Download the pre-packaged repo from http://software-dl.ti.com/dsps/dsps_public_sw/sdo_tii/TI_Android_DevKit/TI_Android_GingerBread_2_3_4_DevKit_2_1/index_FDS.html $ tar -xvzf TI_Android_GingerBread_2_3_4Sources.tar.gz $ cd TI_Android_GingerBread_2_3_4Sources $ ./.repo/repo/repo sync --local-only
The last command fails as follows:
s$ ./.repo/repo/repo sync --local-only
Traceback (most recent call last):
File "/home/narayan/rowboat-android/TI_Android_GingerBread_2_3_4Sources/.repo/repo/main.py", line 238, in <module>
_Main(sys.argv[1:])
File "/home/narayan/rowboat-android/TI_Android_GingerBread_2_3_4Sources/.repo/repo/main.py", line 220, in _Main
repo._Run(argv)
File "/home/narayan/rowboat-android/TI_Android_GingerBread_2_3_4Sources/.repo/repo/main.py", line 118, in _Run
use_pager = config.GetBoolean('pager.%s' % name)
File "/home/narayan/rowboat-android/TI_Android_GingerBread_2_3_4Sources/.repo/repo/git_config.py", line 98, in GetBoolean
v = self.GetString(name)
File "/home/narayan/rowboat-android/TI_Android_GingerBread_2_3_4Sources/.repo/repo/git_config.py", line 115, in GetString
v = self._cache[_key(name)]
File "/home/narayan/rowboat-android/TI_Android_GingerBread_2_3_4Sources/.repo/repo/git_config.py", line 223, in _cache
self._cache_dict = self._Read()
File "/home/narayan/rowboat-android/TI_Android_GingerBread_2_3_4Sources/.repo/repo/git_config.py", line 229, in _Read
d = self._ReadGit()
File "/home/narayan/rowboat-android/TI_Android_GingerBread_2_3_4Sources/.repo/repo/git_config.py", line 280, in _ReadGit
d = self._do('--null', '--list')
File "/home/narayan/rowboat-android/TI_Android_GingerBread_2_3_4Sources/.repo/repo/git_config.py", line 304, in _do
capture_stderr = True)
File "/home/narayan/rowboat-android/TI_Android_GingerBread_2_3_4Sources/.repo/repo/git_command.py", line 212, in __init__
raise GitError('%s: %s' % (command[1], e))
error.GitError: config: [Errno 2] No such file or directory