How to enable "CONFIG_NET_SCH_NETEM" in tegra_defconfig?


Where can I find step-by-step instructions on enabling “CONFIG_NET_SCH_NETEM” in tegra_defconfig for AGX Xavier and flashing it to the target?


1 Like

Not sure whether step-by-step instructions exists, but the following links could be helpful.

This is not the full instruction, but if you read the other documents on kernel build you will find that you usually start by setting an initial config. Many docs for the Jetsons will show:
make <...some other options...> tegra_defconfig

Following whatever step you do to set up the default configuration, I then recommend:
make <...some options...> nconfig
…which in turn might require you to first add ncurses5:
sudo apt-get install libncurses5-dev

The “nconfig” app is a menu based editor which can search for symbols. If you look at the hot key list you’ll see you can search. Then search for “CONFIG_NET_SCH_NETEM”. The “y” key tries to integrate this into the kernel, the “m” key tries to set this up as a module (module installs are simpler and fairly risk free).

This is more detail, and may need to be changed for your use case, but talks a bit about kernel configuration: