T2080 VXworks bsp,应用于T2080 VXWORKS的底层开发和镜像生成。
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 3782 2014-08-28 20:11 fsl_t2080_qds20bsp.cdf
文件 467756 2015-07-03 05:41 fsl_t2080_qdsootrom
文件 1048576 2015-07-03 06:10 fsl_t2080_qdsootrom.bin
文件 3014704 2015-07-03 05:41 fsl_t2080_qdsootrom.hex
文件 14393 2015-03-26 12:33 fsl_t2080_qdsconfig.h
文件 31672 2014-08-28 20:11 fsl_t2080_qdsfsl_fman_ucode_T2080_106_4_10.bin
文件 32119 2015-07-03 05:37 fsl_t2080_qdsfsl_fman_ucode_T2080_106_4_10.obj
文件 37844 2014-12-23 11:07 fsl_t2080_qdshwconf.c
文件 3000 2014-08-28 20:11 fsl_t2080_qdsMakefile
文件 1009 2015-03-26 12:33 fsl_t2080_qdsREADME
文件 21998 2015-07-03 05:38 fsl_t2080_qds
omExtras.a
文件 27223 2014-08-28 20:11 fsl_t2080_qds
omInit.s
文件 7679 2014-08-28 20:11 fsl_t2080_qdssysALib.s
文件 9999 2014-08-28 20:11 fsl_t2080_qdssysDdrConf.c
文件 56674 2014-12-23 11:07 fsl_t2080_qdssysLib.c
文件 16398 2017-12-18 17:56 fsl_t2080_qds 2080qds.h
文件 43570 2015-03-26 12:33 fsl_t2080_qds arget.ref
文件 1325120 2015-07-03 05:38 fsl_t2080_qdsvxWorks
文件 1727156 2015-07-03 05:39 fsl_t2080_qdsvxWorks.st
文件 280778 2015-07-03 05:38 fsl_t2080_qdsvxWorks.sym
目录 0 2017-12-15 17:44 fsl_t2080_qds
----------- --------- ---------- ----- ----
8171450 21
/* 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_qds20bsp.cdf
文件 467756 2015-07-03 05:41 fsl_t2080_qdsootrom
文件 1048576 2015-07-03 06:10 fsl_t2080_qdsootrom.bin
文件 3014704 2015-07-03 05:41 fsl_t2080_qdsootrom.hex
文件 14393 2015-03-26 12:33 fsl_t2080_qdsconfig.h
文件 31672 2014-08-28 20:11 fsl_t2080_qdsfsl_fman_ucode_T2080_106_4_10.bin
文件 32119 2015-07-03 05:37 fsl_t2080_qdsfsl_fman_ucode_T2080_106_4_10.obj
文件 37844 2014-12-23 11:07 fsl_t2080_qdshwconf.c
文件 3000 2014-08-28 20:11 fsl_t2080_qdsMakefile
文件 1009 2015-03-26 12:33 fsl_t2080_qdsREADME
文件 21998 2015-07-03 05:38 fsl_t2080_qds
omExtras.a
文件 27223 2014-08-28 20:11 fsl_t2080_qds
omInit.s
文件 7679 2014-08-28 20:11 fsl_t2080_qdssysALib.s
文件 9999 2014-08-28 20:11 fsl_t2080_qdssysDdrConf.c
文件 56674 2014-12-23 11:07 fsl_t2080_qdssysLib.c
文件 16398 2017-12-18 17:56 fsl_t2080_qds 2080qds.h
文件 43570 2015-03-26 12:33 fsl_t2080_qds arget.ref
文件 1325120 2015-07-03 05:38 fsl_t2080_qdsvxWorks
文件 1727156 2015-07-03 05:39 fsl_t2080_qdsvxWorks.st
文件 280778 2015-07-03 05:38 fsl_t2080_qdsvxWorks.sym
目录 0 2017-12-15 17:44 fsl_t2080_qds
----------- --------- ---------- ----- ----
8171450 21
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)