SPI5 in user spece with STM32MP135F-DK, MB1635B. Kernel Panic
I try to activate the SPI5 in user space. It compieles correctly.
I use the repository:
repo init -u https://github.com/STMicroelectronics/oe-manifest.git -b refs/tags/openstlinux-6.1-yocto-mickledore-mp1-v23.06.21
repo sync
DISTRO=openstlinux-weston MACHINE=stm32mp13-disco IMAGE="st-image-weston" source layers/meta-st/scripts/envsetup.sh
bitbake st-image-weston
after editting the device tree:
bitbake virtual/kernel -c compile -f && bitbake virtual/kernel
But I see not the spidev in /dev/...
&spi5 {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&spi5_pins_a>;
pinctrl-1 = <&spi5_sleep_pins_a>;
cs-gpios = <&gpioh 11 0>; /* PH11 */
status = "okay";
spidev@0 {
status = "okay";
compatible = "rohm,dh2228fv";
/*
* spidev uses a compatible string 'rohm,fs2228fv' to have the
* driver create an spi device node. This is just an example,
* there is not a real device connected on the SPI bus.
*/
reg = <0>;
spi-max-frequency = <30000000>;
};};
Is this correct?
Please tell me not, that it goes on the STM32MP157, I know this!
---------------------------------------------------------------------------------------------------------------------------------------------------------
That nothing was happend with the SPI5, was that the devicetree blob not was in the sd-card image.
Now the devicetree is in my sd-card image and than I will get a kernel panic!!!
I gess the sorce code of the optee-os is buggy.
Starting kernel ...
E/TC:0 Panic 'Watchdog' at /usr/src/debug/optee-os-stm32mp/3.19.0-stm32mp-r1-r0/core/drivers/stm32_iwdg.c:198 <stm32_iwdg_it_handler>
E/TC:0 TEE load address @ 0xde000000
E/TC:0 Call stack:
E/TC:0 0xde0030f9
E/TC:0 0xde019f87
E/TC:0 0xde00c873
E/TC:0 0xde01966d
E/TC:0 0xde039601
E/TC:0 0xde000340
