NXP Android 15.0.0_2.0.0 NFC PN7160

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

NXP Android 15.0.0_2.0.0 NFC PN7160

463 次查看
persandberg
Contributor III

Hi,

I am trying to add NFC PN7160 to NXP Android 15.0.0_2.0.0 and have followed the NXP Android 15 porting guide and also the followed the guide "PN7160 PN7220 Android 15 Porting to i.MX8MN EVK". The PN7160 is successfully probed. But when making the changes in the guides i get the following build error:

FAILED: out/soong/.intermediates/hardware/nxp/nfc/intf/nxpnfc/aidl/vendor.nxp.nxpnfc_aidl_interface/checkhash_2.timestamp
if [ $(cd 'hardware/nxp/nfc/intf/nxpnfc/aidl/aidl_api/vendor.nxp.nxpnfc_aidl/2' && { find ./ -name "*.aidl" -print0 | LC_ALL=C sort -z | xargs -0 sha1sum && echo 1; } | sha1sum | cut -d " " -f 1) = $(tail -1 'hardware/nxp/nfc/intf/nxpnfc/aidl/ai
dl_api/vendor.nxp.nxpnfc_aidl/2/.hash') ]; then touch out/soong/.intermediates/hardware/nxp/nfc/intf/nxpnfc/aidl/vendor.nxp.nxpnfc_aidl_interface/checkhash_2.timestamp; else cat 'system/tools/aidl/build/message_check_integrity.txt' && exit 1; fi
###############################################################################
# ERROR: Modification detected of stable AIDL API file #
###############################################################################
Above AIDL file(s) has changed, resulting in a different hash. Hash values may
be checked at runtime to verify interface stability. If a device is shipped
with this change by ignoring this message, it has a high risk of breaking later
when a module using the interface is updated, e.g., Mainline modules.
08:55:05 ninja failed with: exit status 1

 

0 项奖励
回复
1 回复

374 次查看
jimmychan
NXP TechSupport
NXP TechSupport

In the error message, there is the linux commands in the condition of "if... then".  You could run the same command to get the new hash value and then put it to the checkhash file.

0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-2326840%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E6%81%A9%E6%99%BA%E6%B5%A6%20Android%2015.0.0_2.0.0%20NFC%20PN7160%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2326840%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%82%A8%E5%A5%BD%EF%BC%8C%3C%2FP%3E%3CP%3E%E6%88%91%E6%AD%A3%E5%9C%A8%E5%B0%9D%E8%AF%95%E5%B0%86%20NFC%20PN7160%20%E6%B7%BB%E5%8A%A0%E5%88%B0%E6%81%A9%E6%99%BA%E6%B5%A6%20Android%2015.0.0_2.0.0%EF%BC%8C%E5%B9%B6%E9%81%B5%E5%BE%AA%E4%BA%86%E6%81%A9%E6%99%BA%E6%B5%A6%20Android%2015%20%E7%A7%BB%E6%A4%8D%E6%8C%87%E5%8D%97%EF%BC%8C%E8%BF%98%E9%81%B5%E5%BE%AA%E4%BA%86%22PN7160%20PN7220%20Android%2015%20%E7%A7%BB%E6%A4%8D%E5%88%B0%20i.MX8MN%20EVK%22%20%E6%8C%87%E5%8D%97%E3%80%82%E6%88%90%E5%8A%9F%E6%8E%A2%E6%B5%8B%20PN7160%E3%80%82%E4%BD%86%E6%98%AF%E5%9C%A8%E5%AF%B9%E6%8C%87%E5%8D%97%E8%BF%9B%E8%A1%8C%E6%9B%B4%E6%94%B9%E6%97%B6%EF%BC%8C%E6%88%91%E4%BC%9A%E9%81%87%E5%88%B0%E4%BB%A5%E4%B8%8B%E7%89%88%E6%9C%AC%E9%94%99%E8%AF%AF%EF%BC%9A%3C%2FP%3E%3CP%3E%E5%A4%B1%E8%B4%A5%EF%BC%9Aout%2Fsoong%2F.intermediates%2Fhardware%2Fnxp%2Fnfc%2Fintf%2Fnxpnfc%2Faidl%2Fvendor.nxp.nxpnfc_aidl_interface%2Fcheckhash_2.timestamp%3CBR%20%2F%3Eif%20%5B%20%24(cd%20'hardware%2Fnxp%2Fnfc%2Fintf%2Fnxpnfc%2Faidl%2Faidl_api%2Fvendor.nxp.nxpnfc_aidl%2F2')%26amp%3B%26amp%3B%20%7B%20find%20.%2F-name%22*.aidl%22-print0%20%7C%20LC_ALL%3DC%20sort%20-z%20%7C%20xargs%20-0%20sha1sum%26amp%3B%26amp%3B%20echo%201%3B%20%7D%7C%20sha1sum%20%7C%20cut%20-d%22%20%22%20-f%201)%20%3D%20%24(tail%20-1%20'hardware%2Fnxp%2Fnfc%2Fintf%2Fnxpnfc%2Faidl%2Fai%3CBR%20%2F%3Edl_api%2Fvendor.nxp.nxpnfc_aidl%2F2%2F.hash')%E7%84%B6%E5%90%8E%E8%A7%A6%E6%91%B8%20out%2Fsoong%2F.intermediates%2Fhardware%2Fnxp%2Fnfc%2Fintf%2Fnxpnfc%2Faidl%2Fvendor.nxp.nxpnfc_aidl_interface%2Fcheckhash_2.timestamp%EF%BC%9B%E5%90%A6%E5%88%99%E5%B0%B1%E6%98%AF%20'system%2Ftools%2Faidl%2F%E7%89%88%E6%9C%AC%2Fmessage_check_integrity.txt'%26amp%3B%26amp%3B%20exit%201%3B%20fi%3CBR%20%2F%3E%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%3CBR%20%2F%3E%23%20ERROR%EF%BC%9A%E6%A3%80%E6%B5%8B%E5%88%B0%E7%A8%B3%E5%AE%9A%E7%9A%84%20AIDL%20API%20%E6%96%87%E4%BB%B6%E8%A2%AB%E4%BF%AE%E6%94%B9%20%23%3CBR%20%2F%3E%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%3CBR%20%2F%3E%E4%BB%A5%E4%B8%8A%20AIDL%20%E6%96%87%E4%BB%B6%E5%B7%B2%E6%9B%B4%E6%94%B9%EF%BC%8C%E5%AF%BC%E8%87%B4%E5%93%88%E5%B8%8C%E5%80%BC%E4%B8%8D%E5%90%8C%E3%80%82%E5%8F%AF%E5%9C%A8%E8%BF%90%E8%A1%8C%E6%97%B6%E6%A3%80%E6%9F%A5%E5%93%88%E5%B8%8C%E5%80%BC%3CBR%20%2F%3E%EF%BC%8C%E4%BB%A5%E9%AA%8C%E8%AF%81%E6%8E%A5%E5%8F%A3%E7%9A%84%E7%A8%B3%E5%AE%9A%E6%80%A7%E3%80%82%E5%A6%82%E6%9E%9C%E8%AE%BE%E5%A4%87%E5%9C%A8%E5%87%BA%E5%8E%82%3CBR%20%2F%3E%E6%97%B6%E5%BF%BD%E7%95%A5%E4%BA%86%E6%AD%A4%E6%B6%88%E6%81%AF%EF%BC%8C%E5%88%99%E5%BD%93%E4%BD%BF%E7%94%A8%E8%AF%A5%E6%8E%A5%E5%8F%A3%E7%9A%84%E6%A8%A1%E5%9D%97%EF%BC%88%E4%BE%8B%E5%A6%82%20Mainline%20%E6%A8%A1%E5%9D%97%EF%BC%89%E6%9B%B4%E6%96%B0%3CBR%20%2F%3E%E6%97%B6%EF%BC%8C%E8%AF%A5%E8%AE%BE%E5%A4%87%E5%BE%88%E6%9C%89%E5%8F%AF%E8%83%BD%E5%8F%91%E7%94%9F%E6%95%85%E9%9A%9C%E3%80%82%3CBR%20%2F%3E08%3A55%3A05%20%E5%BF%8D%E8%80%85%E5%A4%B1%E8%B4%A5%EF%BC%8C%E9%80%80%E5%87%BA%E7%8A%B6%E6%80%81%E4%B8%BA%201%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2328765%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20NXP%20Android%2015.0.0_2.0.0%20NFC%20PN7160%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2328765%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E5%9C%A8%E9%94%99%E8%AF%AF%E4%BF%A1%E6%81%AF%E4%B8%AD%EF%BC%8CLinux%20%E5%91%BD%E4%BB%A4%E7%9A%84%E6%9D%A1%E4%BB%B6%E6%98%AF%22if...%20then%22%20%E3%80%82%20%E4%BD%A0%E5%8F%AF%E4%BB%A5%E8%BF%90%E8%A1%8C%E7%9B%B8%E5%90%8C%E7%9A%84%E5%91%BD%E4%BB%A4%E6%9D%A5%E8%8E%B7%E5%8F%96%E6%96%B0%E7%9A%84%E5%93%88%E5%B8%8C%E5%80%BC%EF%BC%8C%E7%84%B6%E5%90%8E%E5%B0%86%E5%85%B6%E6%94%BE%E5%85%A5%E6%A0%A1%E9%AA%8C%E5%93%88%E5%B8%8C%E6%96%87%E4%BB%B6%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E