Hi All,

I'm attempting to download, boot and run a Linaro Android image targeting the Arm FastModels simulator, with a Cortex-A15 target (preferably the single core).  We have been using the RTSE_VE example that is shipped with the FastModels distribution for our target platform, based on the Cortex-A15x1 core.

I've had some trouble downloading the Android source from Linaro.  Following the instructions listed on https://android-build.linaro.org, I have tried a couple of distributions (not exactly clear which one I should pick).  I have tried the vexpress-ics-gcc47-armlt-tracking-open, and I have also tried the vexpress-rtsm-ics-gcc47-armlt-tracking-open.  If you could clarify which I should be looking at, that would be great (the Linaro wiki entry on "Android on Fastmodels" seems to indicate the vexpress-rtsm version, however, the main page on http://android-build.linaro.org seems to indicate that vexpress-ics-gcc47-armlt-tracking-open will work for RTSM.

However, I see a similar error in the download regardless of which version I attempt to download.  Following the suggestion on the specific build page, I have downloaded the linaro_android_build_cmds.sh script, and have used it to download the repositories. 

I had some major headaches with the sync step hanging, but following some advice on the internet, I added the -j1 parameter to the repo sync command, to force the download to occur single threaded, and that seemed to help.

The error encountered occurs during the sync step, when the repository for libyuv is cloned.  I get an error reported that the calculated hash is not a valid SHA1 hash.  I'll post the error below.  The sync execution continues after this error for some time, but eventually fails.

My host machine is a Ubuntu Linux 11.10 virtual machine. 

Thanks for any suggestions you may have,

Brandon Eames


Exception in thread Thread-98:07), 660.00 KiB | 325 KiB/s     
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 505, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/santeriauser/LinaroAndroid/android/.repo/repo/subcmds/sync.py", line 228, in _FetchHelper
    clone_bundle=not opt.no_clone_bundle)
  File "/home/santeriauser/LinaroAndroid/android/.repo/repo/project.py", line 974, in Sync_NetworkHalf
    self._InitMRef()
  File "/home/santeriauser/LinaroAndroid/android/.repo/repo/project.py", line 1747, in _InitMRef
    self._InitAnyMRef(R_M + self.manifest.branch)
  File "/home/santeriauser/LinaroAndroid/android/.repo/repo/project.py", line 1759, in _InitAnyMRef
    self.bare_git.UpdateRef(ref, dst, message = msg, detach = True)
  File "/home/santeriauser/LinaroAndroid/android/.repo/repo/project.py", line 1933, in UpdateRef
    self.update_ref(*cmdv)
  File "/home/santeriauser/LinaroAndroid/android/.repo/repo/project.py", line 2005, in runner
    p.stderr))
GitError: platform/external/libyuv update-ref: fatal: 351958316957352685f15674ee5bd71726dc993e^0: not a valid SHA1