RK3568 Android 13 porting PN7220.
PN7220EV/C101 hardware uses single-host mode, and the kernel driver is ported by pulling down https://github.com/nxp-nfc-infra/nfcandroid_platform_drivers.git .
The current device is mounted on the corresponding i2c bus;
The HAL layer pulled down https://github.com/NXPNFCLinux/PN7220_Android13 to the ANDROID_BUILD_TOP/vendor/nxp folder and successfully ran install_NFC.sh.
Some compilation issues were resolved by referring to https://zhuanlan.zhihu.com/p/573489474.
After the compiled image was burned to the device, "Control message: Could not find 'android.hardware.nfc@1.2::INfc/default' for ctl.interface_start from pid: 146 (/system/bin/hwservicemanager)"continued to print, but there was an explanation of "android.hardware.nfc" in the device's vendor/etc/vintf/manifest.xml. How can this problem be solved?Many thanks
This is the logcat log and the vendor/etc/Vintf/manifest.xml file
Solved! Go to Solution.
Hello @ChumingYang,
Hope you are doing well.
Please accept my apologies, porting our software to third-party devices is out of our support scope and it is up to the customer based on the available documentation.
Could you please confirm that your customer followed the instructions from the PN7220 & PN7160 - Android porting guide? After the images are installed, some MW cleanup must be performed. Please refer to Section 3.4 for PN7220 single host.
Regards,
Eduardo.
Thanks, I have no compilation issues now
Hello @ChumingYang,
Hope you are doing well.
Please accept my apologies, porting our software to third-party devices is out of our support scope and it is up to the customer based on the available documentation.
Could you please confirm that your customer followed the instructions from the PN7220 & PN7160 - Android porting guide? After the images are installed, some MW cleanup must be performed. Please refer to Section 3.4 for PN7220 single host.
Regards,
Eduardo.