Groups
Groups
Sign in
Groups
Groups
TUNA 主邮件列表
Conversations
About
Send feedback
Help
安卓AOSP最新的Pixel 8Pro(2023.10.12上市)的内核源码分支android-gs-shusky-5.15-android14-d1待更新
205 views
Skip to first unread message
cfenice y
unread,
Jan 25, 2024, 3:49:37 AM
1/25/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to TUNA 主邮件列表
尊敬的Tuna镜像源维护者,您好:
我是中关村实验室工作者,在尝试下载最新的Pixel 8Pro(2023.10.12上市)的内核源码分支android-gs-shusky-5.15-android14-d1的时候,repo sync执行不成功。尝试在tuna源中git fetch --all查找所有分支,目前好像没有找到需要的这个分支。
我的执行命令是:
repo init -u
http://mirrors.in.zgclab.edu.cn/git/AOSP/kernel/manifest
-b android-gs-shusky-5.15-android14-d1
repo sync 不能成功
其中,Pixel 6Pro和Pixel7Pro内核源码的repo sync没有问题,所以不太确定这块的源是否有更新吗,或者我的设置有问题吗?
衷心希望得到您的帮助
期待您的回复,谢谢!
Miao Wang
unread,
Jan 25, 2024, 3:53:23 AM
1/25/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to TUNA 主邮件列表
您好,
使用命令 git ls-remote
https://mirrors.tuna.tsinghua.edu.cn/git/AOSP/kernel/manifest
| grep "android-gs-shusky-5.15-android14-d1" 可以看到 TUNA 服务器上存在您所需的分支。
祝好,
Miao Wang
> --
> 您收到此邮件是因为您订阅了Google网上论坛上的“TUNA 主邮件列表”群组。
> 要退订此群组并停止接收此群组的电子邮件,请发送电子邮件到
tuna-general...@googlegroups.com
。
> 要在网络上查看此讨论,请访问
https://groups.google.com/d/msgid/tuna-general/3a53a547-57ae-4fc3-96fa-bf03f5e020efn%40googlegroups.com
。
cfenice y
unread,
Jan 25, 2024, 4:23:23 AM
1/25/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to TUNA 主邮件列表
谢谢您的回复!根据您的建议仔细查找,存在所需分支。但是,在尝试repo sync后,会有部分下载操作访问外部Google安卓网址,已设置REPO_URL="
https://mirrors.tuna.tsinghua.edu.cn/git/git-repo
",不确定这块应该怎么处理会比较好
Miao Wang
unread,
Jan 25, 2024, 4:31:35 AM
1/25/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to tuna-g...@googlegroups.com
您好,
造成您所述问题的原因是,您选取的 kernel 版本的 manifest 中,<remote name="aosp" 配置项中,fetch= 属性的值是绝对路径;该值在另外的几个版本中是相对路径。该问题属于上游编写 manifest 的时候没有考虑到镜像的这种情形造成的。
若要解决该问题,您可以参考
https://mirrors.tuna.tsinghua.edu.cn/help/AOSP/
中最下面“替换已有的 AOSP 源代码的 remote” 一节的方法,使用命令 “git config --global url.
https://mirrors.tuna.tsinghua.edu.cn/git/AOSP/.insteadof
https://android.googlesource.com
<
https://android.googlesource.com/
>” 在本地完成 git 上游的自动代替。
祝好,
Miao Wang
> 2024年1月25日 17:19,cfenice y <
cfen...@gmail.com
> 写道:
>
> <pixel8pro? 新源码下载 ??.jpg>
> 要在网络上查看此讨论,请访问
https://groups.google.com/d/msgid/tuna-general/a34759e1-65a5-48b7-8533-fb16c1e43e05n%40googlegroups.com
。
> <pixel8pro? 新源码下载 ??.jpg>
cfenice y
unread,
Jan 25, 2024, 5:50:37 AM
1/25/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to TUNA 主邮件列表
您好,我关注到了
https://mirrors.tuna.tsinghua.edu.cn/help/AOSP/
上的信息,并通过“
git config --global url.
https://mirrors.tuna.tsinghua.edu.cn/git/AOSP/.insteadof
https://android.googlesource.com
”配置成功下载了pixel 6Pro和Pixel 7Pro的内核分支代码。但是,类似的命令对Pixel 8 Pro的内核分支 android-gs-shusky-5.15-android14-d1 代码好像依然不成功,我使用的如下命令,请您帮忙看看:
export REPO_URL="
https://mirrors.tuna.tsinghua.edu.cn/git/git-repo
"
git config --global url.
https://mirrors.tuna.tsinghua.edu.cn/git/AOSP/.insteadof
https://android.googlesource.com
repo init -u
http://mirrors.in.zgclab.edu.cn/git/AOSP/kernel/manifest
-b android-gs-shusky-5.15-android14-d1
repo sync
Miao Wang
unread,
Jan 25, 2024, 5:52:08 AM
1/25/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to TUNA 主邮件列表
您好,
考虑到您所在的工作环境不能正常访问 TUNA 镜像站。请您将 git config 命令中的 URL 替换为您工作环境中对应镜像的 URL。
祝好,
Miao Wang
> 2024年1月25日 18:49,cfenice y <
cfen...@gmail.com
> 写道:
>
> 您好,我关注到了
https://mirrors.tuna.tsinghua.edu.cn/help/AOSP/
上的信息,并通过“git config --global url.
https://mirrors.tuna.tsinghua.edu.cn/git/AOSP/.insteadofhttps://android.googlesource.com
”配置成功下载了pixel 6Pro和Pixel 7Pro的内核分支代码。但是,类似的命令对Pixel 8 Pro的内核分支 android-gs-shusky-5.15-android14-d1 代码好像依然不成功,我使用的如下命令,请您帮忙看看:
> 要在网络上查看此讨论,请访问
https://groups.google.com/d/msgid/tuna-general/3e98266c-a38f-4c65-bb43-26e1c3e97cf9n%40googlegroups.com
。
cfenice y
unread,
Jan 25, 2024, 6:00:06 AM
1/25/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to TUNA 主邮件列表
谢谢提醒哈~,目前对于TUNA源环境的测试基于外网环境构建的,可以访问外网。同时,在实际工作环境中的已经替换成了工作镜像的URL。两个的报错是一样的
Miao Wang
unread,
Jan 25, 2024, 6:03:57 AM
1/25/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to TUNA 主邮件列表
增加 git config 命令替换后,具体的报错是什么?
> 要在网络上查看此讨论,请访问
https://groups.google.com/d/msgid/tuna-general/62db9a88-e708-4efc-bd58-3e283edbef67n%40googlegroups.com
。
cfenice y
unread,
Jan 25, 2024, 6:32:47 AM
1/25/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to TUNA 主邮件列表
fatal: repository '
https://mirrors.tuna.tsinghua.edu.cn/git/AOSP//kernel/devices/google/shusky/
' not found
kernel/devices/google/shusky:
fatal: repository '
https://mirrors.tuna.tsinghua.edu.cn/git/AOSP//kernel/devices/google/shusky/
' not found
kernel/devices/google/shusky: sleeping 4.0 seconds before retrying
fatal: repository '
https://mirrors.tuna.tsinghua.edu.cn/git/AOSP//kernel/devices/google/shusky/
' not found
error: Cannot fetch kernel/devices/google/shusky from
https://android.googlesource.com/kernel/devices/google/shusky
Fetching: 19% (8/42) 4:39 | 4 jobs | 4:38 kernel/common @ aosp
fatal: repository '
https://mirrors.tuna.tsinghua.edu.cn/git/AOSP//kernel/google-modules/edgetpu/rio/
' not found
kernel/google-modules/edgetpu/rio:
fatal: repository '
https://mirrors.tuna.tsinghua.edu.cn/git/AOSP//kernel/google-modules/edgetpu/rio/
' not found
kernel/google-modules/edgetpu/rio: sleeping 4.0 seconds before retrying
fatal: repository '
https://mirrors.tuna.tsinghua.edu.cn/git/AOSP//kernel/google-modules/edgetpu/rio/
' not found
error: Cannot fetch kernel/google-modules/edgetpu/rio from
https://android.googlesource.com/kernel/google-modules/edgetpu/rio
Fetching: 28% (12/42) 4:43 | 4 jobs | 4:43 kernel/common @ aosp
fatal: repository '
https://mirrors.tuna.tsinghua.edu.cn/git/AOSP//kernel/google-modules/gps/broadcom/bcm47765/
' not found
kernel/google-modules/gps/broadcom/bcm47765:
fatal: repository '
https://mirrors.tuna.tsinghua.edu.cn/git/AOSP//kernel/google-modules/gps/broadcom/bcm47765/
' not found
kernel/google-modules/gps/broadcom/bcm47765: sleeping 4.0 seconds before retrying
fatal: repository '
https://mirrors.tuna.tsinghua.edu.cn/git/AOSP//kernel/google-modules/gps/broadcom/bcm47765/
' not found
error: Cannot fetch kernel/google-modules/gps/broadcom/bcm47765 from
https://android.googlesource.com/kernel/google-modules/gps/broadcom/bcm47765
Fetching: 28% (12/42) 4:52 | 4 jobs | 4:52 kernel/common @ aosp
fatal: repository '
https://mirrors.tuna.tsinghua.edu.cn/git/AOSP//kernel/google-modules/gxp/zuma/
' not found
kernel/google-modules/gxp/zuma:
fatal: repository '
https://mirrors.tuna.tsinghua.edu.cn/git/AOSP//kernel/google-modules/gxp/zuma/
' not found
kernel/google-modules/gxp/zuma: sleeping 4.0 seconds before retrying
fatal: repository '
https://mirrors.tuna.tsinghua.edu.cn/git/AOSP//kernel/google-modules/gxp/zuma/
' not found
error: Cannot fetch kernel/google-modules/gxp/zuma from
https://android.googlesource.com/kernel/google-modules/gxp/zuma
Fetching: 28% (12/42) 4:57 | 4 jobs | 4:57 kernel/common @ aosp
fatal: repository '
https://mirrors.tuna.tsinghua.edu.cn/git/AOSP//kernel/google-modules/hdcp/samsung/
' not found
kernel/google-modules/hdcp/samsung:
fatal: repository '
https://mirrors.tuna.tsinghua.edu.cn/git/AOSP//kernel/google-modules/hdcp/samsung/
' not found
kernel/google-modules/hdcp/samsung: sleeping 4.0 seconds before retrying
fatal: repository '
https://mirrors.tuna.tsinghua.edu.cn/git/AOSP//kernel/google-modules/hdcp/samsung/
' not found
error: Cannot fetch kernel/google-modules/hdcp/samsung from
https://android.googlesource.com/kernel/google-modules/hdcp/samsung
Miao Wang
unread,
Jan 25, 2024, 6:56:27 AM
1/25/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to tuna-g...@googlegroups.com
您好,
根据您提供的错误信息,不能正常 clone 仓库的原因是,所提及的这些子仓库在我们的服务器上不存在。我们按照 AOSP 提供的镜像清单制作镜像。这些项目不在清单上,因此未能镜像。
镜像清单是:
https://android.googlesource.com/mirror/manifest/+/refs/heads/main/default.xml
祝好,
Miao Wang
> 要在网络上查看此讨论,请访问
https://groups.google.com/d/msgid/tuna-general/af80cf4e-b5ca-4f02-a2ac-241ddb4669bbn%40googlegroups.com
。
cfenice y
unread,
Jan 25, 2024, 7:43:33 AM
1/25/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to TUNA 主邮件列表
谢谢您的回复!
刚查看过这些不能clone的仓库是存在的,比如
https://android.googlesource.com/kernel/google-modules/edgetpu/rio
,请问TUNA后续会考虑把AOSP镜像清单缺失的仓库补充完整吗
或者能否把这些不在镜像清单中的文件下载行删除呢(目前由于间歇报错,进度条卡在缓慢前进,但无法报告下载成功或者下载失败)
或者手工下载补充这些仓库应该放在哪个位置呢?
或者只能考虑其它办法吗
Miao Wang
unread,
Jan 25, 2024, 7:49:26 AM
1/25/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to tuna-g...@googlegroups.com
我们会按照 AOSP 提供的镜像清单制作镜像。您可以向他们反馈,以将清单补充完整。不存在的仓库,并不会拖慢下载速度,因为服务器会返回确定的不存在的信息。
对于其它关于 repo 工具的使用问题,建议您参考其手册。
> 要在网络上查看此讨论,请访问
https://groups.google.com/d/msgid/tuna-general/524b0eb0-118e-45e5-9fbf-40f624b95b93n%40googlegroups.com
。
cfenice y
unread,
Jan 25, 2024, 8:22:44 PM
1/25/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to TUNA 主邮件列表
好的,谢谢您提供的帮助!
Reply all
Reply to author
Forward
0 new messages