how to build custom android 8 kernel

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

how to build custom android 8 kernel

1,640 次查看
andreykononov
Contributor III

i can customize and build android kernel separately from android system as discribed in Android_User's_Guide.pdf, but when build android system, kernel config replaced to some kind of default config (imx_v7_android_defconfig I think)

board sabresd

0 项奖励
回复
2 回复数

1,442 次查看
diegoadrian
NXP Employee
NXP Employee

Hello,

I apologize for the delay.

Actually, that is one of the solutions. 

This is because at the time you are initializing the Android environment. You are setting the options that are by default in the defconfig file. One of the solutions is making what you did, another one could be the only modifying or adding the configuration to the defconfig file.

Hope this information can help you.

Best regards,

Diego.

0 项奖励
回复

1,442 次查看
andreykononov
Contributor III

find temprorary hack solution - make menuconfig whith script

cp ./out/target/product/sabresd_6dq/obj/KERNEL_OBJ/.config ./vendor/nxp-opensource/kernel_imx
export ARCH=arm
export CROSS_COMPILE=$(pwd)/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-
cd ./vendor/nxp-opensource/kernel_imx
make menuconfig
cp .config ./arch/arm/configs/imx_v7_android_defconfig
cd ../../..

0 项奖励
回复