Jetpack 3.2 CAN bus module

I have read previously topics about CAN bus communication on TX2,But i still have several questions.
First, where to find tegra18_defconfig file? I searched this file both in tx2 and host PC, without any result;
second, compile the kernel on tx2 or in host pc?

Hi lijunfeng_jlu,

  1. tegra18_defconfig is in the kernel source.
  2. compile kernel module on TX2.

However, JetPack 3.1 or later, the CAN module is built into the kernel.
Therefore, different from enabling SPI, you don’t need to compile CAN kernel module.

Hi naisy.Thank you very much!