資源簡介
T2080 VXworks bsp,應用于T2080 VXWORKS的底層開發和鏡像生成。

代碼片段和文件信息
/*?hwconf.c?-?Hardware?configuration?support?module?*/
/*
?*?Copyright?(c)?2014?Wind?River?Systems?Inc.
?*
?*?The?right?to?copy?distribute?modify?or?otherwise?make?use
?*?of?this?software?may?be?licensed?only?pursuant?to?the?terms
?*?of?an?applicable?Wind?River?license?agreement.
?*/
/*
modification?history
--------------------
20nov14lxj??add?SD?and?MMC/eMMC?support.?(VXW6-83822)
07jul14wyt??add?support?for?MEMAC0?MEMAC1?and?MEMAC9.?(VXW6-83113)
05jun14ljg??add?USB?EHCI?support.
03jun14wyt??adapted?from?fsl_t4240_qds?version?02c.
*/
#include?
#include?
#include?
#include?
#include?
#include?
#include?“config.h“
#include?
#include?
#include?
IMPORT?UINT32?sysPpcTbClkFreqGet(void);
IMPORT?UINT32?sysPlbClkFreqGet(void);
#ifdef?DRV_INTCTLR_EPIC
IMPORT?UINT32?sysPicClkFreqGet(UINT32);
#endif??/*?DRV_INTCTLR_EPIC?*/
#ifdef?DRV_FSL_SDHC_CTRL
#???include?
#endif?/*?DRV_FSL_SDHC_CTRL?*/
#ifdef?INCLUDE_I2C_BUS
#???include?
#endif?/*?INCLUDE_I2C_BUS?*/
#ifdef?DRV_ESPI_FSL
#???include?
#endif?/*?DRV_ESPI_FSL?*/
#ifdef?DRV_PCIBUS_QORIQ_PCIEX
IMPORT?STATUS?sysPci1AutoconfigInclude?();
IMPORT?UCHAR?sysPci1AutoconfigIntrAssign?(PCI_SYSTEM?*?PCI_LOC?*?UCHAR);
IMPORT?UCHAR?sysPci2AutoconfigIntrAssign?(PCI_SYSTEM?*?PCI_LOC?*?UCHAR);
IMPORT?UCHAR?sysPci3AutoconfigIntrAssign?(PCI_SYSTEM?*?PCI_LOC?*?UCHAR);
IMPORT?UCHAR?sysPci4AutoconfigIntrAssign?(PCI_SYSTEM?*?PCI_LOC?*?UCHAR);
#endif?/*?DRV_PCIBUS_QORIQ_PCIEX?*/
IMPORT?int?sysEprGet(void);
#ifdef?INCLUDE_EHCI
IMPORT?void??ehci0Init?(void);
IMPORT?void??ehci0PostResetHook?(void);
IMPORT?void??ehci1Init?(void);
IMPORT?void??ehci1PostResetHook?(void);
#endif?/*?INCLUDE_EHCI?*/
#ifdef?INCLUDE_I2C_BUS
IMPORT?void?sysI2cBus0ChanSel?(UINT32);
#endif?/*?INCLUDE_I2C_BUS?*/
#ifdef?DRV_VXBEND_QORIQMEMAC
#ifdef?INCLUDE_DUMMY_MDIO
#define?MEMAC_MDIO_NAME “dummyMdio“
#else
#define?MEMAC_MDIO_NAME “memacMdio“
#endif
/*
?*?There?are?eight?available?mEMACs?on?the?T2080:??4?1G?ports
?*?and?4?1/2.5/10Gbps?ports.?Exactly?how?many?of?those?ports?can?be
?*?used?depends?on?the?SerDes?configuration?set?in?the?Reset
?*?Configuration?Word?(RCW).?You?can?never?have?all?ports?active
?*?at?once.
?*
?*?The?following?is?the?currently?configured?MAC/PHY?mapping.
?*?MEMAC2?and?MEMAC3?are?connected?to?two?on-board?PHYs?with?RJ45?ports.
?*?The?RGMII?configuration?in?the?RCW?takes?precedence?over?the?SerDes
?*?configuration.?SERDES1?can?be?configured?for?XAUI?or?XFI?SERDES2?can
?*?be?configured?for?PCIe.?The?T2080?provides?dedicated?MDIO?register
?*?banks?for?the?external?PHYs.
?*
?*?MAC??????????PHY?????????????Management?port?pins????MII?address
?*?--------?????---------------?--------------------????-----------
?*?MEMAC0???????XFI?????????????Access?via?I2C??????????0
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????3782??2014-08-28?20:11??fsl_t2080_qds\20bsp.cdf
?????文件?????467756??2015-07-03?05:41??fsl_t2080_qds\bootrom
?????文件????1048576??2015-07-03?06:10??fsl_t2080_qds\bootrom.bin
?????文件????3014704??2015-07-03?05:41??fsl_t2080_qds\bootrom.hex
?????文件??????14393??2015-03-26?12:33??fsl_t2080_qds\config.h
?????文件??????31672??2014-08-28?20:11??fsl_t2080_qds\fsl_fman_ucode_T2080_106_4_10.bin
?????文件??????32119??2015-07-03?05:37??fsl_t2080_qds\fsl_fman_ucode_T2080_106_4_10.obj
?????文件??????37844??2014-12-23?11:07??fsl_t2080_qds\hwconf.c
?????文件???????3000??2014-08-28?20:11??fsl_t2080_qds\Makefile
?????文件???????1009??2015-03-26?12:33??fsl_t2080_qds\README
?????文件??????21998??2015-07-03?05:38??fsl_t2080_qds\romExtras.a
?????文件??????27223??2014-08-28?20:11??fsl_t2080_qds\romInit.s
?????文件???????7679??2014-08-28?20:11??fsl_t2080_qds\sysALib.s
?????文件???????9999??2014-08-28?20:11??fsl_t2080_qds\sysDdrConf.c
?????文件??????56674??2014-12-23?11:07??fsl_t2080_qds\sysLib.c
?????文件??????16398??2017-12-18?17:56??fsl_t2080_qds\t2080qds.h
?????文件??????43570??2015-03-26?12:33??fsl_t2080_qds\target.ref
?????文件????1325120??2015-07-03?05:38??fsl_t2080_qds\vxWorks
?????文件????1727156??2015-07-03?05:39??fsl_t2080_qds\vxWorks.st
?????文件?????280778??2015-07-03?05:38??fsl_t2080_qds\vxWorks.sym
?????目錄??????????0??2017-12-15?17:44??fsl_t2080_qds
-----------?---------??----------?-----??----
??????????????8171450????????????????????21
評論
共有 條評論