I want to register the function name in abi_gki_aarch64.stg

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

I want to register the function name in abi_gki_aarch64.stg

290件の閲覧回数
yoonseok
Contributor III

I want to register the function name in abi_gki_aarch64.stg

Call drm_of_lvds_get_dual_link_pixel_order from the driver (lotium9211) I added

At this time, the drm_of_lvds_get_dual_link_pixel_order is not registered in Android/abi_gki_aarch64.stg
That's why there's an error

I don't know how to add android/abi_gki_aarch64.stg drm_of_lvds_get_dual_link_pixel_order

 

 

 

Android User Guide - 9.3 How to add new drivers

  1. Fix symbol issues encountered when the driver is loaded.

If some symbols are not exported but used by the added driver modules, perform the following steps:

  1. Export symbols with EXPORT_SYMBOL_GPL(xxx).

Note: If symbols are in core kernel code (which means not in loadable modules), such changes must upstream to the AOSP GKI Kernel tree.

  1. Add symbols to the AOSP GKI Kernel tree android/abi_gki_aarch64.stg.

In this case, the following errors are encountered when init tries to load this module:

 

cdns_mhdp_hdmirx: Unknown symbol v4l2_enum_dv_timings_cap (err -2)

cdns_mhdp_hdmirx: Unknown symbol kthread_freezable_should_stop (err -2)

 

 

After checking the kernel code, the two symbols are already exported by EXPORT_SYMBOL_GPL(), but

are not present in the android/abi_gki_aarch64.stg file. So follow the next section to add these two symbols

to the .stg file and upstream this change to AOSP, like this:

 

https://android-review.googlesource.com/c/kernel/common/+/2685966

 

Once the patch has been merged into the ACK tree, it usually takes a month or two to get it into the GKI

release image. To speed up this process, you can refer to the following link to request an emergency respin

release:

https://source.android.com/docs/core/architecture/kernel/gkireleases#emergency-respin

 

Tell me how to update in detail

 

I don't know how to explain it

 

 

 

 

0 件の賞賛
返信
4 返答(返信)

272件の閲覧回数
AldoG
NXP TechSupport
NXP TechSupport

Hello,

It is correctly explained in the document you have looked, in which part are you having issues?
Also, could you share the Android version that you are using?

Best regards/Saludos,
Aldo.

0 件の賞賛
返信

223件の閲覧回数
yoonseok
Contributor III

https://android-review.googlesource.com/c/kernel/common/+/2685966

 

How do I add symbols on this site?
Android 13.0.0_2.2.0

0 件の賞賛
返信

218件の閲覧回数
AldoG
NXP TechSupport
NXP TechSupport

Hello,

Please refer to the google documentation for this:
https://source.android.com/docs/core/architecture/kernel/gki-releases

Best regards/Saludos,
Aldo.

0 件の賞賛
返信

205件の閲覧回数
yoonseok
Contributor III

From the Imx-make.sh file
I made an image with Sign_gki =1 to sign_gki =0.

That's how you do it

" " lontium_lt9211: Unknown symbol drm_of_lvds_get_dual_link_pixel_order (err -2)"

The problem is gone.

That is, you used NXP kernel image, not GKI.

But at this time, i2c, gpio is not working.

To enable i2c, gpio to operate using NXP kernel image

What should I do

 

 

 

0 件の賞賛
返信