Are you using the devkit or custom board for Xavier NX?
Could you verify with the latest JP5.1.2(R35.4.1)?
There should be 4s boot time improved in UEFI.
It seems there’s other module init during this time.
Could you share the full dmesg as file here for further check?
Today i flashed r35.4.1 as part of Jetpack 5.1.2, but the problem still existed. the Userspace time is about 15s, i don’t know whether this value is correct, because i found the log time which in dmesg changed from [14.420112] to [27.430187] as the following
[ 10.344538] systemd[1]: Finished Create System Users.
[ 10.348439] systemd[1]: Finished Load Kernel Modules.
[ 10.350062] systemd[1]: Condition check resulted in FUSE Control File System being skipped.
[ 10.355361] systemd[1]: Mounting Kernel Configuration File System...
[ 10.360536] systemd[1]: Started OP-TEE Client Supplicant.
[ 10.367590] systemd[1]: Starting Apply Kernel Variables...
[ 10.372477] systemd[1]: Starting Create Static Device Nodes in /dev...
[ 10.380248] systemd[1]: Mounted Kernel Configuration File System.
[ 10.477007] random: crng init done
[ 10.477389] random: 44 urandom warning(s) missed due to ratelimiting
[ 12.210146] imx219 9-0010: imx219_board_setup: error during i2c read probe (-121)
[ 12.230752] imx219 9-0010: board setup failed
[ 12.230976] imx219: probe of 9-0010 failed with error -121
[ 12.245123] imx219 10-0010: imx219_board_setup: error during i2c read probe (-121)
[ 12.253276] imx219 10-0010: board setup failed
[ 12.253501] imx219: probe of 10-0010 failed with error -121
[ 12.502157] using random self ethernet address
[ 12.502310] using random host ethernet address
[ 14.419870] using random self ethernet address
*** [ 14.420112] using random host ethernet address
*** [ 27.430187] CPU4: shutdown
[ 27.492779] CPU5: shutdown
[ 30.027585] nvidia: loading out-of-tree module taints kernel.
Ubuntu 20.04.6 LTS ubuntu ttyTCU0
ubuntu login:
Is what I mentioned above a common phenomenon for Jetson Xavier NX, after I used the same version on the Jetson Orin NX 16GB, it didn’t take much time to boot the Userspace service.
I hope you can answer my question very much. I have tried to disable many services, such as nvpsh.servicealsa*.servicenv-l4t-bootloader-config.servicekerneloop.service, and so on, but none of them solved where the extra 7~8 seconds was spent. Thank you very much.
For Jetson Orin NX systemd-analyze
Startup finished in 10.048s (kernel) + 7.279s (userspace) = 17.328s
graphical.target reached after 7.207s in userspace
Hi @KevinFFF,
I am sorry to reply later, I will update it, but I still expect to reduce userspace time. Because I found the TX2 and the Orin NX’s userspace time is too short compared to Xavier NX.
TX2 uses R32 and Orin NX uses R35.
There are many differences from the design and architecture.
You could also configure the kernel config to remove the unused modules.