SPIdev not available on iMX6ULL

I am using the std Console image instaleld from Toradex Easy installer on an Iris board with IMX6ULL and cannot see spidevx.x available under /dev. Please advise how I can enable this.

Kernel information as follows,

root@colibri-imx6ull:/dev# uname -a
Linux colibri-imx6ull 4.9.166-2.8.6+gd899927728be #1 SMP Mon Apr 1 14:10:54 UTC 2019 armv7l GNU/Linux

Thanks

Dear @Del ,

Greetings! And thank you for contacting Toradex Community.

Please find the information you are looking for in the follwoing link:
https://developer.toradex.com/knowledge-base/spi-(linux)#Colibri_iMX6ULL

Thanks and regards,
Janani

Hi Janani,

Thanks for the response. The article refers to diff as exposed by git. My console stock image does not have this installed and I am unsure how to install it, presumable using opkg. Could you please provide guidance.

Result as follows

root@colibri-imx6ull:/# diff --git a/arch/arm/boot/dts/imx6ull-colibri-eval-v3.dtsi b/arch/arm/boot/dts/imx6ull-colibri-eval-v3.dtsi
diff: unrecognized option ‘–git’
BusyBox v1.24.1 (2019-04-01 10:26:50 UTC) multi-call binary.

Usage: diff [-abBdiNqrTstw] [-L LABEL] [-S FILE] [-U LINES] FILE1 FILE2

It’s exposing diff from busybox and therefore not corect.

Thanks,

Dear @Del ,

Thank you for writing to us again!

It is no problem when you cannot execute the diff command. The thiong we need to focus on is the actual result of the command from

@@ -99,14 +99,14 @@
interrupt-parent = <&gpio2>;
interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
spi-max-frequency = <10000000>;
-               status = "okay";
+               status = "disabled";
};
spidev0: spidev@0 {
compatible = "toradex,evalspi";
reg = <0>;
spi-max-frequency = <23000000>;
-               status = "disabled";
+               status = "okay";
};
};

You could, for example copy these differences into a text file and then do patch -pr to your .dtsi file to incorporate the differences.

Thanks and Best regards,
Janani