I am downloading Android O8.0.0_1.0.0 (Linux 4.9 kernel) , something is wrong :
Start fetching the source for android build
Fetching projects: 0% (2/596) aosp/platform/packages/inputmethods/LatinIMEfatal: unable to connect to git.freescale.com:
git.freescale.com: 没有与主机名关联的地址
imx-firmware:
fatal: unable to connect to git.freescale.com:
git.freescale.com: 没有与主机名关联的地址
I know that git.freescale.com is no longer valid, but how can I solve this problem?
Solved! Go to Solution.
I found a tutorial and share it with everyone :
//https://blog.csdn.net/pan0755/article/details/77817244
linux@ubuntu:~/android_build$ export JACK_SERVER_VM_ARGUMENTS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx4096m"
linux@ubuntu:~/android_build$ ./prebuilts/sdk/tools/jack-admin kill-server
linux@ubuntu:~/android_build$ ./prebuilts/sdk/tools/jack-admin start-server
linux@ubuntu:~/android_build$ make 2>&1 | tee build-log.txt
Now : #### make completed successfully (01:32:02 (hh:mm:ss)) ####
I got sufficient information from your soul of heart.Thank you so much telldunkin
I found a tutorial and share it with everyone :
//https://blog.csdn.net/pan0755/article/details/77817244
linux@ubuntu:~/android_build$ export JACK_SERVER_VM_ARGUMENTS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx4096m"
linux@ubuntu:~/android_build$ ./prebuilts/sdk/tools/jack-admin kill-server
linux@ubuntu:~/android_build$ ./prebuilts/sdk/tools/jack-admin start-server
linux@ubuntu:~/android_build$ make 2>&1 | tee build-log.txt
Now : #### make completed successfully (01:32:02 (hh:mm:ss)) ####
I do not understand what you are saying,Can you tell me what to do in another way?
now i do :
linux@ubuntu:~/android_build$ rm -rf ~/android_build/vendor/nxp/
linux@ubuntu:~/android_build$ make distclean
linux@ubuntu:~/imx-o8.0.0_1.0.0_ga$ cp -arf vendor/nxp/ ~/android_build/vendor/
linux@ubuntu:~/android_build$ cp -arf imx-firmware vendor/nxp/
linux@ubuntu:~/android_build$ make 2>&1 | tee build-log.txt
For details, please refer to build-log-3.txt! thank you !
Building the Android image is performed when the source code has been downloaded sonic survey
Thank you very much, I have synced successfully, and now I have a new problem:
1. source path vendor/nxp/fsl-codec/ghdr/common does not exist
------------------------------------------------------------------
after :
export MY_ANDROID=~/android_build
cd ${MY_ANDROID}
source build/envsetup.sh
lunch sabresd_6dq-userdebug
make 2>&1 | tee build-log.txt
------------------------------------------------------------------
problem:
[1/1] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
FAILED: out/soong/build.ninja
out/soong/.bootstrap/bin/soong_build -t -b out/soong -d out/soong/build.ninja.d -o out/soong/build.ninja Android.bp
error: frameworks/av/media/libstagefright/Android.bp:7:1: module "libstagefright" variant "android_arm_armv7-a-neon_cortex-a9_shared_core": source path vendor/nxp/fsl-codec/ghdr/common does not exist
ninja: build stopped: subcommand failed.
08:31:49 soong failed with: exit status 1
build/core/main.mk:21: recipe for target 'run_soong_ui' failed
make: *** [run_soong_ui] Error 1
#### make failed to build some targets (01:06 (mm:ss)) ####
I tried : Android-8.1.0_1.3.0 image build fail / nxp imx8-evk
linux@ubuntu:~/imx-o8.0.0_1.0.0_ga$ cp -arf vendor/nxp/ ~/android_build/vendor/
linux@ubuntu:~/android_build$ ls vendor/nxp/
fsl-codec fsl_imx_omx fsl-proprietary imx-g2d-pxp imx-vpu-cnm linux-firmware-imx
linux@ubuntu:~/android_build$ make 2>&1 | tee build-log.txt
2. vendor/nxp/imx-firmware/brcm/ZP_BCM4339/BCM4335C0.ZP.hcd : missing
...
[ 99% 1163/1164] glob vendor/*/*/Android.bp
ninja: error: 'vendor/nxp/imx-firmware/brcm/ZP_BCM4339/BCM4335C0.ZP.hcd', needed by 'out/target/product/sabresd_6dq/vendor/firmware/bcm/Type_ZP.hcd', missing and no known rule to make it
09:01:02 ninja failed with: exit status 1
build/core/main.mk:21: recipe for target 'run_soong_ui' failed
make: *** [run_soong_ui] Error 1
#### make failed to build some targets (05:25 (mm:ss)) ####
I can not find BCM4335C0.ZP.hcd :
linux@ubuntu:~/android_build$ cd vendor/nxp/imx-firmware/brcm/
bash: cd: vendor/nxp/imx-firmware/brcm: 没有那个文件或目录
What should i do now ?
#####################################################################
3. ???
I copied some bin files and hcd files needed in compilation from [ https://github.com/NXP/imx-firmware/find/master : imx-firmware-master.zip ] , now :
???
Hi raotianxiang@beacon-display.cn,
Please refer to the below document.
Fixing git.freescale.com dependencies on older Android BSPs
Let us know if you face any other issues.
Regards,
Kunal