2021-07-27 12:37 AM
Hi, I need to edit the "stm32mp1.c" file inside the uboot sources, in particular I have to set the following change on line 413:
nb_blink = 4;
How can I do that on OpenSTLinux (Yocto approach) ?
Where is the file and how can I maintain such edit after recompiling the images ?
Thank you
2021-07-27 12:42 AM
Hi @Riccardo Bruè ,
Please refer to :
Olivier
2021-07-27 12:47 AM
Hi,
not answering directly to your question, but changing this 'nb_blink' in this file could mean you want to remove the boot dependency to USB Type-C supply detection.
This could be done easily by commenting the following line in uboot Device Tree.
/* st,adc_usb_pd = <&adc1 18>, <&adc1 19>; */
Regards.
2021-07-27 12:58 AM
Thank you, I am now trying this solution. I've edited the DK2_A7/u-boot/stm32mp157c-dk2_a7-mx-u-boot.dtsi file.