I build the kernel 3.2.15 and created the SPI device node by following these steps:
1) Determination of the major number of the device node:
The spi device is listed among other devices
2) Creation of the device node:
mknod spi_0 c 163 0
Now that I have the device note if a try to open it via a simple c code it will fail to create the file despcritor: This is code to open the device node:
int fileDescriptor = open("/dev/spi_0", 0_RDWR);
Is there anything that I need to do to be able to use the device node.
Thanks for your help.
No sweat :-), I was able to port the SPI driver to the 3.2.15 kernel. If anybody is interested, I will more than happy to share that experience :-)
nice to hear that you have a ported version of freescale SPI driver for kernel 3.2.15. I am using kernel version V3.4 and so I am very interested in your experience. Can you tell me more according to your port?
I look at the the kernel configuration file an a notice that the option, "Freescale SPI controller" , is not available for the i.MX28 EVK board.
Do anyone knows where I can get the free scale SPI driver for the i.MX28 so I can build it.
Thanks for your help,