TPM 9670: Getting error while compiling kernel after patching.

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
User18146
Level 1
Level 1
Hi,

I am following the OPTIGA TPM Application Note for integration of OPTIGA SLB 9670 TPM2.0 to Raspberry Pi 3B+.

I have installed Rasbian Buster on my Raspberry Pi 3B+ board.

After patching, when I am compiling the kernel to generate zimage, it is showing me this error:

LD init/built-in.o
drivers/built-in.o: In function `hcd_init_fiq':
core.c:(.text+0xe6c34): undefined reference to `claim_fiq'
core.c:(.text+0xe6d0c): undefined reference to `set_fiq_handler'
core.c:(.text+0xe6d6c): undefined reference to `__set_fiq_regs'
core.c:(.text+0xe6e24): undefined reference to `enable_fiq'
Makefile:947: recipe for target 'vmlinux' failed
make: *** [vmlinux] Error 1

I am not able to compile and generate zimage file for the kernel. What I am doing wrong? Please suggest solutions for it.

Vishal
0 Likes
1 Reply
jferreira
Employee
Employee
10 sign-ins 5 sign-ins First like received
Hi,

There is no need to patch the Raspbian Buster (4.19 Kernel).
This one already has everything in place for the TPM.
Refer to https://www.infineon.com/dgdl/Infineon-OPTIGA_SLx_9670_TPM_2.0_Pi_4-ApplicationNotes-v07_19-EN.pdf?f...
The Application Note will work for the Raspberry Pi 3 as well.

Regards,
Jesus
0 Likes