buildJetsonTX2Kernel icon indicating copy to clipboard operation
buildJetsonTX2Kernel copied to clipboard

drivers

Open randyspruyt opened this issue 5 years ago • 1 comments

Hello,

Great tutorial, but I think this could be missing a key item, make tegra18_defconfig before doing the menu config. While the built image works fine, adding this line will build all of the necessary drivers for things like the libargus SDK, CUDA, etc.

e.g. ` sudo apt-install pkg-config qt5-default -y cd /usr/src/kernel/kernel-4.4 make tegra18_defconfig make xconfig '

randyspruyt avatar Sep 26 '18 19:09 randyspruyt

When the scripts get the kernel sources, they also get the system configuration of the currently running system, ie.:

# Go get the default config file; this becomes the new system configuration
zcat /proc/config.gz > .config

This is the equivalent of the defconfig, but includes any changes to the kernel configuration that may already exist. You could the defconfig if you feel more comfortable with that, but most developers rely on the current running system as a starting point.

I do not understand the comment about libargus and CUDA as they are stand alone libraries that tend not to rely on the Linux kernel configuration.

jetsonhacks avatar Sep 30 '18 01:09 jetsonhacks