Trying to build Android Automotive OS from source for Pixel 4 XL, as per instructions at: https://source.android.com/devices/automotive/start/pixelxl#code-sync-and-build
Trying this on a MacOS Big Sur 11.2;
Using the following call:
repo sync -j8 -c -v
(8 job-threads, checkout, verbose)
It will always hang on Checking out: 38% (288/748) platform/hardware/ti/am57x
I know it hangs, as the CPU usage of git-remote-https
has dropped from 99% (8 times) to zero.
I've tried (without success) to fix the specific repository using the following method:
$ cd platform/hardware/ti/am57x
$ git status
Not currently on any branch.
nothing to commit, working tree clean
$ git branch -r
m/android-10.0.0_r40 -> tags/android-10.0.0_r40
$ git checkout -b android-10.0.0_r40 m/android-10.0.0_r40
Switched to a new branch 'android-10.0.0_r40'
I was pretty sure this would fix the problem, but the next repo sync
hangs at the same place, and gives the following message:
hardware/ti/am57x/: leaving android-10.0.0_r40; does not track upstream
Any help is welcome.