How to export new symbols on IMX8MP android-14.0.0_2.2.0

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

How to export new symbols on IMX8MP android-14.0.0_2.2.0

977 次查看
liangyan
Contributor III

Hi NXP

how to export new kernel symbols on android-14.0.0_2.2.0. I refer to this https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/Export-new-symbols-of-GKI-development-An...

But it does not work on android-14.0.0_2.2.0 BSP.

Please help me, How should I do ? 

标记 (1)
0 项奖励
回复
6 回复数

913 次查看
FeelingsSparked
Contributor I

Sure! I can help you with that. Could you let me know which part you're having trouble with specifically? For setting up steps on the IMX8MP platform, it usually involves preparing the environment, loading necessary tools, and following the build or configuration process. I can guide you through step-by-step once I know where you're stuck. Let me know! 

0 项奖励
回复

900 次查看
liangyan
Contributor III

mkdir gki && cd gki (Make sure folder gki is not inside of ${MY_ANDROID})
epo init -u https://android.googlesource.com/kernel/manifest -b commonandroid15-6.6
repo sync
cd common

git remote add device <device kernel git URL> (I do not know how to do it)
git remote update (I do not know how to do it)
git checkout device/<device kernel branch> (I do not know how to do it)
git apply <all device patches if needed> (I do not know how to do it)
cd ..
ln -s ${MY_ANDROID}/vendor/nxp-opensource/verisilicon_sw_isp_vvcam
verisilicon_sw_isp_vvcam
ln -s ${MY_ANDROID}/vendor/nxp-opensource/nxp-mwifiex nxp-mwifiex
BUILD_FOR_GKI=yes BUILD_CONFIG=common/build.config.imx
EXT_MODULES_MAKEFILE="verisilicon_sw_isp_vvcam/vvcam/v4l2/Kbuild"
EXT_MODULES="nxp-mwifiex/mxm_wifiex/wlan_src" build/build_abi.sh --updatesymbol-list -j8 (build_abi.sh it not found);

0 项奖励
回复

817 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi @liangyan 

 

Please refer to the update android user guide.

Android User's Guide

 

The <device kernel git URL> is url of linux-imx.
 
you can try below commands:
 
git remote add device http://github.com/nxp-imx/linux-imx
git remote update

 

Regards

Daniel

Daniel

0 项奖励
回复

908 次查看
liangyan
Contributor III
破坏者
Hi nxp

I show my steps:

step1: export MY_ANDROID=../IMX8MP_Android14/(aosp source code dir)

step2: 
mkdir gki && cd gki

step3: 
repo init -u https://android.googlesource.com/kernel/manifest -b common-android15-6.6

step4:
repo sync

step5: cd common

step6: git remote add device <device kernel git URL>  (I do not know how to do)

step7:git remote update ((I do not know how to do))

step8: git checkout device/<device kernel branch> (I do not know how to do)

step9:git apply <all device patches if needed>(I do not know how to do)

step10:cd ..

step11: ln -s ${MY_ANDROID}/vendor/nxp-opensource/verisilicon_sw_isp_vvcam
verisilicon_sw_isp_vvcam

steop12:ln -s ${MY_ANDROID}/vendor/nxp-opensource/nxp-mwifiex nxp-mwifiex

step13: BUILD_FOR_GKI=yes BUILD_CONFIG=common/build.config.imx

step14:EXT_MODULES_MAKEFILE="verisilicon_sw_isp_vvcam/vvcam/v4l2/Kbuild"

step15:EXT_MODULES="nxp-mwifiex/mxm_wifiex/wlan_src"

step16:
    build/build_abi.sh --updatesymbol-list -j8
       bash: build/build_abi.sh: not found build_abi.sh file

0 项奖励
回复

930 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi

I would suggest you refer to UG10156:  Android user's guider. Rev. android-14.0.0_2.2.0

chapter 9.5

danielchen_0-1731916829345.png

danielchen_1-1731916886811.png

 

Please refer to UG10156 for more details

https://www.nxp.com.cn/docs/en/user-guide/ANDROID_USERS_GUIDE.pdf

0 项奖励
回复

918 次查看
liangyan
Contributor III

yes, I read this papes mush times, but, I can not know how to do this step by step.

can you show me the  steps in IMX8MP platform?

标记 (1)
0 项奖励
回复