[Orin NX,JetPack5.1.1,RTL8153]Direct firmware load for rtl_nic/rtl8153b-2.fw failed with error -2

Hello,I used USB3.0 to RTL8153B, but had problems with the boot process.The problem is :Direct firmware load for rtl_nic/rtl8153b-2.fw failed with error -2.
But the firmware can be found under /lib/firmware/rtl_nic
image

Could you tell me how to solve the problem?Thanks!

I’m moving your post to the Jetson forums for better visibility.

please check the vendor driver what is the exact loading order/location from their driver…

we don’t know the answer either because this is not a device from us…

Thank you very much for your answer!
We have verified that the current situation is like this we used USB3.0 to RTL8153B in xavier nx with JetPack5.1.1,the firmware can be loaded normally and the network works properly,but in agx orin and orin nx with JetPack5.1.1 the firmware cannot be loaded successfully…
Since we are using the same kernel version, is there any difference between the Xavier nx and the orin series?

Hi,

Already explained this in previous comment, please check the vendor driver and see what is the expected location to load this firmware…

Such question is almost not possible to reply…


我前面已經說過了, 麻煩你確認vendor driver裡面到底是預期要從哪裡load這個firmware.

你這種問題的問法其實根本沒辦法回答…

Since we are using the same kernel version, is there any difference between the Xavier nx and the orin series?

I have reviewed the driver source code and confirmed that the firmware expected location to load is /lib/firmware/rtl_nic/
image

Hi,

你要不要做個實驗把你xaiver nx上面同樣位置的fw先移開確認一下是不是真的從rootfs /lib/firmware讀這幾個firmware?

通常這類型的driver都有好幾個可以load firmware的點…


How about you tested if kernel really read the firmware from rootfs /lib/firmware on your xavier nx first?

Generally such driver has multiple firmware load up location…

We used USB3.0 to RTL8153B in xavier nx with JetPack5.1.1, the following figure shows the driver information:


But we used USB3.0 to RTL8153B in orin nx with JetPack5.1.1, the following figure shows the driver infomation:

image

In addition, when the firmware is removed, the xavier nx will also have the same situation as the orin nx, so it can be confirmed that the firmware used is /lib/firmware/rtl_nic/rtl8153b-2.fw…
Thank you for your kind cooperation!

Does orin nx use this driver as ko file or build this in kernel image?
Does xavier nx rootfs mount from emmc or nvme?

And please post full dmesg as text file. Do not share any log file a picture…

orin nx and xavier nx all use this driver as ko file.
xavier nx rootfs mount from nvme.In addtion,we have verified it 's loaded successfully if xavier nx rootfs mount from emmc.

There are three dmesg file for orin nx ,xavier nx rootfs mount from nvme, xavier nx rootfs mount from emmc .
orinnx.log (68.4 KB)
xaviernx_nvme.log (69.9 KB)
xaviernx_emmc.log (68.6 KB)

And please share the result of /lib/firmware/rtl_nic. and /lib/firmware/

Could you share the dmesg after you manually modprobe the driver?

orin nx with JetPack5.1.1 , the result of /lib/firmware and /lib/firmware/rtl_nic
[orinnx].log (26.8 KB)

xavier nx rootfs mount from nvme with JetPack5.1.1 ,the result of /lib/firmware/ and /lib/firmware/rtl_nic
[xaviernx_nvme].log (26.7 KB)

xavier nx rootfs mount from emmc with JetPack5.1.1,the result of /lib/firmware/ and /lib/firmware/rtl_nic
[xaviernx_emmc].log (26.8 KB)

Thanks very much!

please try this and share log …

I’m so sorry for my answer!!!
orin nx and xavier nx all build this driver in kernel image.
image

So I have no idea how to manually modprobe the driver…

please go to the defconfig and set it to m rebuild the kernel. It will become kernel module.

I’m so sorry for taking so long time to reply.
After I rebuild it as kernel module,the firmware can be loaded successfully! We suspect it may have something to do with driver or firmware load times.
Thanks very much.

probably because the rootfs is not ready when it was running as kernel image.
you can see it from the xaiver and orin kernel logs you provideded


大概是因為它build成kernel image的時候每次load firmware的時間點, rootfs都還沒起來.
你可以從你給的xaiver跟orin的log中看出來.

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