Firefly开源社区

123
发表新贴
打印 上一主题 下一主题

[Android] RK356X_Android11.0源码编译不过

1万

积分

18

威望

20

贡献

神级创客

Rank: 8Rank: 8

积分
10851

突出贡献

发表于 2022-9-7 14:51:36        只看该作者  21#
Beau 发表于 2022-9-7 14:46
出现这个,之后用什么命令呀,不明白了

可以了解一下git相关的命令。git checkout .之后再试一下吧
回复

使用道具 举报

67

积分

0

威望

0

贡献

技术小白

积分
67
QQ
发表于 2022-9-7 14:57:05        只看该作者  22#
zyk 发表于 2022-9-7 14:15
你好,请问是怎么编译的,工程是放在了共享目录或外置存储上面?

这个下面

4.png (20.64 KB, 下载次数: 1098)

4.png
回复

使用道具 举报

1万

积分

18

威望

20

贡献

神级创客

Rank: 8Rank: 8

积分
10851

突出贡献

发表于 2022-9-7 15:31:07        只看该作者  23#

checkout之后,将sdk移到 /home/用户/ 目录再编译
回复

使用道具 举报

67

积分

0

威望

0

贡献

技术小白

积分
67
QQ
发表于 2022-9-8 10:43:09        只看该作者  24#
本帖最后由 Beau 于 2022-9-8 10:45 编辑
zyk 发表于 2022-9-7 15:31
checkout之后,将sdk移到 /home/用户/ 目录再编译

@zyk,你好我第一次编译几个小时后出现了ninja失败的提示,我执行的是首次编译命令“./FFTools/make.sh -d rk3568-firefly-aioj -j8 -l rk3568_firefly_aioj-userdebug”出现的,想问问怎么解决

5.png (378.55 KB, 下载次数: 1136)

5.png

6.png (614.48 KB, 下载次数: 1179)

6.png
回复

使用道具 举报

3

积分

0

威望

0

贡献

吃瓜的群众

积分
3
发表于 2024-8-11 15:11:29        只看该作者  25#
zyk 发表于 2022-4-6 22:15
是否有编译内核,第一次编译建议先用以下命令跑一次

cat: device/xiaomi/elish-prebuilt/modules/modules.load: 没有那个文件或目录
cat: device/xiaomi/elish-prebuilt/modules/modules.load: No such file or directory
Trying dependencies-only mode on a non-existing device tree?
cat: device/xiaomi/elish-prebuilt/modules/modules.load: 没有那个文件或目录
cat: device/xiaomi/elish-prebuilt/modules/modules.load: No such file or directory

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=14
LINEAGE_VERSION=21.0-20240811-UNOFFICIAL-elish
PRODUCT_INCLUDE_TAGS=com.android.mainline mainline_module_prebuilt_nightly
TARGET_PRODUCT=lineage_elish
TARGET_BUILD_VARIANT=userdebug
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=generic
HOST_OS=linux
HOST_OS_EXTRA=Linux-6.6.40-amd64-desktop-hwe-x86_64-Deepin-23
HOST_CROSS_OS=windows
BUILD_ID=AP2A.240705.005
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=device/xiaomi/sm8250-common hardware/google/interfaces hardware/google/pixel hardware/lineage/interfaces/power-libperfmgr hardware/qcom-caf/common/libqti-perfd-client hardware/xiaomi vendor/qcom/opensource/usb/etc vendor/xiaomi/sm8250-common device/xiaomi/elish hardware/google/interfaces hardware/google/pixel vendor/xiaomi/elish hardware/qcom-caf/sm8250 vendor/qcom/opensource/commonsys/display vendor/qcom/opensource/commonsys-intf/display vendor/qcom/opensource/display vendor/qcom/opensource/data-ipa-cfg-mgr-legacy-um vendor/qcom/opensource/dataservices hardware/qcom-caf/wlan
============================================
cat: device/xiaomi/elish-prebuilt/modules/modules.load: 没有那个文件或目录
13:55:06 ************************************************************
13:55:06 You are building on a machine with 15.4GB of RAM
13:55:06
13:55:06 The minimum required amount of free memory is around 16GB,
13:55:06 and even with that, some configurations may not work.
13:55:06
13:55:06 If you run into segfaults or other errors, try reducing your
13:55:06 -j value.
13:55:06 ************************************************************
cat: device/xiaomi/elish-prebuilt/modules/modules.load: No such file or directory
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=14
LINEAGE_VERSION=21.0-20240811-UNOFFICIAL-elish
PRODUCT_INCLUDE_TAGS=com.android.mainline mainline_module_prebuilt_nightly
TARGET_PRODUCT=lineage_elish
TARGET_BUILD_VARIANT=userdebug
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=generic
HOST_OS=linux
HOST_OS_EXTRA=Linux-6.6.40-amd64-desktop-hwe-x86_64-Deepin-23
HOST_CROSS_OS=windows
BUILD_ID=AP2A.240705.005
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=device/xiaomi/sm8250-common hardware/google/interfaces hardware/google/pixel hardware/lineage/interfaces/power-libperfmgr hardware/qcom-caf/common/libqti-perfd-client hardware/xiaomi vendor/qcom/opensource/usb/etc vendor/xiaomi/sm8250-common device/xiaomi/elish hardware/google/interfaces hardware/google/pixel vendor/xiaomi/elish hardware/qcom-caf/sm8250 vendor/qcom/opensource/commonsys/display vendor/qcom/opensource/commonsys-intf/display vendor/qcom/opensource/display vendor/qcom/opensource/data-ipa-cfg-mgr-legacy-um vendor/qcom/opensource/dataservices hardware/qcom-caf/wlan
============================================
out/target/product/elish/clean_steps.mk was modified, regenerating...
Adding CUSTOM_LOCALES [ast_ES gd_GB cy_GB fur_IT] to PRODUCT_LOCALES [en_US en_US af_ZA am_ET ar_EG ar_XB as_IN az_AZ be_BY bg_BG bn_BD bs_BA ca_ES cs_CZ da_DK de_DE el_GR en_AU en_CA en_GB en_IN en_XA es_ES es_US et_EE eu_ES fa_IR fi_FI fr_CA fr_FR gl_ES gu_IN hi_IN hr_HR hu_HU hy_AM in_ID is_IS it_IT iw_IL ja_JP ka_GE kk_KZ km_KH kn_IN ko_KR ky_KG lo_LA lt_LT lv_LV mk_MK ml_IN mn_MN mr_IN ms_MY my_MM nb_NO ne_NP nl_NL or_IN pa_IN pl_PL pt_BR pt_PT ro_RO ru_RU si_LK sk_SK sl_SI sq_AL sr_Latn_RS sr_RS sv_SE sw_TZ ta_IN te_IN th_TH tl_PH tr_TR uk_UA ur_PK uz_UZ vi_VN zh_CN zh_HK zh_TW zu_ZA en_XC]
cat: device/xiaomi/elish-prebuilt/modules/modules.load: No such file or directory
out/target/product/elish/obj/CONFIG/kati_packaging/dist.mk was modified, regenerating...
FAILED: ninja: 'device/xiaomi/elish-prebuilt/Image', needed by 'out/target/product/elish/kernel', missing and no known rule to make it
13:55:12 ninja failed with: exit status 1

#### failed to build some targets (6 seconds) ####

请下,我这个是要如何编译内核呀?这个是lineageos
回复

使用道具 举报

返回列表
123
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表