Part Number: AM5718
Tool/software: Linux
Hi,
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.
Part Number: AM5718
Tool/software: Linux
Hi,
Hello
Thanks for your reply
As I'm new to linux, I have some more doubts regarding this.
If I do not need to access those pins in u-boot for which pin-muxing was changed in custom board, do I need to modify pin-muxing in DTS only?
Or is pin-muxing needed in U-bbot level?
Regards
Satheesh Kumar S
You need to change the pinmuxes in both places <Processor SDK>/board-support/u-boot-<version>/board/ti/am57xx/mux_data.h and your board's device tree in <Processor SDK>/board-support/u-boot-<version>/arch/arm/dts/.
Actually,
For AM57x series there is no pin muxing done in the device tree. There is the exception for MMC and recent SDK releases have made that transparent, i.e. all pin muxing is to be done via u-boot mux_data.h file.
Regards,
Ahmad
Hello
I have modified the mux_data.h with minimal setting mmc, Ethernet(RGMII0,I2C1 and UART3). After new u-bot binary,Ethenet1(RGMII1) ,PRU2eth0 and PRU2eth1 are still working. Plz Help.
Regards
Satheesh Kumar S
Hello
I have modified the mux_data.h with minimal setting mmc, Ethernet(RGMII0,I2C1 and UART3). After new u-bot binary,Ethenet1(RGMII1) ,PRU2eth0 and PRU2eth1 are still working. Plz Help.
Regards
Satheesh Kumar S
Hello Satheesh,
Can you tell us, what are you trying to achieve by changing the pinmuxes?
Best regards,
Kemal
1. As we are new to embedded Linux environment . Here we are trying to get control over pinmuxing. Try to find out where all we need to do modification to port Linux to custom board with AM5718. AS of now we have just idk kits to experiment with.
2. Our custom board will also have the following interfaces as in AM5718 idk. So would like to know how to port Linux and whether the board will wake up with minimum interfaces (mmc , UART3 & Eth0,GMDIO GMAC SW0 , I2C1) . If no then where the problems would pop -up and identify traps.
WE believe that same problems we would encounter when porting Linux to custom board.
Hello Kemal R. Shakir
Thanks for your reply
As rakesh mensioned,which part of sdk actually need modification needed?.From last experiment,we concluded that modification of mux_data.h is not sufficint for custom board porting. Please give valuable suggestions
Regards
Satheesh Kumar S
Hi Satheesh,
I think your next step is to disable those modules in the device tree for Linux. Then recompile the dtb and replace it in the /boot/ directory of Linux. Pin muxing is just the routing of the signal from a module within the chip to external pins. Enabling and disabling a module is separate to this.
Regards,
Ahmad