This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335X Starter Kit SPI Not Working



Hello,


I'm having trouble getting the SPI working on my starter kit and would like a little help.


I've tried following the post here: http://e2e.ti.com/support/arm/sitara_arm/f/791/p/218851/789814#789814
but I'm not getting the /dev/spidev* appearing.

My board-am335xevm.c file has the following info:

static struct spi_board_info am335x_spi0_slave_info[] = {
    {
        .modalias      = "spidev",
        .max_speed_hz  = 20000000,
        .bus_num       = 1,
        .chip_select   = 0,
        .mode           = SPI_MODE_1
    },
};

 {spi0_init, DEV_ON_BASEBOARD, PROFILE_ALL}, has been added to my static struct evm_dev_cfg evm_sk_dev_cfg[] function at the bottom

CONFIG_SPI_SPIDEV=y has been added to my am335x_evm_defconfig file

I clean all sources using make mrproper

Is use the command make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- tisdk_am335x-evm_defconfig

Then use the command make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- uImage


After the compile has completed, i copy the uImage to the /tftpboot folder and replace the existing uImage-am335x-evm.bin file

I reboot my AM335x starter kit afterwards and my there is no spi channel listed in my /dev folder.

Any thoughts on what might be happening are most welcome.