please share the result of your cat /sys/kernel/debug/gpio.
Please go to /proc/device-tree and see if your change is really there.
Attached is the file list in the /proc/device-tree folder. May I ask which file I should check?
UART_LOG.txt (4.6 KB)
Check if the gpio hog you added is really there…
/proc/device-tree is the whole device tree your board is using now…
There is no GPIO I want to add under the /proc/device-tree/gpio@c2f0000 path, is it not successfully added? May I ask how I should modify the device-tree file to add this pin?
After I generated the.cfg file from the pinnum table, I put this file to replace the/linux_for_tegra/bootloader/t186ref/BCT, then through flash. sh - k kernel - dtb jetson - Xavier - nx - devkit - tx2 - nx mmcblk0p1 is burned. Can the cfg file be updated to the module in this step?
Hi,
我看了一下
你根本就加錯東西吧? 我們只有gpio@c2f0000, 沒有 tegra186-gpio-aon@c2f0000
I modified the device tree file and the pin tegra186-gpio-aon already appears under the path /proc/device-tree/gpio@c2f0000.
…請問一下你到底加了什麼…?? 為何要加一個tegra186-gpio-aon?
你前面的gpio hog基本都對 但你就是完全加在錯的gpio node. 能理解嗎?
There is no GPIO I want to add under the /proc/device-tree/gpio@c2f0000 path, is it not successfully added?
你這個問題的答案就是因為你加錯地方… 所以gpio hog沒生效…
Thank you very much, it is working normally now, tegra186-gpio-aon is due to a problem in the text replacement.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.