Tx2,jetpack4.4, using jetson-io to enable spi

i have used jetson-io to enable spi, i use devmem2 to get some info:

,but on the web https://elinux.org/Jetson/TX2_SPI,

i think there are difference between two pic uploaded. the value of disable spi is the same as using jetson-io to enable spi,can you tell me .

The wiki have been verified but the jetson-io didn’t

hi, em,jetson-io is mentioned on official development guide .https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%2520Linux%2520Driver%2520Package%2520Development%2520Guide%2Fhw_setup_jetson_io.html

Yes, thanks for your reminder. Could you help to check both of them to confirm it.


i am suprised , both two methods work fine, i publish this topic because the value on development guide and jetson-io is opposite, but they all work. so i have no idea what is the problem.

Could you check if the REG value before the jetson-io?

i have checked two days ago,and i do not save the value pic, before jetson-io. the four pin(19,21,23,24) not configured as spi, the value is not the mentioned value.

You can edit the /boot/extlinux/extlinux.conf to load original dtb to check it.

hi,i edit the /boot/extlinux/extlinux.conf to load original dtb, and uploaded the original value pic. it is different.

Thanks for clarify. May need to modify the WIKI page.

hi, i have a qrestion, i have compiled my L4T kernel source , refer to Kernel Customization of development guide, which command should be used:
1、sudo ./flash.sh jetson-tx2 mmcblk0p1
2、sudo ./flash.sh -k kernel jetson-tx2 mmcblk0p1
3、sudo ./flash.sh -r kernel-dtb jetson-tx2 mmcblk0p1,
i used command 2,using "uname -a ",but the time of kernel did not change. what is the problem??

For the kernel Image just replace it at /boot/Image

i compiled on host pc, did you mean copy the image to TX2 borad?

Yes, replace the Image in TX2 /boot folder.

i downloaded L4T sources, compiled kernel source, copy Image to TX2 /boot folder, but, display blank.white.blank.white…and so on ,continuous. I can access the system from the serial console(J21,pin6.8.10).and i uploaded demsg log and serial log.dmesglog.txt (139.3 KB),seriallog.txt (24.2 KB)

Did you export LOCALVERSION=-tegra when build the kernel image?