Open nkymey opened 3 years ago
export OUT=${PWD}/out export ARCH=arm64 export SUBARCH=arm64 export TARGET_BUILD_VARIANT=userdebug
export CROSS_COMPILE=${PWD}/toolchains/aarch64-linux-android-4.9/bin/aarch64-linux-android- export KERNEL_DEFCONFIG=venus-qgki_defconfig
O=$OUT REAL_CC=${PWD}/toolchains/llvm-Snapdragon_LLVM_for_Android_8.0/prebuilt/linux-x86_64/bin/clang CLANG_TRIPLE=aarch64-linux-gnu- ${PWD}/scripts/gki/generate_defconfig.sh $KERNEL_DEFCONFIG make O=$OUT REAL_CC=${PWD}/toolchains/llvm-Snapdragon_LLVM_for_Android_8.0/prebuilt/linux-x86_64/bin/clang CLANG_TRIPLE=aarch64-linux-gnu- vendor/$KERNEL_DEFCONFIG make -j$(nproc) O=$OUT REAL_CC=${PWD}/toolchains/llvm-Snapdragon_LLVM_for_Android_8.0/prebuilt/linux-x86_64/bin/clang CLANG_TRIPLE=aarch64-linux-gnu- 2>&1 | tee kernel.log
I noticed that venus_QGKI.config
exists in arch/arm64/configs/vendor
, maybe calling generate_defconfig.sh
is unnecessary?
did you manage to make the phone boot? my Mi11 only boots without touchscreen, battery and other modules
Suggest to use the official reposteries for kernel build: https://github.com/MiCode/kernel_build/tree/venus-r-oss only boots without touchscreen, battery and other modules: --- xiaomi_touch.ko qti_battery_charger.ko audio_xxx.ko need to modprobe or insmod by init rc scripts refer to: /vendor/etc/init/hw/xxx.rc /vendor/lib/modules/
did you manage to make the phone boot? my Mi11 only boots without touchscreen, battery and other modules
Suggest to use the official reposteries for kernel build: https://github.com/MiCode/kernel_build/tree/venus-r-oss only boots without touchscreen, battery and other modules: --- xiaomi_touch.ko qti_battery_charger.ko audio_xxx.ko need to modprobe or insmod by init rc scripts refer to: /vendor/etc/init/hw/xxx.rc /vendor/lib/modules/
did you manage to make the phone boot? my Mi11 only boots without touchscreen, battery and other modules
Can you teach me how to compile the mi11 kernel with the official configuration?
Suggest to use the official reposteries for kernel build: https://github.com/MiCode/kernel_build/tree/venus-r-oss only boots without touchscreen, battery and other modules: --- xiaomi_touch.ko qti_battery_charger.ko audio_xxx.ko need to modprobe or insmod by init rc scripts refer to: /vendor/etc/init/hw/xxx.rc /vendor/lib/modules/
did you manage to make the phone boot? my Mi11 only boots without touchscreen, battery and other modules
Can you teach me how to compile the mi11 kernel with the official configuration?
You can see this https://source.android.com/setup/build/building-kernels?hl=zh-cn
PWD
您好,我按照您的配置编译疑似成功了。但是没有在out/arch/arm64/boot 下发现dtb文件,请问您遇到过这个问题吗?
what was the tag used in the toolchain?
https://github.com/MiCode/Xiaomi_Kernel_OpenSource/wiki/How-to-compile-kernel-standalone Nothing about Mi11/kernel5.4