Jetpack4.6.1烧录后不能进入桌面

你好!
我使用jetpack4.6.1flash到nx中之后未能进入到桌面,停留的界面如下图:


另外,我可以通过我的主机ssh 用户名@192.168.55.1连接到这台设备

Please use 192.168.55.1 interface and check /var/log/Xorg.0.log and see if any error.

你好!
下面是我查到的Xorg.0.log:
[ 186.377] (–) Log file renamed from “/var/log/Xorg.pid-19660.log” to “/var/log/Xorg.0.log”
[ 186.378]
X.Org X Server 1.19.6
Release Date: 2017-12-20
[ 186.378] X Protocol Version 11, Revision 0
[ 186.378] Build Operating System: Linux 4.15.0-163-generic aarch64 Ubuntu
[ 186.378] Current Operating System: Linux nexgemo-desktop 4.9.253-tegra #1 SMP PREEMPT Thu May 5 16:12:21 CST 2022 aarch64
[ 186.378] Kernel command line: console=ttyTCU0,115200 video=tegrafb earlycon=tegra_comb_uart,mmio32,0x0c168000 gpt rootfs.slot_suffix= tegra_fbmem=0x800000@0xa06b1000 lut_mem=0x2008@0xa06ae000 usbcore.old_scheme_first=1 tegraid=19.1.2.0.0 maxcpus=6 boot.slot_suffix= boot.ratchetvalues=0.4.2 vpr_resize sdhci_tegra.en_boot_part_access=1 quiet root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyTCU0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0
[ 186.378] Build Date: 14 December 2021 04:14:51PM
[ 186.378] xorg-server 2:1.19.6-1ubuntu4.10 (For technical support please see Enterprise open source support | Ubuntu)
[ 186.378] Current version of pixman: 0.34.0
[ 186.378] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 186.378] Markers: (–) probed, () from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 186.379] (==) Log file: “/var/log/Xorg.0.log”, Time: Fri May 6 15:00:18 2022
[ 186.379] (==) Using config file: “/etc/X11/xorg.conf”
[ 186.379] (==) Using system config directory “/usr/share/X11/xorg.conf.d”
[ 186.380] (==) No Layout section. Using the first Screen section.
[ 186.380] (==) No screen section available. Using defaults.
[ 186.380] (
) |–>Screen “Default Screen Section” (0)
[ 186.380] () | |–>Monitor “”
[ 186.381] (==) No device specified for screen “Default Screen Section”.
Using the first device section listed.
[ 186.381] (
) | |–>Device “Tegra0”
[ 186.381] (==) No monitor specified for screen “Default Screen Section”.
Using a default monitor configuration.
[ 186.381] (==) Automatically adding devices
[ 186.381] (==) Automatically enabling devices
[ 186.381] (==) Automatically adding GPU devices
[ 186.381] (==) Automatically binding GPU devices
[ 186.381] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 186.381] (WW) The directory “/usr/share/fonts/X11/cyrillic” does not exist.
[ 186.381] Entry deleted from font path.
[ 186.381] (WW) The directory “/usr/share/fonts/X11/100dpi/” does not exist.
[ 186.381] Entry deleted from font path.
[ 186.381] (WW) The directory “/usr/share/fonts/X11/75dpi/” does not exist.
[ 186.381] Entry deleted from font path.
[ 186.381] (WW) The directory “/usr/share/fonts/X11/100dpi” does not exist.
[ 186.381] Entry deleted from font path.
[ 186.381] (WW) The directory “/usr/share/fonts/X11/75dpi” does not exist.
[ 186.381] Entry deleted from font path.
[ 186.381] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
built-ins
[ 186.381] (==) ModulePath set to “/usr/lib/xorg/modules”
[ 186.381] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 186.381] (II) Loader magic: 0x5557d94010
[ 186.381] (II) Module ABI versions:
[ 186.382] X.Org ANSI C Emulation: 0.4
[ 186.382] X.Org Video Driver: 23.0
[ 186.382] X.Org XInput driver : 24.1
[ 186.382] X.Org Server Extension : 10.0
[ 186.383] (++) using VT number 1

[ 186.388] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c367
[ 186.388] (II) no primary bus or device found
[ 186.389] (WW) “dri” will not be loaded unless you’ve specified it to be loaded elsewhere.
[ 186.389] (II) “glx” will be loaded by default.
[ 186.389] (II) LoadModule: “extmod”
[ 186.389] (II) Module “extmod” already built-in
[ 186.389] (II) LoadModule: “glx”
[ 186.389] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 186.391] (II) Module glx: vendor=“X.Org Foundation”
[ 186.391] compiled for 1.19.6, module version = 1.0.0
[ 186.391] ABI class: X.Org Server Extension, version 10.0
[ 186.391] (II) LoadModule: “nvidia”
[ 186.391] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 186.392] (II) Module nvidia: vendor=“NVIDIA Corporation”
[ 186.392] compiled for 4.0.2, module version = 1.0.0
[ 186.392] Module class: X.Org Video Driver
[ 186.392] (II) NVIDIA dlloader X Driver 32.7.1 Release Build (integ_stage_rel) (buildbrain@mobile-u64-5403-d8000) Sat Feb 19 08:58:34 PST 2022
[ 186.392] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 186.392] (WW) Falling back to old probe method for NVIDIA
[ 186.392] (II) Loading sub module “fb”
[ 186.392] (II) LoadModule: “fb”
[ 186.393] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 186.393] (II) Module fb: vendor=“X.Org Foundation”
[ 186.393] compiled for 1.19.6, module version = 1.0.0
[ 186.393] ABI class: X.Org ANSI C Emulation, version 0.4
[ 186.393] (II) Loading sub module “wfb”
[ 186.393] (II) LoadModule: “wfb”
[ 186.393] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 186.393] (II) Module wfb: vendor=“X.Org Foundation”
[ 186.393] compiled for 1.19.6, module version = 1.0.0
[ 186.393] ABI class: X.Org ANSI C Emulation, version 0.4
[ 186.394] (II) Loading sub module “ramdac”
[ 186.394] (II) LoadModule: “ramdac”
[ 186.394] (II) Module “ramdac” already built-in
[ 186.394] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 186.395] (II) NVIDIA(0): Creating default Display subsection in Screen section
“Default Screen Section” for depth/fbbpp 24/32
[ 186.395] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[ 186.395] (==) NVIDIA(0): RGB weight 888
[ 186.395] (==) NVIDIA(0): Default visual is TrueColor
[ 186.395] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 186.395] (DB) xf86MergeOutputClassOptions unsupported bus type 0
[ 186.395] () NVIDIA(0): Option “AllowEmptyInitialConfiguration” “true”
[ 186.395] (
) NVIDIA(0): Enabling 2D acceleration
[ 186.395] (II) Loading sub module “glxserver_nvidia”
[ 186.395] (II) LoadModule: “glxserver_nvidia”
[ 186.395] (II) Loading /usr/lib/xorg/modules/extensions/libglxserver_nvidia.so
[ 186.400] (II) Module glxserver_nvidia: vendor=“NVIDIA Corporation”
[ 186.400] compiled for 4.0.2, module version = 1.0.0
[ 186.400] Module class: X.Org Server Extension
[ 186.400] (II) NVIDIA GLX Module 32.7.1 Release Build (integ_stage_rel) (buildbrain@mobile-u64-5403-d8000) Sat Feb 19 08:57:49 PST 2022
[ 186.401] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA graphics device!
[ 186.401] (EE) NVIDIA(0): Failing initialization of X screen 0
[ 186.401] (II) UnloadModule: “nvidia”
[ 186.401] (II) UnloadSubModule: “glxserver_nvidia”
[ 186.401] (II) Unloading glxserver_nvidia
[ 186.401] (II) UnloadSubModule: “wfb”
[ 186.401] (II) UnloadSubModule: “fb”
[ 186.401] (EE) Screen(s) found, but none have a usable configuration.
[ 186.401] (EE)
Fatal server error:
[ 186.401] (EE) no screens found(EE)
[ 186.401] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 186.401] (EE) Please also check the log file at “/var/log/Xorg.0.log” for additional information.
[ 186.401] (EE)
请你帮我看一下需要怎么做?谢谢

[ 186.401] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA graphics device!
[ 186.401] (EE) NVIDIA(0): Failing initialization of X screen 0

NVIDIA driver is failed to run. I don’t think you are using pure jetpack release, any comment for this?

为了适配我们的载板,我添加了对TF卡的支持、GPIO5/6复用和对声卡rt5640的支持

Please share the result of lsmod

Module Size Used by

Your kernel “uname -r” result does not match your /lib/modules/ so all the kernel modules are not loaded up, including the GPU driver.

我在是在https://developer.nvidia.com/embedded/linux-tegra-r3261这里下载的


编译的方法是在文件是:
#!/bin/bash
export LOCALVERSION=-tegra
export CROSS_COMPILE=aarch64-linux-gnu-
CONFIG=…/out/.config
TEGRA_KERNEL_OUT=…/out
if [ ! -d “$TEGRA_KERNEL_OUT” ];then
mkdir “$TEGRA_KERNEL_OUT”
fi
mkdir -p $TEGRA_KERNEL_OUT
if [ ! -f “$CONFIG” ];then
make ARCH=arm64 O=$TEGRA_KERNEL_OUT tegra_defconfig
fi
make ARCH=arm64 O=$TEGRA_KERNEL_OUT CROSS_COMPILE=aarch64-linux-gnu- -j12

麻烦你帮我看一下是什么导致kernel不匹配

Show the “uname -r” first.

4.9.253-tegra

and the /lib/modules/

image

Please try to run modprobe to load nvgpu and see if any error.

modprobe: ERROR: missing parameters. See -h.

Try to learn how to run modprobe first…

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