Hello All:
自己用 DM8148 做的 PCB, 使用的是 DVRRDK 04.01.00.02。
在 Uboot中 ping 不通电脑,电脑抓不到 ARP 包,使用的连接方式是:DM8148 板 + TP-LINK 路由器 + WIN7电脑(防火墙已关闭)。
帮忙看一下,一般问题会出在哪里 ? 感谢。 是不是 SDK 的问题 ?
请问一下,对于DM8148, 最新的SDK 在哪里下载, 麻烦发一下网址, 感谢。
请问一下,对于DM8148, 最新的SDK 在哪里下载, 麻烦发一下网址, 感谢。
请问一下,对于DM8148, 最新的SDK 在哪里下载, 麻烦发一下网址, 感谢。
pinmux的设置如下:
static void cpsw_pad_config()
{
volatile u32 val = 0;
/*configure pin mux for rmii_refclk,mdio_clk,mdio_d */
val = PAD232_CNTRL;
PAD232_CNTRL = (volatile unsigned int) BIT(0);
val = PAD233_CNTRL;
PAD233_CNTRL = (volatile unsigned int) BIT(0);
val = PAD234_CNTRL;
PAD234_CNTRL = (volatile unsigned int) BIT(0);
/*For PG1.0 we only support GMII Mode, setup gmii0/gmii1 pins here*/
printf("<cpsw_pad_config> get_cpu_rev()= 0x%x\n", get_cpu_rev());
if (PG1_0 == get_cpu_rev()) {
} else {
/*setup rgmii0/rgmii1 pins here*/
/* In this case we enable rgmii_en bit in GMII_SEL register and
* still program the pins in gmii mode: gmii0 pins in mode 1*/
val = PAD236_CNTRL; /*rgmii0_rxctl*/
PAD236_CNTRL = (volatile unsigned int) BIT(2);
val = PAD237_CNTRL; /*rgmii0_rxd[2]*/
PAD237_CNTRL = (volatile unsigned int) BIT(2);
val = PAD238_CNTRL; /*rgmii0_txctl*/
PAD238_CNTRL = (volatile unsigned int) BIT(2);
val = PAD239_CNTRL; /*rgmii0_txc*/
PAD239_CNTRL = (volatile unsigned int) BIT(2);
val = PAD240_CNTRL; /*rgmii0_txd[0]*/
PAD240_CNTRL = (volatile unsigned int) BIT(2);
val = PAD241_CNTRL; /*rgmii0_rxd[0]*/
PAD241_CNTRL = (volatile unsigned int) BIT(2);
val = PAD242_CNTRL; /*rgmii0_rxd[1]*/
PAD242_CNTRL = (volatile unsigned int) BIT(2);
PAD252_CNTRL = (volatile unsigned int) (BIT(1));
val = PAD253_CNTRL; /*rgmii1_txd[0]*/
PAD253_CNTRL = (volatile unsigned int) (BIT(1));
val = PAD254_CNTRL; /*rgmii1_txd[2]*/
PAD254_CNTRL = (volatile unsigned int) (BIT(1));
val = PAD255_CNTRL; /*rgmii1_txc*/
PAD255_CNTRL = (volatile unsigned int) (BIT(1));
val = PAD256_CNTRL; /*rgmii1_rxd[0]*/
PAD256_CNTRL = (volatile unsigned int) (BIT(1));
val = PAD257_CNTRL; /*rgmii1_txd[3]*/
PAD257_CNTRL = (volatile unsigned int) (BIT(1));
val = PAD258_CNTRL; /*rgmii1_rxd[2]*/
PAD258_CNTRL = (volatile unsigned int) (BIT(1));
}
}
Chris Meng:
你好,
uboot的下载链接:arago-project.org/…/
能直接接电脑,不经过路由器么?
user6299109:
回复 Chris Meng:
你好,直连电脑和经过路由器,都ping不通