I am trying to understand how the SPI interface works in this BSP. I don't see any of the spi devices in /dev/. Do they need to be created by hand using 'mknod'? Are they located elsewhere?
Also, does anyone have some example SPI code that talks to the MPC83* SPI driver?
hiii
did you find the example code for SPI. i am struck on the same side. please tell me how to check SPI communication for MPC8313 . I am also having this BSP Pakage for Rev. 4 . how to use this. guide me all please.
I've replaced my Rev A4 boards with the new Rev C hardware and I still can't get spidev up and running.
I've recompiled the kernel with SPI support and I am loading devfs. However, I see that udevd is present on the RDB but it isn't running at startup.
Do I need both devfsd and udevd? It seems like I wouldn't.
I've even tried passing mount=devfsd as a boot parameter.
FYI, I am using the spidev_test.c compiled binary as a starter. I always get "can't open device: No such file or directory" which suggests to me that udev or devfs is borked.
I've also tried the BSP kernel and 2.6.28.6.