bsj2009

bsj2009

1个粉丝

4

问答

0

专栏

0

资料

bsj2009  发布于  2016-02-19 10:13:47
采纳率 0%
4个问答
11157

3516a rmii

 
各位好,我用3516A+RTL8201F 采用RMII 模式 ,uboot 中ping不通,HISI发出给的phy的时钟不是50M.请问应该如何调试?uboot要做哪些改动。谢谢!
我来回答
回答13个
时间排序
认可量排序

cdxionghang

0个粉丝

15

问答

0

专栏

0

资料

cdxionghang 2016-02-19 13:45:23
认可0
1.HI3516A uboot修改成rmii:(在生成reg_info的excel表中修改:0x200f0174   2,uboot:hi3516a.h中#define CONFIG_HIGMAC_PHY1_INTERFACE_MODE 2 值修改为1.)再重新make uboot后烧入OK.
2.内核修改rmii模式:

3.修改内核:make ARCH=arm CROSS_COMPILE=arm-hisiv300-linux- menuconfig
-> Device Drivers
-> Network device support
-> Ethernet driver support
-> hieth gmac family network device support
  ->hieth-gmac phy0 interface mode.
需要选择system中的开发板为HI3516A。

bsj2009

1个粉丝

4

问答

0

专栏

0

资料

bsj2009 2016-02-19 17:45:41
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=25497&ptid=10128]cdxionghang 发表于 2016-2-19 13:45[/url]
1.HI3516A uboot修改成rmii:(在生成reg_info的excel表中修改:0x200f0174   2,uboot:hi3516a.h中#define C ...[/quote]

谢谢!我这边还有问题,fastboot到DDR 能启动,fastboot到spi 也提示成功,但是不能正常启动,请问是哪方面的问题,如下是打印信息 。我用的spi flash 就是  GD25Q128CYIG
oot downloading started.
Boot 100 % Downloaded.
Boot Downloading completed!


U-Boot 2010.06-svn2443 (Feb 19 2016 - 14:31:01)

Check spi flash controller v350... Found
Spi(cs1) ID: 0xC8 0x40 0x18 0xC8 0x40 0x18
Spi(cs1): Block:64KB Chip:16MB Name:"GD25Q128"
Check Nand Flash Controller v610 ... found
Special NAND id table Version 1.36
Nand ID: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
No NAND device found!!!

*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
start download process.

Boot Started successfully!
version: 3.0.3
(OK)
"getinfo version" command sent successfully!
spi
(OK)
"getinfo bootmode" command sent successfully!
16384 KiB hi_sfc at 0:0 is now current device
(OK)
"sf probe 0" command sent successfully!
#
Erasing at 0x10000 --   6% complete.
Erasing at 0x20000 --  12% complete.
Erasing at 0x30000 --  18% complete.
Erasing at 0x40000 --  25% complete.
Erasing at 0x50000 --  31% complete.
#
Erasing at 0x60000 --  37% complete.
Erasing at 0x70000 --  43% complete.
Erasing at 0x80000 --  50% complete.
Erasing at 0x90000 --  56% complete.
#
Erasing at 0xa0000 --  62% complete.
Erasing at 0xb0000 --  68% complete.
Erasing at 0xc0000 --  75% complete.
Erasing at 0xd0000 --  81% complete.
#
Erasing at 0xe0000 --  87% complete.
Erasing at 0xf0000 --  93% complete.
Erasing at 0x100000 -- 100% complete.
(OK)
"sf erase 0 0x00100000" command sent successfully!
Writing at 0x10000 --   6% complete.
Writing at 0x20000 --  12% complete.
#
Writing at 0x30000 --  18% complete.
Writing at 0x40000 --  25% complete.
Writing at 0x50000 --  31% complete.
Writing at 0x60000 --  37% complete.
Writing at 0x70000 --  43% complete.
Writing at 0x80000 --  50% complete.
Writing at 0x90000 --  56% complete.
Writing at 0xa0000 --  62% complete.
Writing at 0xb0000 --  68% complete.
Writing at 0xc0000 --  75% complete.
Writing at 0xd0000 --  81% complete.
Writing at 0xe0000 --  87% complete.
Writing at 0xf0000 --  93% complete.
Writing at 0x100000 -- 100% complete.
(OK)
"sf write 0x81000000 0 0x00100000" command sent successfully!

cdxionghang

0个粉丝

15

问答

0

专栏

0

资料

cdxionghang 2016-02-20 09:34:05
认可0
这个问题我以前也遇到过,你最好确定flash型号是否正确,主要是跟demo板的对比一下,你这个是没有烧成功,应该是flash匹配不成功。

dehone

0个粉丝

1

问答

0

专栏

1

资料

dehone 2016-03-07 19:40:46
认可0
bsj2009, 楼主,你的rmii在内核中的配置搞好没有,我遇到同样的问题,请指教在内核中要怎么配置??

ebainar

0个粉丝

7

问答

0

专栏

0

资料

ebainar 2016-03-08 09:33:29
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=25497&ptid=10128]cdxionghang 发表于 2016-2-19 13:45[/url]
1.HI3516A uboot修改成rmii:(在生成reg_info的excel表中修改:0x200f0174   2,uboot:hi3516a.h中#define C ...[/quote]

此回复乃正解也。
hieth-gmac phy0 interface mode 默认值是6对应RGMII,要改成5才对应RMII

dehone

0个粉丝

1

问答

0

专栏

1

资料

dehone 2016-03-08 10:19:45
认可0
我是 选择 5的,文件系统起来后,ifcong -a 找不到 网卡

tsansen

0个粉丝

0

问答

0

专栏

0

资料

tsansen 2016-03-30 21:48:21
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=25497&ptid=10128]cdxionghang 发表于 2016-2-19 13:45[/url]
1.HI3516A uboot修改成rmii:(在生成reg_info的excel表中修改:0x200f0174   2,uboot:hi3516a.h中#define C ...[/quote]

请问您这样的方式调整,PHY的时钟讯号是由Hi3516A输出的?还是有晶体产生的,我在技术资料中都找不到关於EPHY_CLK的时钟讯号调整,目前EPHY_CLk都只能输出25MHz,但RMII需要50MHz

yeahtoo

0个粉丝

6

问答

0

专栏

0

资料

yeahtoo 2016-08-31 17:39:31
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=26174&ptid=10128]dehone 发表于 2016-3-8 10:19[/url]
我是 选择 5的,文件系统起来后,ifcong -a 找不到 网卡[/quote]

请问你的解决了么?我的找到了网卡,但是没IP地址

dehone

0个粉丝

1

问答

0

专栏

1

资料

dehone 2016-09-02 10:59:13
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=36966&ptid=10128]yeahtoo 发表于 2016-8-31 17:39[/url]
请问你的解决了么?我的找到了网卡,但是没IP地址[/quote]

IP地址需要自己配置的,比如 :
ifconfig eth0 192.168.1.16 up

yeahtoo

0个粉丝

6

问答

0

专栏

0

资料

yeahtoo 2016-09-02 11:19:27
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=37047&ptid=10128]dehone 发表于 2016-9-2 10:59[/url]
IP地址需要自己配置的,比如 :
ifconfig eth0 192.168.1.16 up[/quote]

嗯。是的,或者修改S80network文件,自动配置IP

chengyinbing

1个粉丝

5

问答

0

专栏

0

资料

chengyinbing 2017-03-02 17:38:26
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=25509&ptid=10128]bsj2009 发表于 2016-2-19 17:45[/url]
谢谢!我这边还有问题,fastboot到DDR 能启动,fastboot到spi 也提示成功,但是不能正常启动,请问是哪方 ...[/quote]

你用的是GD25Q128C吗?

tgwfcc

1个粉丝

13

问答

0

专栏

0

资料

tgwfcc 2017-04-06 13:58:07
认可0
本帖最后由 tgwfcc 于 2017-4-6 14:11 编辑

[quote][url=forum.php?mod=redirect&goto=findpost&pid=27760&ptid=10128]tsansen 发表于 2016-3-30 21:48[/url]
请问您这样的方式调整,PHY的时钟讯号是由Hi3516A输出的?还是有晶体产生的,我在技术资料中都找不到关於 ...[/quote]

我量的EPHY输出的是12.5MHz的频率,用的RMII,本来是把EPHY_CLK接到PHY的输入时钟的,不行。把RMII_CLK作为PHY的输入始终就可以ping通了。但是看DEMO板千兆的也是从EPHY_CLK接到PHY时钟的,量的时钟是50MHz的,在研究研究是怎么回事?

pb1005

1个粉丝

7

问答

0

专栏

0

资料

pb1005 2017-07-21 13:33:41
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=25497&ptid=10128]cdxionghang 发表于 2016-2-19 13:45[/url]
1.HI3516A uboot修改成rmii:(在生成reg_info的excel表中修改:0x200f0174   2,uboot:hi3516a.h中#define C ...[/quote]

我按照你的方法做了,uboot还是不能连上网络啊,怎么办啊。。。硬件接线没有问题,求大神帮助!
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
+ 添加网盘链接/附件

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
相关问答
无更多相似问答 去提问
举报反馈

举报类型

  • 内容涉黄/赌/毒
  • 内容侵权/抄袭
  • 政治相关
  • 涉嫌广告
  • 侮辱谩骂
  • 其他

详细说明

易百纳技术社区