I have a imx6sx. The H/W guys used the pinmux tool to configure which pins support which functions. Now I have these 3 files, iomux_config_core1.c *.h and fsl_bitaccess.h. How do I add these files to the kernel and or U-Boot?
Randy S.
Hello,
The Pins Tool is recommended instead of the pinmux.
Pins Tool for i.MX Application Processors|NXP
It generates the Device Tree for Linux.
Regards,
Yuri.
Hi Yuri,
So, I have generated the files with pin tool. Now what should I do with the iomux_config_core1.c and .h files??
Randy S.
Hello,
You may refer to recommendations of Carlos_Musich above.
Also, please look at section 3.6 (IOMUX) of "i.MX_Linux_Reference_Manual.pdf".
Regards,
Yuri.
Hi Randy,
the pinmux tool was used for the i.MX SDK which provided bareboard configuration, however this tool is no longer used and every configuration must be done through the Device Tree.
You may find many references to this topic
Device Tree Tutorial (ARM) | Linux Kernel For Newbies
Configure GPIO as interrupt source
Default config of GPIO's using device tree - Freescale i.MX6 - Stack Overflow
Any examples on how to modify the .dts (device tree) source for custom hardware?
Regards,
Carlos
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------