This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Am335x PIN MUX --> Uboot & Kernel

Hi All,

In Am335x EVM, u-Boot and Kernel having the pinmux code. Pinmux needed in both?.

Since, my customized board will boot from NAND or SD or UART. So in my u-Boot code contains the pinmux part for NAND, SD and UART alone and our uboot working fine. And in my kernel source only i added all the components pinmux. is that correct?.

AM335x uboot and Kernel both are having all componets pin muxing code. is that need to add all modules pinmuxing in u-Boot as well as Kernel? if yes, why?. Can you please help me.

Thanks,

Murugesan

  • Hi Murugesan,
     
    This is typical for all embedded Linux distributions. I guess one reason is that u-boot and kernel are developed independently, and this is a fail-safe measure when combining them. In any case I would advise you to do complete pinmuxing in u-boot, because this sets all your processor pins to their correct function and direction, regarding the peripherals that you have on your board.