Out-of-box/Plug-and-Play support for Cinterion 5G modem is only available on kernl 5.x

Let me start referencing the official statement on Jetson Software Roadmap for 2H-2021 and 2022

JetPack 5 will be our new feature codeline supporting Jetson Xavier NX and Jetson AGX Xavier series, as well as future Jetson products including Jetson Orin in 2022 and Jetson Nano Next in 2023.

The lack of support for kernel 5.x in Jetson nano until 2023 is highly concerning. Until there the kernel 5.x will be outdated, not stable, outdated.

We had a project with Thales Group with the Cinterion 5G Modem for straming 4K on the 5G network.

Our tests shows that the modem works completly out-of-box (in a plug-and-play fashion) with Ubuntu 20.04 LTS and Kernel 5x on the RPi 4.

We prefer using Nvidia Jetson nano as the product design but the lack of out-of-box support is putting the Nvidia out of choice.

Could anyone have an insight or blog to indicate on patching or recompiling the L4T 34.1 for Jetson nano?

Thanks in advance.

Following the procedures on https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/kernel_custom.html# for downloading and compiling the kernel for Jetson Nano.

Applied the patches for NV31 Cinterion (upstream commit e478d6029dca9d8462f426aee0d32896ef64f10f and upstream commit a4dc7eee9106a9d2a6e08b442db19677aa9699c7)

Kernel recompiled without problem, generated new SD card image. System booted normally. The modem still not recognized, entering activation/suspend loop.

Will come back with more update soon.

I hate to discourage you, but wanted to point out that JetPack supporting kernel 5.x (L4T R34.x) will not be supporting a Nano. The Nano itself will be available for commercial modules for some time, but new features (L4T R34.x+) won’t continue for anything TX2 or older.

If you can get the 5.x kernel working, then that would be ideal, but it won’t be “officially” published. To get official support (there is already a developer preview, at least for Orin, maybe also for Xavier) you would probably need to replace the Nano with Xavier NX.

Unfortunate we can’t attach the giant Xavier on a drone. It will not be approved by the client and the hardware costs
are premium down here.

Only thing needed is a little better hardware support, the 2 official patches were added in 4.1x branch. They only added the modem (the one with USB adapter) VID:PID to the list. The official 5.x merged the patches.

I’m in contact with Thales group and had sent to them the produced logs, but the logs point to some problem on tegra-xusb drivers (queue error)

Let me share here the error logs, as the 5G modem is recognized, but have some problem on xusb driver

=== Log dmesg ===
[ 490.110844] usb 2-1.4: new SuperSpeed USB device number 20 using tegra-xusb
[ 490.143654] usb 2-1.4: New USB device found, idVendor=1e2d, idProduct=00b3
[ 490.143678] usb 2-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 490.143695] usb 2-1.4: Product: Cinterion PID 0x00B3 USB Mobile Broadband
[ 490.143711] usb 2-1.4: Manufacturer: Cinterion
[ 490.143725] usb 2-1.4: SerialNumber: xxxxxxxx
[ 490.153331] option 2-1.4:1.2: GSM modem (1-port) converter detected
[ 490.153725] usb 2-1.4: GSM modem (1-port) converter now attached to ttyUSB0
[ 490.154860] option 2-1.4:1.4: GSM modem (1-port) converter detected
[ 490.155251] usb 2-1.4: GSM modem (1-port) converter now attached to ttyUSB1
[ 490.155575] option 2-1.4:1.5: GSM modem (1-port) converter detected
[ 490.155754] usb 2-1.4: GSM modem (1-port) converter now attached to ttyUSB2
[ 502.931591] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[ 502.931905] option 2-1.4:1.2: device disconnected
[ 502.945802] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[ 502.945841] option 2-1.4:1.4: device disconnected
[ 502.958512] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
[ 502.958549] option 2-1.4:1.5: device disconnected
[ 503.646217] usb 2-1.4: USB disconnect, device number 20
[ 503.702370] usb 2-1: usb_suspend_both: status 0
[ 503.702531] usb usb2: usb_suspend_both: status 0

[ 515.971637] usb 2-1.4: new SuperSpeed USB device number 21 using tegra-xusb
[ 515.999800] usb 2-1.4: New USB device found, idVendor=1e2d, idProduct=00b3
[ 515.999869] usb 2-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 515.999919] usb 2-1.4: Product: Cinterion PID 0x00B3 USB Mobile Broadband
[ 515.999964] usb 2-1.4: Manufacturer: Cinterion
[ 516.000007] usb 2-1.4: SerialNumber: xxxxxxxx
[ 516.011443] option 2-1.4:1.2: GSM modem (1-port) converter detected
[ 516.012123] usb 2-1.4: GSM modem (1-port) converter now attached to ttyUSB0
[ 516.013124] option 2-1.4:1.4: GSM modem (1-port) converter detected
[ 516.013326] usb 2-1.4: GSM modem (1-port) converter now attached to ttyUSB1
[ 516.013623] option 2-1.4:1.5: GSM modem (1-port) converter detected
[ 516.013795] usb 2-1.4: GSM modem (1-port) converter now attached to ttyUSB2
[ 527.763928] tegra-xusb 70090000.xusb: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
[ 527.773472] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[ 527.773517] option 2-1.4:1.2: device disconnected
[ 527.788281] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[ 527.788321] option 2-1.4:1.4: device disconnected
[ 527.800121] tegra-xusb 70090000.xusb: WARN Event TRB for slot 4 ep 14 with no TDs queued?
[ 527.820915] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
[ 527.820957] option 2-1.4:1.5: device disconnected
[ 528.505036] usb 2-1.4: USB disconnect, device number 21
[ 528.558302] usb 2-1: usb_suspend_both: status 0
[ 528.558468] usb usb2: usb_suspend_both: status 0

[ 540.286747] usb 2-1.4: new SuperSpeed USB device number 22 using tegra-xusb
[ 540.311123] usb 2-1.4: New USB device found, idVendor=1e2d, idProduct=00b3
[ 540.311157] usb 2-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 540.311182] usb 2-1.4: Product: Cinterion PID 0x00B3 USB Mobile Broadband
[ 540.311205] usb 2-1.4: Manufacturer: Cinterion
[ 540.311225] usb 2-1.4: SerialNumber: xxxxxxxx
[ 540.325682] option 2-1.4:1.2: GSM modem (1-port) converter detected
[ 540.325990] usb 2-1.4: GSM modem (1-port) converter now attached to ttyUSB0
[ 540.328107] option 2-1.4:1.4: GSM modem (1-port) converter detected
[ 540.328385] usb 2-1.4: GSM modem (1-port) converter now attached to ttyUSB1
[ 540.328727] option 2-1.4:1.5: GSM modem (1-port) converter detected
[ 540.328964] usb 2-1.4: GSM modem (1-port) converter now attached to ttyUSB2
[ 557.190617] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[ 557.190842] option 2-1.4:1.2: device disconnected
[ 557.204398] tegra-xusb 70090000.xusb: WARN Event TRB for slot 4 ep 3 with no TDs queued?
[ 557.229377] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[ 557.229551] option 2-1.4:1.4: device disconnected
[ 557.242362] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
[ 557.242403] option 2-1.4:1.5: device disconnected
[ 557.932102] usb 2-1.4: USB disconnect, device number 22
[ 557.986348] usb 2-1: usb_suspend_both: status 0
[ 557.986512] usb usb2: usb_suspend_both: status 0

[ 566.750782] usb 2-1.4: new SuperSpeed USB device number 23 using tegra-xusb
[ 566.776139] usb 2-1.4: New USB device found, idVendor=1e2d, idProduct=00b3
[ 566.776162] usb 2-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 566.776177] usb 2-1.4: Product: Cinterion PID 0x00B3 USB Mobile Broadband
[ 566.776192] usb 2-1.4: Manufacturer: Cinterion
[ 566.776206] usb 2-1.4: SerialNumber: xxxxxxxx
[ 566.793827] option 2-1.4:1.2: GSM modem (1-port) converter detected
[ 566.794540] usb 2-1.4: GSM modem (1-port) converter now attached to ttyUSB0
[ 566.795612] option 2-1.4:1.4: GSM modem (1-port) converter detected
[ 566.795834] usb 2-1.4: GSM modem (1-port) converter now attached to ttyUSB1
[ 566.796229] option 2-1.4:1.5: GSM modem (1-port) converter detected
[ 566.796603] usb 2-1.4: GSM modem (1-port) converter now attached to ttyUSB2
[ 585.337395] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[ 585.337531] option 2-1.4:1.2: device disconnected
[ 585.351055] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[ 585.351108] option 2-1.4:1.4: device disconnected
[ 585.364113] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
[ 585.364175] option 2-1.4:1.5: device disconnected
[ 586.054077] usb 2-1.4: USB disconnect, device number 23
[ 586.106316] usb 2-1: usb_suspend_both: status 0
[ 586.106486] usb usb2: usb_suspend_both: status 0

There is an NX Xavier which uses the same SODIMM footprint which the Nano uses. Cost would of course still be an issue, but then you’d get kernel 5.x support. Otherwise I’ll speculate that you’ll need to backport the 5.x driver into the Nano’s 4.x kernel.

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