Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.powerpc.tech > #5

Re: PowerPC U-Boot

Newsgroups comp.sys.powerpc.tech
From Scott Wood <scott@buserror.net>
Subject Re: PowerPC U-Boot
References <d83b4935-ae5f-4fce-8e36-2531779ae00b@q8g2000pbb.googlegroups.com>
Message-ID <slrnjj7kf1.bqq.scott@snotra.buserror.net> (permalink)
Date 2012-02-09 08:02 -0600

Show all headers | View raw


On 2012-02-05, Daniel <shz.yuan@gmail.com> wrote:
> i got some problem about PowerPC memory-map. and i describe it
> following, forgive my poor English please....the MPU is MPC8313
> as i know, we can use eTSEC interface to connect with PHY or switch
> chip by MII, and we can communicate with PHY or switch chip by SMI
> bus, but i found that the PHY was mapped in local bus memory in U-
> Boot, why? we can control it by SMI bus, and why do we map it, and i
> can not find any connection between PHY and local bus interface.
>
> and the code in U-Boot is:
>
> #define CFG_VSC7385_BASE	0xF0000000
>
> #define CONFIG_VSC7385_ENET			/* VSC7385 ethernet support */
> #define CFG_BR2_PRELIM		0xf0000801	/* VSC7385 Base address */
> #define CFG_OR2_PRELIM		0xfffe09ff	/* VSC7385, 128K bytes*/
> #define CFG_LBLAWBAR2_PRELIM	CFG_VSC7385_BASE/* Access window base at
> VSC7385 base */
> #define CFG_LBLAWAR2_PRELIM	0x80000010	/* Access window size 128K */

The localbus interface is used to upload firmware into the switch.  It's not
a normal PHY.  As drivers/net/vsc7385.c points out, "Further details on the
register information can be obtained from Vitesse" -- with an NDA.

-Scott

Back to comp.sys.powerpc.tech | Previous | NextPrevious in thread | Find similar


Thread

PowerPC U-Boot Daniel <shz.yuan@gmail.com> - 2012-02-05 04:33 -0800
  Re: PowerPC U-Boot Scott Wood <scott@buserror.net> - 2012-02-09 08:02 -0600

csiph-web