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

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

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

1,479件の閲覧回数
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,330件の閲覧回数
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,455件の閲覧回数
jimmychan
NXP TechSupport
NXP TechSupport
0 件の賞賛