Issues Flashing Custom Kernel on Jetson Board (Working Natively)

Hello proventusnova,

The procedure encountering issues is detailed below:

  1. Navigate to Linux_for_Tegra/source/kernel/kernel-jammy-src/ and execute the following commands:

    make ARCH=arm64 LOCALVERSION=-davey-tegra defconfig
    make ARCH=arm64 LOCALVERSION=-davey-tegra menuconfig
    make ARCH=arm64 LOCALVERSION=-davey-tegra -j8 Image
    make ARCH=arm64 LOCALVERSION=-davey-tegra -j8 modules
    sudo make modules_install INSTALL_MOD_PATH=/Linux_for_Tegra/rootfs
    

    Then, manually copy the Image file into:

    • Linux_for_Tegra/kernel/Image
    • Linux_for_Tegra/rootfs/boot/Image
  2. In Linux_for_Tegra/source/, run the following:

    export KERNEL_HEADERS=$PWD/kernel/kernel-jammy-src
    make modules
    export INSTALL_MOD_PATH=Linux_for_Tegra/rootfs
    sudo -E make modules_install
    
  3. In Linux_for_Tegra/, execute:

    sudo ./tools/l4t_update_initrd.sh
    
  4. Finally, flash the device.

I based this method on a discussion from this thread.

Best regards,
Kondru Abhay