cancel
Showing results for 
Search instead for 
Did you mean: 

Even though I uploaded a new device tree using stm32cudeide, there was no effect on my pins. 

Najib Kassab
Associate III

I am generating device tree and compiled it by stm32cudeide and upload to my board. So, baiscally I am following this link:

https://wiki.st.com/stm32mpu/wiki/How_to_manage_OpenSTLinux_projects_in_STM32CubeIDE

My issue is that no matter what I do, nothing seems to affect my pins. I type to check them:

cat /sys/kernel/debug/pinctrl/soc\:pin-controller@50002000/pinconf-pins

I can confirm that .dtb is uploaded successfully, and also extlinux.conf is changed

3 REPLIES 3
Olivier GALLIEN
ST Employee

Hi @Najib Kassab​ ,

Can you share change you made in DTS ?

Also boot log after dtb / extlinux.conf modification can be useful

Thanks

Olivier

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
Najib Kassab
Associate III

Hi @Community member​ 

I just made some changes to ADC, I want to use use ADC in M4 instead of A7,

However, I can still see the pins not changed even with the new DT.

this is the new device tree

Najib Kassab
Associate III

@Community member​ 

this the boot log after the I upload the new device tree

and the extlinux.conf is:

# Generic Distro Configuration file generated by OpenEmbedded

MENU BACKGROUND /splash.bmp

TIMEOUT 20

DEFAULT stm32mp157c-stm32mp157c-dk2-mx

LABEL OpenSTLinux

    KERNEL /uImage

    FDTDIR /

    INITRD /uInitrd

    APPEND root=PARTUUID=e91c4e10-16e6-4c0e-bd0e-77becf4a3582 rootwait rw console=ttySTM0,115200

LABEL stm32mp157c-stm32mp157c-dk2-mx

    KERNEL /uImage

    FDT /stm32mp157c-stm32mp157c-dk2-mx.dtb

    APPEND root=PARTUUID=e91c4e10-16e6-4c0e-bd0e-77becf4a3582 rootwait rw console=ttySTM0,115200