Jetson kernel flags for cilium

It worked!! I struggled a bit on how to get the source code, then a bit more on where to put it. I tried replacing files ad hoc for a few attempts until I made the connection that I could (and should) copy in the entire source. mrproper (I can’t help but think of a cheap rip off of drpepper every time I say that, lol) stopped working once I updated the the source. Something about phoenix source or something? My terminal history doesn’t go back that far after making image/modules.

This is what ended up working for me.

mkdir ~/kernel
cd ~/kernel
export TEGRA_KERNEL_OUT=`pwd`

mkdir ~/modules
cd ~/modules
export TEGRA_MODULES_OUT=`pwd`

export TOP=/usr/src/linux-headers-5.10.120-tegra-ubuntu20.04_aarch64/kernel-5.10

cd ~
vim source_sync.sh
chmod +x source_sync.sh
./source_sync.sh -h
./source_sync.sh -k -t jetson_35.4.1
sudo cp -r ~/sources/kernel/* /usr/src/linux-headers-5.10.120-tegra-ubuntu20.04_aarch64

cd $TOP
make O=$TEGRA_KERNEL_OUT tegra_defconfig
make O=$TEGRA_KERNEL_OUT nconfig
make O=$TEGRA_KERNEL_OUT -j 8 Image
make O=$TEGRA_KERNEL_OUT -j 8 modules
make O=$TEGRA_KERNEL_OUT INSTALL_MOD_PATH=$TEGRA_MODULES_OUT modules_install

nconfig is not for the faint of heart… I see what you mean, though, the symbol search is necessary. Took me an embarrassing amount of time to figure out space bar cycled the values, instead of pressing Y or M.

I posted over in the other forum, per your suggestion, and was told to rtfm. Please send me your tip jar info, @linuxdev. You’re actually giving support, and I appreciate you.

I did some googling, and this looks compelling. This seems to be less Jetson specific, and more just u-boot, eh?

Could you help me get over the finish line, here?

source_sync.sh (11.0 KB)