I use Jetson TX1 and jetpack 28.1,and I add a imx274 mipi csi sensor, I build the zImage and dts is OK.BUT errors is builded if I use this command “make O=$TEGRA_KERNEL_OUT modules”
maybe I need change the dts file?which dts file I need change?
How can I change it?
A lot depends on other settings. Is this native on the TX1? Or is it a cross compile? Either way, did you download source through the source_sync.sh script (part of the driver package…something which JetPack would download as well)? There are extra hardware related subdirectories you get when using source_sync.sh which are not present from just the kernel. Under certain configurations relative paths refer to those directories. Regardless of native or cross compile you can use source_sync.sh (it can be copied anywhere) to download the kernel via:
./source_sync.sh -k tegra-l4t-r28.1
A lot would also depend on your starting config. I always recommend getting a copy of “/proc/config.gz” to start with instead of tegra21_defconfig because it may be a closer match to what is already running.