LX2160A :Cannot initialize GSP firmware RM

I install open-gpu-kernel-modules with version 525.60.13 , NVIDIA driver with same version and merge LX2160a support for Nvidia open-gpu-kernel-modules · GitHub

But I can not still get GPU info by command “nvidia-smi” , the response as following:

# nvidia-smi
No devices were found

There is pcie info and nvidia kernel info

root@localhost:/lib/firmware/nvidia/525.60.13# lspci
0000:00:00.0 PCI bridge: Freescale Semiconductor Inc Device 8d80 (rev 20)
0001:00:00.0 PCI bridge: Freescale Semiconductor Inc Device 8d80 (rev 20)
0001:01:00.0 VGA compatible controller: NVIDIA Corporation Device 2208 (rev a1)
0001:01:00.1 Audio device: NVIDIA Corporation Device 1aef (rev a1)
root@localhost:/lib/firmware/nvidia/525.60.13#
root@localhost:/lib/firmware/nvidia/525.60.13#
root@localhost:/lib/firmware/nvidia/525.60.13#
root@localhost:/lib/firmware/nvidia/525.60.13# lsmod
Module                  Size  Used by
nvidia_drm             65536  0
nvidia_modeset       1417216  1 nvidia_drm
fsl_jr_uio             20480  0
caam_jr               229376  0
nvidia               6107136  1 nvidia_modeset
caamkeyblob_desc       16384  1 caam_jr
crypto_engine          16384  1 caam_jr
rng_core               24576  2 caam_jr
dpaa2_caam            114688  0
caamhash_desc          16384  2 caam_jr,dpaa2_caam
caamalg_desc           40960  2 caam_jr,dpaa2_caam
crct10dif_ce           20480  1
libdes                 24576  2 caam_jr,dpaa2_caam
caam                   45056  1 caam_jr
error                  24576  7 caamalg_desc,caamkeyblob_desc,caamhash_desc,caam,caam_jr,fsl_jr_uio,dpaa2_caam
lm90                   28672  0
at24                   24576  0
rtc_pcf2127            24576  0
root@localhost:/lib/firmware/nvidia/525.60.13#

Check kernel message, it indicate that gsp Cannot initialize.

[ 1432.182518] NVRM nvAssertFailedNoLog: Assertion failed: status == NV_OK @ kernel_gsp_ga102.c:235
[ 1432.182524] NVRM kgspInitRm_IMPL: cannot bootstrap riscv/gsp: 0xffff
[ 1432.182531] NVRM RmInitAdapter: Cannot initialize GSP firmware RM
[ 1432.186336] NVRM: GPU 0001:01:00.0: RmInitAdapter failed! (0x62:0xffff:1622)
[ 1432.189462] NVRM: GPU 0001:01:00.0: rm_init_adapter failed, device minor number 0
[ 2114.862624] NVRM s_executeBooterUcode_TU102: Booter failed with non-zero error code: 0xa
[ 2114.862631] NVRM kgspExecuteBooterUnloadIfNeeded_TU102: failed to execute Booter Unload: 0xffff
[ 2114.887078] NVRM s_executeFwsec_TU102: failed to execute FWSEC for FRTS: FRTS error code 0xbe
[ 2114.887087] NVRM nvAssertOkFailedNoLog: Assertion failed: Failure: Generic Error [NV_ERR_GENERIC] (0x0000FFFF) returned from kgspExecuteFwsecFrts_HAL(pGpu, pKernelGsp, pKernelGsp->pFwsecUcode, pKernelGsp->pWprMeta->frtsOffset) @ kernel_gsp_ga102.c:164

You appear to be using a device-tree based bootloader and kernel. Currently the NVIDIA device-tree drivers are only tested and working with edk2 and ACPI based firmware.

I’m a green hand for device tree. Could give me some guidance?

I would need to look at nvidia’s kernel module, but currently they rely on some specific configurations that are ACPI only. The driver is designed mostly for SystemReady ES/SR designed systems.

Thx for your reply