Other Parts Discussed in Thread: SYSCONFIG
Hello,
For my needs, i need to change the kernel, device tre, to enable a pin on my SK-AM62A-LP eval board.
I used the online tool sysconfig. This tool give me 3 files :
AM62A_pinmux.h
AM62A_pinmux_data.c
devicetree.dtsi
I installed the linux SDK version 9.00.00.08 on my linux machine (ubuntu 18_04) following this guide
https://software-dl.ti.com/jacinto7/esd/processor-sdk-linux-edgeai/AM62AX/09_00_00/exports/docs/devices/AM62AX/linux/Overview/Download_and_Install_the_SDK.html
Then, i went to <sdk_path>/board-support/linux..../arch/arm64/boot/dts/ti
open the file k3-am62a7-sk.dts and add this to &main_pmx0 {
mymmc21_pins_default: mymmc21-pins-default {
pinctrl-single,pins = <
AM62AX_IOPAD(0x0124, PIN_OUTPUT, 0) /* (F22) MMC2_SDCD */
>;
};
But for AM62A_pinmux.h and AM62A_pinmux_data.c i suppose i need to go to <sdk_path>/board-support/u-boot-.../board/ti/am62ax/ but can't find where to put the code of these files !
Can you help please on that ?
Also, if you can describe the entire process to update device tree will be very cool (i loose a lot of time on that part ...)