Firefly开源社区

标题: AIO-3399Pro编译Android9.0源码失败 [打印本页]

作者: 刘亚骏    时间: 2021-6-23 14:39
标题: AIO-3399Pro编译Android9.0源码失败
<1>
ubuntu环境搭建完全按照wiki教程Android9.0源码从
https://wiki.t-firefly.com/AIO-3399ProC/compile_android9.0_firmware.html下载过来的
md5校验正确

<2>解压与更新步骤
cd ~/proj/
7z x ./rk3399pro_firefly_android9.0_20191126.7z.001 -oAIO-3399Pro
cd ./AIO-3399Pro
git reset --hard

<3>编译  ./FFTools/make.sh  -d rk3399pro-firefly-aioc-lvds-HSX101H40C -j8 -l rk3399pro_firefly_aioc_lvds-userdebug从提示来看,编译uboot与内核是成功的,错误出现在编译安卓的步骤:  Image:  resource.img (with rk3399pro-firefly-aioc-lvds-HSX101H40C.dtb logo.bmp logo_kernel.bmp) is ready
  Image:  boot.img (with Image resource.img) is ready
  Image:  zboot.img (with Image.lz4 resource.img) is ready
/home/work/ftp/Android9.0/AIO-3399Pro
including device/generic/car/vendorsetup.sh
including device/generic/mini-emulator-arm64/vendorsetup.sh
including device/generic/mini-emulator-armv7-a-neon/vendorsetup.sh
including device/generic/mini-emulator-mips64/vendorsetup.sh
including device/generic/mini-emulator-mips/vendorsetup.sh
including device/generic/mini-emulator-x86_64/vendorsetup.sh
including device/generic/mini-emulator-x86/vendorsetup.sh
including device/generic/uml/vendorsetup.sh
including device/google/cuttlefish/vendorsetup.sh
including device/google/marlin/vendorsetup.sh
including device/google/muskie/vendorsetup.sh
including device/google/taimen/vendorsetup.sh
including device/linaro/hikey/vendorsetup.sh
including device/rockchip/rk3399pro/vendorsetup.sh
including sdk/bash_completion/adb.bash
^[abuild/make/core/product_config.mk:234: error: Can not locate config makefile for product "rk3399pro_firefly_aioc_lvds".
23:30:01 dumpvars failed with: exit status 1



直观理解应该是没找到config对应的makefile文件,第1次用这个,不知道该如何解决









作者: leung先森    时间: 2021-6-23 16:20
按wiki更新bundle补丁
作者: 刘亚骏    时间: 2021-6-23 16:50
leung先森 发表于 2021-6-23 16:20
按wiki更新bundle补丁

具体是用哪个指令更新?


#1. 进入SDK根目录
cd ~/proj/AIO-3399Pro

#2. 下载远程bundle仓库
git clone https://gitlab.com/TeeFirefly/rk3399pro-pie-bundle.git .bundle

#3. 若下载仓库失败,目前bundle仓库占用空间较大,所以同步的时候可能会出现卡住或失败的问题,
#   可以从下方百度云链接下载并解压到SDK根目录,解压指令如下:

7z x rk3399pro-pie-bundle.7z  -r -o. && mv rk3399pro-pie-bundle/ .bundle/

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

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


这几个步骤我并没有进行,因为wiki上写的我认为有点模糊

作者: 刘亚骏    时间: 2021-6-23 17:41
leung先森 发表于 2021-6-23 16:20
按wiki更新bundle补丁

更新时会出现这样的错误,应该是版本对不上。但是我这边全是从WIKI指向的百度网盘直接下载的

微信图片_20210623173933.png (122.06 KB, 下载次数: 890)

微信图片_20210623173933.png

作者: 韩振雨    时间: 2021-9-9 16:21
关注,遇到了同样的问题。
作者: godv    时间: 2021-10-17 23:12
我也是下载的android9.0请问楼主 lunch 选项有 rk3399pro_firefly_aioc-userdebug  这个吗 为什么我没有这个
作者: wx_FIVE_mN0    时间: 2021-11-2 14:50
遇到同样的问题,帮顶




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1