Kernel modification after execution of post-compilation interrupt

Hello, my current jetpack version is 6.1, which corresponds to linux36.4.

Because this version of the image after burn I found I couldn’t connect wifi, so I passed in the kernel menuconfig tool to add Intel driver, which is based on the kernel - jammy - SRC/arch/arm64 / configs/defconfig modification.

Then I do kernel compilation, root file system installation, and finally burn through nvsdkmanage, and finally burn interrupted, this is my burn log.
Can you help me see what’s going on here?

flash.log (308.2 KB)

I used this for kernel compilation and rootfs installation.
Kernel Customization — NVIDIA Jetson Linux Developer Guide 1 documentation

The error log already told. Your kernel modules seems having missing drivers.

cp: cannot stat ‘/home/sunqingyao/SQY/jetson_orin_nx_linux_36.4/Linux_for_Tegra/rootfs/usr/lib/modules/5.15.148-rt-tegra/kernel/drivers/thermal’: No such file or directory

36.4 version after burning the wifi can not be used, my demand is to modify the kernel configuration so that wifi can work, the above is my own modification but it seems to have failed, I would like to ask the wifi driver in 36.4 version how to restore it.

我用中文說明可能會清楚一點…

燒錄的時候有些kernel driver是必要的dependency. 自從你改完kernel之後 uname -r 指令就找不到這個對應的路徑下的driver了…
現在的問題是這個, 跟你的wifi一點關係都沒有…

我在未做任何修改的情况下重新编译了kernel,操作流程按照文档中"Building the Jetson Linux Kernel"操作进行的,烧录工具使用的是nvsdkmanager_flash.sh,结果在烧录时仍然遇到烧录失败,这是我的失败日志信息:

writing item=17, 9:0:secondary_gpt, 61203267072, 16896, gpt_secondary_9_0.bin, 16896, fixed--0, a8cef5824a42d3d693ffe36a021a5fe7dc663d28
[ 141]: l4t_flash_from_kernel: Successfully flash the external device
[ 141]: l4t_flash_from_kernel: The device size indicated in the partition layout xml is smaller than the actual size. This utility will try to fix the GPT.
[ 141]: l4t_flash_from_kernel: Error flashing qspi
Flash failure
Either the device cannot mount the NFS server on the host or a flash command has failed. Check your network setting (VPN, firewall,…) to make sure the device can mount NFS server. Debug log saved to /tmp/tmp.wa1XeW17km. You can access the target’s terminal through “sshpass -p root ssh root@fc00:1:1:0::2”
Cleaning up…

编译完内核除了安装rootfs和替换Image之外还要做别的操作吗?
请麻烦帮我看下这个问题,谢谢!

因为36.4版本的系统中没有了无线网络,但我需要用到wifi,关于如何恢复无线网络的这个问题请问有相关文档描述吗?如果没有的话,您是否可以提供解决方案呢?

請問如果你什麼kernel都不改的情況, 你能燒這台機器嗎? 因為你現在給的這段log跟你的Jetson看起來比較沒關係. 跟你的host設定比較有關

另外, log要給就請你給完整. Jetson那邊的log請透過UART給出來. 燒錄的時候就是兩端的log都要給. Host 端有一份log. Jetson端有另外一份. 你目前只給出了host端的最後一小部份log.

還有, 一個topic就請討論一個問題. 對於你沒有wifi的問題我這邊先不討論. 你想問的話可以開另外一個topic討論.

如何不对kernel进行重编译的活,使用烧录工具是可以正常烧录的,这个是主机端的烧录日志:
flash_1-7_0_20241219-151410.log (48.2 KB)
对kernel不做修改仅是重编译就会出现烧录失败情况,日志信息如下:
flash_fail.log (324.8 KB)
我的jetson设备的调试串口因为载板原因无法拉出日志,很抱歉。

現在的狀況只能請你想辦法把Jetson端的log弄出來了. host端這裡的資訊不夠

如果是kernel改完之後才有的狀況, 估計又是你新的kernel跟原本initrd 裡面的module對不上. 但沒有log的狀況下這些都只是瞎猜.

好的,我想办法拿到jetson端的日志信息,请问在此之前能先回答我一个问题吗,我直接从kernel_src.tbz2解压出来的kernel进行编译,然后执行安装rootfs,这个rootfs和原本执行过apply_binaries.sh的rootfs有什么区别吗?

apply_binaries.sh會把NV需要的driver又丟進去一次rootfs.

这个是我重编kernel进行烧录的host日志:
flash.log (308.2 KB)
jetson设备烧录时调试串口会有日志信息吗?我的调试串口并未输出任何日志信息。

烧录过程中板卡没有日志,重新启动板卡有日志信息:
uart.log (56.5 KB)

Hi,

如果你的log一直都是你現在分享的這樣, 那我覺得你應該是一直沒有抓到UART log.
你的log只有kernel的部分. 但真正的UART log會包含bootloader. 燒錄的log也會包含bootloader.

如果你燒錄過程中沒有看到log, 代表你可能bootloader部分就卡住了.

另外, 如果已經在嘗試改kernel. 就不要再用sdkmanager燒了… 可以直接用command line的形式.

https://docs.nvidia.com/jetson/archives/r36.4/DeveloperGuide/IN/QuickStart.html#to-flash-the-jetson-developer-kit-operating-software

Hi,
我按照您的建议将nvsdkmanager_flash.sh烧录脚本替换成l4t_initrd_flash.sh进行烧录,执行的command line:

sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1
-c tools/kernel_flash/flash_l4t_t234_nvme.xml -p “-c bootloader/generic/cfg/flash_t234_qspi.xml”
–showlogs --network usb0 jetson-orin-nano-devkit internal

这个是烧录时产生的日志信息,与之前看似没什么差别。
flash_l4t-initrd.txt (319.9 KB)

烧录期间jetson端也是没有uart日志输出,我当前使用的host是ubuntu20.04,这个有影响吗?

沒有. 比較有問題的應該是你到底是用什麼port跟什麼方式在抓log的…

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