"Modify, rebuild and reload the Linux® kernel" not working
Hello, I have received a STM32MP157F-DK2 so I develop a program to send data through the SPI port toward other device (like a STM32 nucleo, maybe).
Reading about this first device I saw that example code
won't work there but I should use spidev on openstlinux ( wiki st com stm32mpu wiki SPI_overview ). However, in order to spidev get to work is needed to select the port name (i guess)... the case is:
/sys/bus/spi/devices and /dev/spi* have "N-O-T-H-I-N-G":pouting_face: although the port is physically installed >:( . Really I don't know what is the meaning of creating a image for this device if this will no recognize all of the present hardware :fearful_face:.
Well, in wiki st com stm32mpu wiki SPI_overview says in
"3.1 Kernel configuration
Enable SPI support (SPI framework and STM32 SPI driver) in the kernel configuration through the Linux Menuconfig tool: Menuconfig or how to configure kernel. "
This is done manually in your kernel .config file:
CONFIG_SPI=y
CONFIG_SPI_MASTER=y
CONFIG_SPI_SLAVE=y
CONFIG_SPI_STM32=y
CONFIG_SPI_SPIDEV=y"
So, I did it this in the .config file following instructions given at wiki st com stm32mpu wiki Getting_started STM32MP1_boards STM32MP157x-DK2 Develop_on_Arm%C2%AE_Cortex%C2%AE-A7 Modify,_rebuild_and_reload_the_Linux%C2%AE_kernel .
After several installations of so many packages in the PC I've arrived until this step without troubles:
5.4 Reboot the board↑
Board $> reboot
But... the device doesn't boot now >:(>:(>:(>:( , just keeps hanged on the first screen (ST Logo and "life.augmented" tittle).
In conclusión, I need the SPI port working at that toy so I can use the spidev framework, I had to rebuild the kernel in order to enable the concerned modules following the official documentation and now the device (which doesn't belong to me) doesn't boot.
Thanks in advance (sorry because of my poor english)
