Jetson AGX Kernel Building

Model : Jetson AGX
kernel version : 4.253

The kernel source was downloaded Jetson Linux R32.6.1.

hi friend i need help

  1. Jetson AGX installed JETPACK 4.6 (REV.3) as SDK.

  2. I modified it in Makefile. 4.9.253 → 4.9.254
    Check after applying kernel

  3. I’m done with number 4

  4. I copied the /arch/arm64/boot/Image file to /boot.

  5. I copied the /arch/arm64/boot/dts/tegra194-p2888-0001-p2822-0000.dtb file to /boot/dtb/kernel_tegra194-p2888-0001-p2822-0000.dtb.

  6. No screen output to HDMI to USB-C.

Did I make a mistake?

kernel_.txt (35.0 KB)

For the kernel version change you may need replace all module from your build.

If only the version information in the make file is changed in the source, do I need to replace the module?

Did you have below command when build your kernel? What’s the uname -a shows

export LOCALVERSION=-tegra

yes.
export CROSS_COMPLE=/usr/bin/aarch64=linux-gnu-
export LOCALVERSION=-tegra

uname -a :
Linux yisan-desktop 4.9.254 #1 SMP PREEMPT Tue May 3 15:50:35 KST 2022 aarch64 aarch64 aarch64 GNU/Linux

I modified only the version part in makefile

4.9.253 → 4.9.254

Looks like lost the string “-tegra” like below

nvidia@nvidia-desktop:~$ uname -a
Linux nvidia-desktop 4.9.140-tegra #1 SMP PREEMPT Thu Jun 25 21:22:12 PDT 2020 aarch64 aarch64 aarch64 GNU/Linux

O.K!
I’ll try again.

  1. reinstall



4.

5.

6.

Looks like lost the string “-tegra” like below.

Still no usb-c to hdmi video.

All situations were recorded with screenshots.

I compiled Jetson AGX.

Don’t run the sudo to make that will lost the export LOCALVERSION=-tegra
You can sudo su to enter supervisor mode then set up the environment to build the kernel if your source tree need sudo to access.

Okay, I’ll try and tell you.

If you do root, the display will be displayed normally.

Okay, thank you, friend

When modifying the Makefile version, it comes out abnormally.

I changed the version in the makefile because I wanted to know what changed.

Can’t you add something other than the version?
04
05
“-tegra” checked.

Suppose If the version change you need to apply the module from your build.
Need to check the version check mechanism for confirm.

thanks. You helped a lot.

I built the kernel from usb.
That was the problem.