How to include "linux-headers-4.4.38-tegra" for L4T 28.1

My V4L2 app does not work for L4T 28.1 and I fund many headers files in L4T have been changed.

When I tried to use header files in /usr/src/linux-headers-4.4.38-tegra, e.g.,

$(CC)   $(TARGET).cpp -I/usr/src/linux-headers-4.4.38-tegra/include -lc -lGL -o $(TARGET)

I got errors:

/usr/src/linux-headers-4.4.38-tegra/include/linux/cache.h:5:23: fatal error: asm/cache.h: No such file or directory

and I found there is no “asm” in “/usr/src/linux-headers-4.4.38-tegra”.

Did I missing something to use “linux-headers-4.4.38-tegra” for L4T 28.1?

Is your V4L2 app on the basis of tegra_multimedia_api? We have HW componenets implemented in V4L2 frameworks and these samples are compiled successfully.

Is you app can be compiled on r24.2.1?

The header you mentioned is at


I guess some headers are put under arch/arm64/include?

I was able to get V4L2 time stamp under R24.2.1 and was able to build app and acquire video under R28.1, however I was unable to get time stamp under R28.1, I found the video buffer structure was changed:

Please continue in that topic.