资源简介
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
相关资源
- labspec中文教程
- VxWorks网络程序员指南.pdf
- VxWorks实验35个
- goahead3.6.3基于vxworks5.5移植
- 嵌入式实时操作系统VxWorks及其开发环
- VxWorks完整源代码详解
- vxworks的移植
- (转)B样条曲线反求控制点
- ios for vmware
- Sparse Subspace Clustering: Algorithm Theory a
- vxworks设备驱动开发详解曹桂平,高清
- rtthread stm32f1xx hal bsp 偏移地址0x4000
- 《嵌入式VxWorks系统开发与应用》电子
- PXA270_BSP
- Vxworks学习总结
- WebSphere系统安全加固规范 中文
- VxWorks for ARM 实验教程
- VxWorks_BSP开发人员指南
- 虚拟机跑vxworks用到的文件
- WebSphere安装、配置与WEB应用部署教程
- Vxworks设备驱动开发详解-曹桂平著
- Wind River Workbench Vxworks user guide
- NFS between VxWorks and Windows XP
- SIEMENS 840D HMI 二次开发完整包
- ZYNQ zedboard vxworks bootrom6.9, 7.0 vip镜像
- IBM Websphere MQ
- IBM WebSphere MQ 测试工具
- windows xp client TO vxworks FTP server
- 风河Woorkbench3.0-VxWorks6.6应用程序开发
- vxworks6.9_bsp_developers_guide
评论
共有 条评论