hello superelectron,
you should extract this public_sources.tbz2 on your host machine, (i.e. x86 flashing machine)
please also install Jetson Linux Toolchain, then you should able to cross-compiling the release sources.
after that, you may enable scp
to copy the binary file to your target for testing.
for example,
please check the makefile, /kernel/kernel-4.9/drivers/w1/slaves/Makefile
you should enable the kernel config to build this *.o to your kernel image.
obj-$(CONFIG_W1_SLAVE_THERM) += w1_therm.o
there’s /kernel/kernel-4.9/arch/arm64/configs/tegra_defconfig
to define all configs.
the ways is adding CONFIG_W1_SLAVE_THERM=y
into kernel config.
as you can see through flash messages,
it’s tegra186-quill-p3310-1000-a00-00-base.dtb
for your Jetson TX2’s device tree blob.
[ 86.1603 ] Writing partition kernel-dtb with tegra186-quill-p3310-1000-a00-00-base_sigheader.dtb.encrypt
[ 86.1701 ] [................................................] 100%
please search public sources and you’ll find the sources file, /hardware/nvidia/platform/t18x/quill/kernel-dts/tegra186-quill-p3310-1000-a00-00-base.dts
.
please include the changes to enable the node property for driver usage.