Jetson Orin update kernel no UI

Hi, I want to only update kernel and modules, I use this way:

1. modify /boot/extlinux/extlinux.conf to backup kernel
2. copy new kernel to board
3. strip and tar modules,then copy to board
4. update lib/modules/<version> with step3

then, jetson boot up and everything is ok , except no UI. Are there some error to update kernel and modules?

Note: I know there is a flash.sh script that’s provided by nvidia. But it’s too violent, because I just wanted to update the kernel and modules.

Hi,

so are still able to login via UART?
Can you run

sudo depmod -a

and reboot to see if it helps?

yes,can login via UART

I run sudo depmod -a and reboot, but no effect.

Hi,

what modification did you make to the kernel image?
Will it work fine if you do a complete re-flash?

Also, what device are you using? The title says Jetson Orin (AGX, NX, Nano?), but you posted in the Jetson Nano section.

what modification did you make to the kernel image?

I want to disable IOMMU,

Will it work fine if you do a complete re-flash?

No,it’s no work. I test just now. I replace those files followed build kernel, but when device boot up there are too many those messages:

[   16.885955] pwm_fan: disagrees about version of symbol module_layout
[   16.899624] ina3221: disagrees about version of symbol module_layout
[   16.956510] systemd-journald[311]: Received client request to flush runtime journal.
[   19.343520] ina3221: disagrees about version of symbol module_layout
[   19.343759] ina3221: disagrees about version of symbol module_layout
[   19.434682] nvmap: disagrees about version of symbol module_layout
[   19.448536] userspace_alert: disagrees about version of symbol module_layout
[   19.448538] userspace_alert: disagrees about version of symbol module_layout
[   19.448542] userspace_alert: disagrees about version of symbol module_layout
[   19.448734] userspace_alert: disagrees about version of symbol module_layout
[   19.448745] userspace_alert: disagrees about version of symbol module_layout
[   19.449718] pwm_fan: disagrees about version of symbol module_layout
[   19.449853] userspace_alert: disagrees about version of symbol module_layout
[   19.452196] spi_tegra114: disagrees about version of symbol module_layout
[   19.452284] userspace_alert: disagrees about version of symbol module_layout
[   19.452443] tegra_bpmp_thermal: disagrees about version of symbol module_layout
[   19.452519] spi_tegra114: disagrees about version of symbol module_layout
[   19.452818] tegra210_adma: disagrees about version of symbol module_layout
[   19.453045] tegra210_adma: disagrees about version of symbol module_layout
[   19.453315] userspace_alert: disagrees about version of symbol module_layout
[   19.454574] snd_soc_rl6231: disagrees about version of symbol module_layout
[   19.455926] nvidia: disagrees about version of symbol module_layout
[   19.456166] userspace_alert: disagrees about version of symbol module_layout
[   19.456811] typec: disagrees about version of symbol module_layout
[   19.463503] snd_soc_spdif_tx: disagrees about version of symbol module_layout
[   19.463699] snd_soc_spdif_tx: disagrees about version of symbol module_layout
[   19.464362] snd_soc_spdif_tx: disagrees about version of symbol module_layout
[   19.464365] snd_soc_spdif_tx: disagrees about version of symbol module_layout
[   19.464734] snd_hda_core: disagrees about version of symbol module_layout
[   19.464803] snd_soc_spdif_tx: disagrees about version of symbol module_layout
[   19.465596] snd_soc_spdif_tx: disagrees about version of symbol module_layout
[   19.465731] snd_soc_spdif_tx: disagrees about version of symbol module_layout
[   19.465759] snd_soc_spdif_tx: disagrees about version of symbol module_layout
[   19.465879] snd_soc_spdif_tx: disagrees about version of symbol module_layout
[   19.466018] snd_soc_spdif_tx: disagrees about version of symbol module_layout
[   19.466020] snd_soc_spdif_tx: disagrees about version of symbol module_layout
[   19.466155] snd_soc_spdif_tx: disagrees about version of symbol module_layout
[   19.467301] snd_soc_spdif_tx: disagrees about version of symbol module_layout
[   19.467910] nct1008: disagrees about version of symbol module_layout
[   19.468131] snd_soc_spdif_tx: disagrees about version of symbol module_layout
[   19.469524] snd_soc_simple_card_utils: disagrees about version of symbol module_layout
[   19.474761] nvadsp: disagrees about version of symbol module_layout
[   19.479686] using random self ethernet address
[   19.479689] using random host ethernet address
[   19.482506] snd_soc_tegra210_ahub: disagrees about version of symbol module_layout
[   19.485585] cfg80211: disagrees about version of symbol module_layout
[   19.541811] sha1_ce: disagrees about version of symbol module_layout
[   19.541827] sha1_ce: disagrees about version of symbol module_layout
[   19.541842] sha1_ce: disagrees about version of symbol module_layout
[   19.541849] sha1_ce: disagrees about version of symbol module_layout
[   19.541881] sha1_ce: disagrees about version of symbol module_layout
[   19.541895] sha1_ce: disagrees about version of symbol module_layout
[   19.541970] sha1_ce: disagrees about version of symbol module_layout
[   19.542006] sha1_ce: disagrees about version of symbol module_layout
[   19.542047] sha1_ce: disagrees about version of symbol module_layout
[   19.542209] sha1_ce: disagrees about version of symbol module_layout
[   19.542211] sha1_ce: disagrees about version of symbol module_layout
[   19.542320] sha1_ce: disagrees about version of symbol module_layout
[   19.564922] sha256_arm64: disagrees about version of symbol module_layout
[   19.564925] sha256_arm64: disagrees about version of symbol module_layout
[   19.564984] sha256_arm64: disagrees about version of symbol module_layout
[   19.565019] sha256_arm64: disagrees about version of symbol module_layout
[   19.565023] sha256_arm64: disagrees about version of symbol module_layout
[   19.565039] sha256_arm64: disagrees about version of symbol module_layout
[   19.565217] sha256_arm64: disagrees about version of symbol module_layout
[   19.565297] sha256_arm64: disagrees about version of symbol module_layout
[   19.565404] sha256_arm64: disagrees about version of symbol module_layout
[   19.565519] sha256_arm64: disagrees about version of symbol module_layout
[   19.565737] sha256_arm64: disagrees about version of symbol module_layout
[   19.572454] sha256_arm64: disagrees about version of symbol module_layout
[   19.586609] ghash_ce: disagrees about version of symbol module_layout
[   19.586612] ghash_ce: disagrees about version of symbol module_layout
[   19.586651] ghash_ce: disagrees about version of symbol module_layout
[   19.587098] ghash_ce: disagrees about version of symbol module_layout
[   19.588785] ghash_ce: disagrees about version of symbol module_layout
[   19.589044] ghash_ce: disagrees about version of symbol module_layout
[   19.589230] ghash_ce: disagrees about version of symbol module_layout
[   19.589720] ghash_ce: disagrees about version of symbol module_layout
[   19.590550] ghash_ce: disagrees about version of symbol module_layout
[   19.591959] ghash_ce: disagrees about version of symbol module_layout
[   19.592119] ghash_ce: disagrees about version of symbol module_layout
[   19.594973] aes_ce_cipher: disagrees about version of symbol module_layout
[   19.594975] aes_ce_cipher: disagrees about version of symbol module_layout
[   19.594986] aes_ce_cipher: disagrees about version of symbol module_layout
[   19.594988] aes_ce_cipher: disagrees about version of symbol module_layout
[   19.594991] aes_ce_cipher: disagrees about version of symbol module_layout
[   19.595084] aes_ce_cipher: disagrees about version of symbol module_layout
[   19.595239] aes_ce_cipher: disagrees about version of symbol module_layout
[   19.595431] aes_ce_cipher: disagrees about version of symbol module_layout
[   19.599535] aes_ce_cipher: disagrees about version of symbol module_layout
[   19.602709] aes_ce_cipher: disagrees about version of symbol module_layout
[   19.602744] aes_ce_cipher: disagrees about version of symbol module_layout
[   19.602811] aes_ce_cipher: disagrees about version of symbol module_layout
[   19.602955] aes_ce_cipher: disagrees about version of symbol module_layout
[   19.603008] aes_ce_cipher: disagrees about version of symbol module_layout
[   19.603685] aes_ce_cipher: disagrees about version of symbol module_layout
[   19.603936] aes_ce_cipher: disagrees about version of symbol module_layout
[   19.604132] aes_ce_cipher: disagrees about version of symbol module_layout
[   19.609326] aes_ce_cipher: disagrees about version of symbol module_layout
[   19.610580] btintel: disagrees about version of symbol module_layout
[   19.610625] aes_ce_cipher: disagrees about version of symbol module_layout
[   19.610661] aes_ce_cipher: disagrees about version of symbol module_layout
[   19.610959] btintel: disagrees about version of symbol module_layout
[   19.610962] aes_ce_cipher: disagrees about version of symbol module_layout
[   19.610991] ghash_ce: disagrees about version of symbol module_layout
[   19.611225] btintel: disagrees about version of symbol module_layout
[   19.611406] aes_ce_cipher: disagrees about version of symbol module_layout
[   19.611719] aes_ce_cipher: disagrees about version of symbol module_layout
[   19.611769] aes_ce_cipher: disagrees about version of symbol module_layout
[   19.613770] loop: disagrees about version of symbol module_layout
[   19.615402] rtk_btusb: disagrees about version of symbol module_layout
[   19.663658] input_leds: disagrees about version of symbol module_layout
[   19.665681] btintel: disagrees about version of symbol module_layout
[   20.234384] rtk_btusb: disagrees about version of symbol module_layout
[   20.885437] binfmt_misc: disagrees about version of symbol module_layout
[   22.940974] binfmt_misc: disagrees about version of symbol module_layout
[   58.681779] Please complete system configuration setup on the serial port provided by Jetson's USB device mode connection. e.g. /dev/ttyUSBx where x can 0, 1, 2 etc.

Also, what device are you using?

use Jetson Orin AGX.

  1. replace nvgpu.ko
sudo cp  drivers/gpu/nvgpu/nvgpu.ko Linux_for_Tegra/rootfs/usr/lib/modules/5.10.104-tegra/kernel/drivers/gpu/nvgpu/nvgpu.ko
  1. copy dtb
sudo cp -r  arch/arm64/boot/dts/nvidia/ Linux_for_Tegra/kernel/dtb/
  1. replace Image
sudo cp arch/arm64/boot/Image Linux_for_Tegra/kernel/Image
  1. install and tar modules
sudo make modules_install INSTALL_MOD_PATH=./
sudo tar --owner root --group root -cjf kernel_supplements.tbz2  lib/modules/
sudo mv kernel_supplements.tbz2 Linux_for_Tegra/kernel/kernel_supplements.tbz2
  1. run
Linux_for_Tegra/apply_binaries.sh
  1. run
sudo ./flash.sh jetson-agx-orin-devkit internal

Hi,

will runningexport LOCALVERSION="-tegra" before compiling the kernel make any change?
Also, I’m not sure if it’s required, but you may also need to compile the display driver:
https://docs.nvidia.com/jetson/archives/r35.3.1/DeveloperGuide/text/SD/Kernel/KernelCustomization.html

will runningexport LOCALVERSION="-tegra" before compiling the kernel make any change?

I use nvbuild.sh script to compile kernel ,so it’s with export LOCALVERSION="-tegra" by default.

Also, I’m not sure if it’s required, but you may also need to compile the display driver:

OK,I will try it.thank you!

please refer to this https://blog.csdn.net/qq_31985307/article/details/131499050?spm=1001.2014.3001.5501

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.