* [U-Boot] configuring u-boot for custom board based on beaglebone(am335xx_evm)
@ 2012-12-19 14:07 Pavan
2012-12-19 15:01 ` Yegor Yefremov
0 siblings, 1 reply; 6+ messages in thread
From: Pavan @ 2012-12-19 14:07 UTC (permalink / raw)
To: u-boot
Hi,
i need to configure u-boot-2013.01.rc2 for my custom board, that
is completely based on beaglebone Rev A3,i have mux.h file according to my
hardware i am not understanding the codeflow of beaglebone for include the
mux.h.
i have some extra hardware on my board,but first i need to understand the
codeflow for beaglebone then only i can change the all required files
according to my hardware.
Can you please tell me which are the files i need to change? or u-boot is
using pin-mux for baglebone?
I checked the file include/configs/am335x_evm.h and also in board/ti/am335x
directory the mux.c is there,but i didn't understand the codeflow properly?
Please help me out?
Regards
Pavan
--
View this message in context: http://u-boot.10912.n7.nabble.com/configuring-u-boot-for-custom-board-based-on-beaglebone-am335xx-evm-tp143228.html
Sent from the U-Boot mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 6+ messages in thread* [U-Boot] configuring u-boot for custom board based on beaglebone(am335xx_evm)
2012-12-19 14:07 [U-Boot] configuring u-boot for custom board based on beaglebone(am335xx_evm) Pavan
@ 2012-12-19 15:01 ` Yegor Yefremov
2012-12-19 15:19 ` Pavan
0 siblings, 1 reply; 6+ messages in thread
From: Yegor Yefremov @ 2012-12-19 15:01 UTC (permalink / raw)
To: u-boot
On Wed, Dec 19, 2012 at 3:07 PM, Pavan <pavanpatil.elec999@gmail.com> wrote:
> Hi,
>
> i need to configure u-boot-2013.01.rc2 for my custom board, that
> is completely based on beaglebone Rev A3,i have mux.h file according to my
> hardware i am not understanding the codeflow of beaglebone for include the
> mux.h.
>
> i have some extra hardware on my board,but first i need to understand the
> codeflow for beaglebone then only i can change the all required files
> according to my hardware.
>
> Can you please tell me which are the files i need to change? or u-boot is
> using pin-mux for baglebone?
No
> I checked the file include/configs/am335x_evm.h and also in board/ti/am335x
> directory the mux.c is there,but i didn't understand the codeflow properly?
As you can see mux.c provides pinmuxes for dedicated hardware parts
like UART, I2C etc. In enable_board_pin_mux() u-boot decides what
board it is running on and activates relevant hardware parts. main
line kernel makes the same. This was different for am3517 though.
Yegor
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot] configuring u-boot for custom board based on beaglebone(am335xx_evm)
2012-12-19 15:01 ` Yegor Yefremov
@ 2012-12-19 15:19 ` Pavan
2012-12-20 1:11 ` Tom Rini
0 siblings, 1 reply; 6+ messages in thread
From: Pavan @ 2012-12-19 15:19 UTC (permalink / raw)
To: u-boot
Hi Yegor,
Thanks for quick reply,
in u-boot source code to change the beagleboard -xM pin mux we
can change by updating the file board/ti/beagle/beagle.h by changing the
MUX_BEAGLE() micro ,how can i access the same thing for beaglebone?
Regards
Pavan
--
View this message in context: http://u-boot.10912.n7.nabble.com/configuring-u-boot-for-custom-board-based-on-beaglebone-am335xx-evm-tp143228p143231.html
Sent from the U-Boot mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 6+ messages in thread* [U-Boot] configuring u-boot for custom board based on beaglebone(am335xx_evm)
2012-12-19 15:19 ` Pavan
@ 2012-12-20 1:11 ` Tom Rini
2012-12-20 11:15 ` Pavan
0 siblings, 1 reply; 6+ messages in thread
From: Tom Rini @ 2012-12-20 1:11 UTC (permalink / raw)
To: u-boot
On Wed, Dec 19, 2012 at 07:19:03AM -0800, Pavan wrote:
> Hi Yegor,
>
> Thanks for quick reply,
>
> in u-boot source code to change the beagleboard -xM pin mux we
> can change by updating the file board/ti/beagle/beagle.h by changing the
> MUX_BEAGLE() micro ,how can i access the same thing for beaglebone?
You don't. We intentionally only enable the muxes that are required
rather than every single possible mux. You need to do the muxing in the
kernel. And any clocking too, assuming it's not one fo the ones already
enabled.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20121219/95e5ae11/attachment.pgp>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-12-28 14:06 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-19 14:07 [U-Boot] configuring u-boot for custom board based on beaglebone(am335xx_evm) Pavan
2012-12-19 15:01 ` Yegor Yefremov
2012-12-19 15:19 ` Pavan
2012-12-20 1:11 ` Tom Rini
2012-12-20 11:15 ` Pavan
2012-12-28 14:06 ` Tom Rini
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.