Hi team i am using the agx orin in jetpack 6.1 l4t 36.4.0 in that i am using the hte driver for the hardware time stamp in that i was able to print the time stamp in dmesg using the gpio toggle but i want to store the those time stamp values to the text file so that i can use it for future.
I need help in how to save the hte time stamp value to the text file by using the hte-tegra192-test.ko steps for how to save the file please.
thanks,
Hi herethehacker97,
Are you using the devkit or custom board for AGX Orin?
The HW timestamp is printed in process_hw_ts()
of hte-tegra194-test.c so that you can customize it to store the data into a txt file mamually.
thanks for your reply but i didn’t have much experience in save to file in kernel level. it lead to kernel crash only .any suggestions would be helpful
Have you synced and built the kernel source and replaced the kernel image on your board and it can boot as expected?
If so, have you tried using filp_open/kernel_write/filp_close for this use case?