Recently I am really tired to enabling SPI1 of Xavier, I try 2 weeks but it does not work, NVIDIA has no official guide for Xavier, just a guide for TX2.
Fortunately, I search on our forum and get much help from you and finally make spidev1.0 occurred at /dev/ directory, unfortunately, when I use spidev_test, the pin does not work, I find I should change the pinmux file but when I change the .cfg file, another question occurred.
As a conclusion, to enable SPI1 I collect all my questions, can you help me with them?
- Should I rebuild the kernel? if so, which files should be modified and which files should be generated for full flash?
for example, in the old guide for TX2, it says spidev.ko should be built and copy to TX2, but in Xavier, there is already have a spidev.ko about 20kb size, I rebuild the kernel find the new spidev.ko has 400kb, should I change it? And there is so many difference between TX2 and Xavier.
- Except for kernel issue, which file should I modify as well? The pinmux file, how to make a full flash with both pinmux file and kernel files, do you have an official guide?
I really wish you can answer my question in detail, thanks very much!