Which system do you use? Android, Ubuntu, OOWOW or others?
Android 14
Which version of system do you use? Please provide the version of the system here:
Linux version 4.4.0-148-generic (buildd@lgw01-amd64-014) (gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.4) ) #174~14.04.1-Ubuntu SMP Thu May 9 08:17:37 UTC 2019
mkdir khadas-aosp-14 && cd $_
repo init -u https://android.googlesource.com/platform/manifest -b main
repo sync
Compiling the Code
VIM3
export TARGET_VIM3=true
export TARGET_AVB_ENABLE=true
export TARGET_KERNEL_USE=6.1
export TARGET_USE_TABLET_LAUNCHER=true
./device/amlogic/yukawa/fetch-vendor-package.sh
source build/envsetup.sh && lunch yukawa-trunk_staging-userdebug
time make -j50 2>&1 | tee build_vim3_14_android.log
Post a console log of your issue below:
yangzhong@SZ-UT001:/software/home/yangzhong/khadas-aosp-14$ ./sync_android.sh
开始同步源码(自动重试版)…
Fetching: 100% (1326/1326), done in 4.162s
Checking out: 100% (1326/1326), done in 5.586s
repo sync has finished successfully.
同步成功!
yangzhong@SZ-UT001:/software/home/yangzhong/khadas-aosp-14$ ./device/amlogic/yukawa/fetch-vendor-package.sh
-bash: ./device/amlogic/yukawa/fetch-vendor-package.sh: No such file or directory
yangzhong@SZ-UT001:/software/home/yangzhong/khadas-aosp-14$
尝试重新下载,对应目录下还是没有.sh脚本文件
yangzhong@SZ-UT001:/software/home/yangzhong/khadas-aosp-14$ rm -R device/amlogic/yukawa
yangzhong@SZ-UT001:/software/home/yangzhong/khadas-aosp-14$ ls device/amlogic/yukawa
ls: cannot access device/amlogic/yukawa: No such file or directory
yangzhong@SZ-UT001:/software/home/yangzhong/khadas-aosp-14$ repo sync -j10 -c device/amlogic/yukawa
Fetching: 100% (1/1), done in 0.419s
Checking out: 100% (1/1), done in 1.317s
repo sync has finished successfully.
yangzhong@SZ-UT001:/software/home/yangzhong/khadas-aosp-14$ ls ./device/amlogic/yukawa/fetch-vendor-package.sh
ls: cannot access ./device/amlogic/yukawa/fetch-vendor-package.sh: No such file or directory
yangzhong@SZ-UT001:/software/home/yangzhong/khadas-aosp-14$
xiong@server:/users2/xiong/work/amlogic/khadas-aosp-14$ ls ./device/amlogic/yukawa/fetch-vendor-package.sh
./device/amlogic/yukawa/fetch-vendor-package.sh
xiong@server:/users2/xiong/work/amlogic/khadas-aosp-14$ rm -rf device/amlogic/yukawa
xiong@server:/users2/xiong/work/amlogic/khadas-aosp-14$ ls ./device/amlogic/yukawa/fetch-vendor-package.sh
ls: cannot access './device/amlogic/yukawa/fetch-vendor-package.sh': No such file or directory
xiong@server:/users2/xiong/work/amlogic/khadas-aosp-14$ rm -rf device/amlogic/yukawa
xiong@server:/users2/xiong/work/amlogic/khadas-aosp-14$ repo sync -j10 -c device/amlogic/yukawa
... A new version of repo (2.54) is available.
... New version is available at: /users2/xiong/work/amlogic/khadas-aosp-14/.repo/repo/repo
... The launcher is run from: /usr/bin/repo
!!! The launcher is not writable. Please talk to your sysadmin or distro
!!! to get an update installed.
Fetching: 100% (1/1), done in 1.311s
Checking out: 100% (1/1), done in 0.078s
============================== [ NOTICE ] ==============================
Starting March 27, 2025, the latest release branch will always be
referenced by the new android-latest-release manifest, which can
be used directly with Repo.
We recommend platform developers use android-latest-release instead
of aosp-main to build and contribute to Android Open Source Project
(source.android.com).
========================================================================
repo sync has finished successfully.
xiong@server:/users2/xiong/work/amlogic/khadas-aosp-14$
2、另外使用你上传的脚本,同步出现以下报错:
yangzhong@SZ-UT001:/software/home/yangzhong/khadas-aosp-14$ chmod +x ./device/amlogic/yukawa/fetch-vendor-package.sh
yangzhong@SZ-UT001:/software/home/yangzhong/khadas-aosp-14$ ./device/amlogic/yukawa/fetch-vendor-package.sh
/software/home/yangzhong/khadas-aosp-14 /software/home/yangzhong/khadas-aosp-14
Vendor package not present: fetching it
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 146 100 146 0 0 49 0 0:00:02 0:00:02 --:–:-- 49
extract-yukawa_devices-20241217.tgz: FAILED
sha512sum: WARNING: 1 computed checksum did NOT match
yangzhong@SZ-UT001:/software/home/yangzhong/khadas-aosp-14$
The download speed from Baidu Cloud is extremely slow at my current location, and the connection is often interrupted.
May I kindly ask if you could upload your complete code to another cloud storage service, such as Google Drive?
Thank you very much!!
Hi,
I executed the fetch-vendor-package.sh script for the specified branch, but the file under the directory path /device/amlogic/yukawa/ is missing.
neel:~/AOSP_Builds$ sudo repo init -u https://android.googlesource.com/platform/manifest -b android-14.0.0_r66
repo has been initialized in /home/chandrakanl/AOSP_Builds
neel:~/AOSP_Builds$ ./device/amlogic/yukawa/fetch-vendor-package.sh
bash: ./device/amlogic/yukawa/fetch-vendor-package.sh: No such file or directory
Failed.
Is there something that I’m doing wrong? Is there any reference document or link?