Nvidia Orin nano RTC kernel compile problem

你好,我有一塊自訂義Nvidia Orin Nano 4G JP5.1.2,設定RTC重新啟動時間會回1970。
根據其他

/lib/udev/rules.d/50-udev-default.rules方法時間還是會回1970。
我嘗試改 CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
我依照Kernel Customization — Jetson Linux Developer Guide documentation

To Build the Kernel完成至第7步


我使用下方指令燒錄,但zcat /proc/config.gz | grep CONFIG_RTC_HCTOSYS_DEVICE
依舊為rtc1。
sudo ./flash.sh -c bootloader/t186ref/cfg/flash_t234_qspi.xml jetson-orin-nano-devkit internal
請問是有缺步驟嗎?

7.後面這也要做嗎?

I think you can just copy the Image to boot/Image to apply your kernel by modify the /boot/extlinux/extlinux.conf

Thanks

備份boot/Image,將kernel_out/arch/arm64/boot/Image取代boot/Image
燒入指令
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device sda1
-c tools/kernel_flash/flash_l4t_external.xml -p “-c bootloader/t186ref/cfg/flash_t234_qspi.xml”
–showlogs --network usb0 jetson-orin-nano-devkit internal

zcat /proc/config.gz | grep CONFIG_RTC_HCTOSYS_DEVICE依舊為rtc0

更改RTC設定編譯需要接SSD嗎?還只需要重新燒QSPI就好?

What’s the rtc link to?

ls -al /dev/rtc*

圖片

Did you check the kernel by “uname -a” to confirm applied your kernel?

我剛剛確認應該是沒有

Then you can just copy the Image from your build tree to Orin Nano and modify the /boot/extlinux/extlinux.conf to apply your kernel to try.

Thanks

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