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.

SPI command in u-boot shell | OMAP4460



Hello,

I'm trying to connect a slave LCD panel with SPI interface on pandaboard ES REV EB3 with OMAP4460. I want to test McSPI interface from u-boot level.

I added #define CONFIG_CMD_SPI" in the "~/u-boot-2013.10-rc3/include/configs/omap4_panda.h" file and when I try to build u-boot, i accept an error with message ~/u-boot-2013.10-rc3/common/cmd_spi.c:106: undefined reference to `spi_s.

Thanks in advance for your help and support.

Best Regards,
Taner Halibryam.

  • Hi Taner,

    In most u-boots there is no spi driver for pandaboard. I suggest you modify the omap3 SPI driver to be able to work with your project.

    /u-boot/drivers/spi/omap3_spi.h  

    after you modify the registers to be the one used in omap4

    u must  set the correct function set not to point to dummy functions.

    /u-boot/common/exports.c

    You may find the steps here useful:

    http://e2e.ti.com/support/omap/f/849/t/289817.aspx

    Regards, Boyko