Hi, i wanted to know why when i enable SPIDEV and MCSPI in the kernel anything works, android doesn't even start, i cannot see the kernel output through the terminal because it never starts, i followed the procedure specified in
http://www.omappedia.com/wiki/PandaBoard_SPI, but i can't get it to work, this is what i have in the kernel:
in the board-omap4panda.c
/*CONFIGURING SPI*/
///////////////////////////////////////////////////////////////////
static const struct spi_board_info panda_spi[] __initconst = {
{
.modalias = "spidev",
.bus_num = 1,
.chip_select = 0,
.max_speed_hz = 400000,
.mode = SPI_MODE_1,
}
};
static void __init panda_spi_devices_init(void) {
/* muxing pins might be only required if
* you've connecting
* device to CS other than CS0 */
spi_register_board_info(panda_spi, ARRAY_SIZE(panda_spi));
}
///////////////////////////////////////////////////////////////////
and i'm calling the panda_spi_devices_init(); function in omap4_panda_init(void).
and this is the configuration in the kernel:
CONFIG_SPI=y
# CONFIG_SPI_DEBUG is not set
CONFIG_SPI_MASTER=y
#
# SPI Master Controller Drivers
#
# CONFIG_SPI_ALTERA is not set
CONFIG_SPI_BITBANG=y
CONFIG_SPI_GPIO=y
# CONFIG_SPI_OC_TINY is not set
CONFIG_SPI_OMAP24XX=y
# CONFIG_SPI_PXA2XX_PCI is not set
# CONFIG_SPI_XILINX is not set
# CONFIG_SPI_DESIGNWARE is not set
#
# SPI Protocol Masters
#
CONFIG_SPI_SPIDEV=y
# CONFIG_SPI_TLE62X0 is not set
#
if someone could help me it would be really great, i really dont know what to do, thanks in advanced.
Best Regards.