Hello
L4T Version: R36.4.3
We have a custom baseboard and we adapted all pinmux, dtb etc. to match our baseboard. It works fine and we can flash it with no problem.
Now we want to use usbtop so we need the usbmon driver. I tried to change the def config and added this line:
CONFIG_USB_MON=y
at the following file:
Linux_for_Tegra/source/kernel/kernel-jammy-src/arch/arm64/configs/defconfig
I recompiled the kernel as we allways do and tried to flash with the same flash command:
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_external.xml -p "-c bootloader/generic/cfg/flash_t234_qspi.xml --no-systemimg" --network usb0 jetson-orin-nx-custom-bb-super external
Now the flash script aborts as soon as it tries to establish the ssh connection:
***************************************
* *
* Step 3: Start the flashing process *
* *
***************************************
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Timeout
Device failed to boot to the initrd flash kernel. Please retrive the serial log during flashing to debug further.
Cleaning up...
Here is the output of the debug port:
[ 6modib/812modules/55] .14eport a/k7:0erndrivers/pwm/pwm: P-te.ko Si
ling with IRQ 194
[ 6.619380] pcieport 0007:00:00.0: AER: enabled insmod /lib/194modules/5[ .15.648-tegrnvma/k007el/:01:00s/hwmon/p Adfan.ko o i
u group 6
[ 6.645403] nvme nvme0: pci functionmod /l07:00.ib/mod[ ule.15.148-t1] nvma/ke 0:01:00drivers/uablsb/ dee (get/libco> 0sit002e.ko 6
9511] nvme nvme0: Shutdown timeout set to 10 second /lmod[ 6.652186] nvme n8-ta/kern0: drivers/usb/aultypec/typeadec./poko ues
[ 6.654390] nvme0n1: p1 p2 p3 p4 p5 p6mod /lib/module p1s/5.1511 .143 p8-tegra/kern
drivers/usb/typec/ucsi/typec_ucsi.ko
insmod /lib/modules/5.15.148-tegra/kernel/drivers/usb/typec/ucsi/ucsi_ccg.ko
insmod /lib/modules/5.15.148-tegra/kernel/drivers/usb/gadget/udc/tegra-xudc.ko
[ 6.749043] tegra_xudc: disagrees about version of symbol tegra_xusb_padctl_get
[ 6.749050] tegra_xudc: Unknown symbol tegra_xusb_padctl_get (err -22)
[ 6.749055] tegra_xudc: disagrees about version of symbol tegra_xusb_padctl_get_usb3_companion
[ 6.749056] tegprora_be: ERxudROR: cUnknown symbol ot tegra_insxusertb_p 'tegradca_xtl_get': alid ab3_companion
rr -22)
[ 6.749062] teginsxud /lib/disagrees.15.148-tegr vea/kon of net/ipbolv6/graipvsb_pad6.ko t
[ 6.749063] tegra_xudc: Unknown symbol tegra_xusb_padctl_put (err -22)
[ 6.801225] NET: Registered PF_INET6 protocol family
[ 6.801647] Segment Routing wimod /l6
ib/ 6.80ule165In-.15sit.14u O(IOAM)egr with IPvpdates6
/drivers/nvpps/nvpps.ko
insmod /lib/modules/5.15.148-tegra/updates/drivers/net/ethernet/nvidia/nvethernet/nvethernet.ko
insmod /lib/modules/5.15.148-tegra/kernel/drivers/usb/typec/stusb160x.ko
insmod /lib/modules/5.15.148-tegra/updates/drivers/platform/tegra/mce/tegra-mce.ko
insmod /lib/modules/5.15.148-tegra/updates/drivers/spi/spi-tegra210-quad.ko
[ 6.843821] tegra-qspi 3270000.spi: Adding to iommu group 7
[ 6.844351] tegra-qspi 3270000.spi: Prod config not found for QSPI: -19
[ 6.848169] spi-nor spi0.0: mx25u51279g (65536 Kbytes)
No known UDC device found
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
bash-5.1#
Menuconfig tells me this about the dependencies:
│ Symbol: USB_MON [=y] │
│ Type : tristate │
│ Defined at drivers/usb/mon/Kconfig:6 │
│ Prompt: USB Monitor │
│ Depends on: USB_SUPPORT [=y] && USB [=y] │
│ Location: │
│ -> Device Drivers │
│ (1) -> USB support (USB_SUPPORT [=y])
I have attached all the logs. It’s really the only thing we’ve changed. What could be the error here?
debug_log_.txt (19.8 KB)
flashscript_log.txt (293.3 KB)
Thank you in advance and best regards,
Michael