Im always getting 0 from my reading and since the elinux documentation is so terrible i am still unable to test if the SPI is actually working. I do see spidev.3.0
I looked again at the pinmux configuration adn thans to the documentation on the elinux site, i am unable to confirm whether i did this right. In my cfg file i see options for rsvd2 and lpdr-disable what do i do with these?
I went to (on host machine, not Jetson) nvidia/nvidia_sdk/JetPack_4.2_Linux_p3310/Linux_for_Tegra/bootloader/t186ref/BCT/
and opened the file:
tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg and made the following changes
pinmux.0x02430038 = 0x00000056; # gpio_cam4_pn3: rsvd2, tristate-disable, input-disable, lpdr-disable
pinmux.0x02430040 = 0x00000056; # gpio_cam5_pn4: rsvd2, pull-down, tristate-enable, input-enable, lpdr-disable
pinmux.0x02430048 = 0x00000056; # gpio_cam6_pn5: rsvd2, tristate-disable, input-disable, lpdr-disable
pinmux.0x02430050 = 0x00000058; # gpio_cam7_pn6: rsvd0, pull-up, tristate-disable, input-disable, lpdr-disable
and then i run the flash script:
sudo ./flash.sh jetson-tx2 mmcblk0p1
i still get all zeros when i read from the SPI interface.
What did i do wrong and where do i have to make changes?