Even though I uploaded a new device tree using stm32cudeide, there was no effect on my pins.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-01-10 4:55 AM
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
- Labels:
-
ST-Boards
-
STM32CubeIDE
-
STM32MP15 Lines
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-01-11 2:22 AM
Hi @Najib Kassab ,
Can you share change you made in DTS ?
Also boot log after dtb / extlinux.conf modification can be useful
Thanks
Olivier
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-01-11 3:52 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-01-11 5:01 AM
@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
