Hi,
I'm working on a custom board, based on the sama5D36.
I'm trying to get SPI0 working, after the kernel has booted, using spidev, but looking at the analyzer, the clock is garbage (and maybe MOSI as well).
at91bootstrap and u-boot-at91 work with SPI0 (they load the u-boot and Linux from the SPI flash) - SPI looks perfect on analyzer.
I followed the instructions of "Usage of SPI 0 and SPI 1": discussions/viewtopic.php/f,33/t,25273.html, but when insmod-ing spidev.ko I get the following panic:

Rami Rosenbaum wrote:... when insmod-ing spidev.ko I get the following panic:

Where does it say that it is a panic?
That's not a kernel panic.
It's a warning message (with a stack backtrace) because you're using a kernel kludge (i.e. spidev) instead of a proper SPI protocol driver for the SPI slave device.
Look at the spidev source code, it's not fatal.