xu_hua 发表于 2022-7-6 14:50:35

ROC-RK3588S-PC编译问题

ITX-3588J和ROC-RK3588S-PC代码是一样的吧? ITX-3588J编译没有问题,但是ROC-RK3588S-PC编译,按文档编译提示




root@builder1:/home/xuhua/rk3588s/RK3588_Android12.0# ./FFTools/make.sh -d roc-rk3588s-pc -j8 -l roc_rk3588s_pc-userdebug
void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files
void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files
In file included from build/make/core/config.mk:313:
In file included from build/make/core/envsetup.mk:312:
build/make/core/product_config.mk:160: error: Can not locate config makefile for product "roc_rk3588s_pc".
06:49:44 dumpvars failed with: exit status 1




zhansb 发表于 2022-7-6 15:33:13

按照wiki更新SDK,roc_rk3588s_pc是后面添加上去的

xu_hua 发表于 2022-7-6 15:37:33

本帖最后由 xu_hua 于 2022-7-7 08:47 编辑

zhansb 发表于 2022-7-6 15:33
按照wiki更新SDK,roc_rk3588s_pc是后面添加上去的
按下面方法更新?可以了,thx
#1. 进入 SDK 根目录
cd ~/proj/RK3588_Android12.0

#2. 下载远程 bundle 仓库
git clone https://gitlab.com/T-Firefly/rk3588-android12.0-bundle.git .bundle

#3. bundle仓库会随着更新的资源越多而会越来越大,如果bundle仓库下载速度缓慢或若下载失败,
#   请在资源下载界面选择对应的机器bundle文件进行下载并解压到SDK根目录,解压指令如下:

7z x rk3588-android12.0-bundle.7z-r -o. && mv rk3588-android12.0-bundle .bundle

#4. 更新 SDK,并且后续更新不需要再次拉取远程仓库,直接执行以下命令即可
.bundle/update

#5. 按照提示已经更新内容到 FETCH_HEAD,同步 FETCH_HEAD 到 firefly 分支
git rebase FETCH_HEAD

genify 发表于 2023-4-27 09:58:11

请教一下,更新 SDK 时出这个问题是什么原因?

Update Bundle repo...
From https://gitlab.com/T-Firefly/rk3588-android12.0-bundle
* branch            master   -> FETCH_HEAD
-------------------------------------------
Update to FETCH_HEAD:
error: Repository lacks these prerequisite commits:
error: 8e56b0277ce3d9a6cf9291500efef50d2165bb1a
Fetch /Users/vffhlk8/Documents/Innovation/SourceCode/ITX3588J/./0.bundle error!!
error: Repository lacks these prerequisite commits:
error: dd27d0c4a67cafa480930a1a6e4fb97f6e1ff923
Fetch /Users/vffhlk8/Documents/Innovation/SourceCode/ITX3588J/./1.bundle error!!
error: Repository lacks these prerequisite commits:
error: 60f4d1ff9e702c0b6cc4045e1d69eea22b155643
Fetch /Users/vffhlk8/Documents/Innovation/SourceCode/ITX3588J/./2.bundle error!!
error: Repository lacks these prerequisite commits:
error: 547d7a819e90901f84a0d2fdc77442576f9a8611
Fetch /Users/vffhlk8/Documents/Innovation/SourceCode/ITX3588J/./3.bundle error!!
error: Repository lacks these prerequisite commits:
error: aba91242aea56a31d392bde144ea1478dfbdb437
Fetch /Users/vffhlk8/Documents/Innovation/SourceCode/ITX3588J/./4.bundle error!!
error: Repository lacks these prerequisite commits:
error: 19bcea0785f7e4b9382668683157d10bc7a85c84
Fetch /Users/vffhlk8/Documents/Innovation/SourceCode/ITX3588J/./5.bundle error!!
error: Repository lacks these prerequisite commits:
error: 3575310b194a160c3b9a39f7770690ff2a0d1b65
Fetch /Users/vffhlk8/Documents/Innovation/SourceCode/ITX3588J/./6.bundle error!!

jpchen 发表于 2023-4-27 10:07:05

genify 发表于 2023-4-27 09:58
请教一下,更新 SDK 时出这个问题是什么原因?

Update Bundle repo...


Documents/Innovation/SourceCode/ITX3588J/./3.bundlebundle放的路径有问题
应该是放在 SDK/.bundle 目录,请认真查看wiki

genify 发表于 2023-4-28 16:15:29

jpchen 发表于 2023-4-27 10:07
Documents/Innovation/SourceCode/ITX3588J/./3.bundlebundle放的路径有问题
应该是放在 SDK/.bundle...

好的,那等我先拿到 SDK 再来操作,非常感谢!!
页: [1]
查看完整版本: ROC-RK3588S-PC编译问题