nxp-pn5xx error during compilation on Raspberry Pi (3b+ and 4)

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

nxp-pn5xx error during compilation on Raspberry Pi (3b+ and 4)

1,459 次查看
b_ambrozkiewicz
Contributor I

Im trying to install nxp nfc driver (https://github.com/NXPNFCLinux/nxp-pn5xx) on raspberry Pi (both tested 3b+ and 4 model).

I do everything exactly like in video tutorial: https://www.youtube.com/watch?v=TCgCRi-tKxM&feature=youtu.be

 

which is based on: https://www.nxp.com/docs/en/application-note/AN11697.pdf

 

First error came when i did "make bcmrpi_defconfig" command (attached screenshot),
than i get errors:
"drivers/misc/nxp-pn5xx/Kconfig:7: syntax error
drivers/misc/nxp-pn5xx/Kconfig:6: unknown statement "---help---"
(...) " 


because of above error i deleted everything below "---help---" - that helped, i was able to run "make menuconfig"

 

but when i started compilation of Kernel, after couple of hours - it crashed with error (im attaching screenshot)

 

maybe device tree configuration is wrong for above versions of raspberry? i used same like in tutorial - which i also am attaching right now

0 项奖励
2 回复数

1,310 次查看
Tarun
Contributor I

change ---help--- to help in drivers/misc/nxp-pn5xx/Kconfig

change pr_warning to pr_warn drivers/misc/nxp-pn5xx/pn5xx_i2c.c

I face the same error when compiling the driver for Linux kernel 5.10

Hope that helped  

0 项奖励

1,435 次查看
jimmychan
NXP TechSupport
NXP TechSupport
0 项奖励