how to build custom android 8 kernel

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

how to build custom android 8 kernel

1,326件の閲覧回数
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

ラベル(4)
0 件の賞賛
2 返答(返信)

1,128件の閲覧回数
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,128件の閲覧回数
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 件の賞賛