snyutech

snyutech

0个粉丝

4

问答

0

专栏

0

资料

snyutech  发布于  2017-01-17 15:57:54
采纳率 0%
4个问答
5123

【求助】3516D+IP101GR内核网络不通 New

 
内核重新编译过,现在现象是:输入ifconfig没有任何反应。内核编译时只做了如下修改:

求各位大神指点,谢谢!

--- hieth gmac family network device support
  x x                      (0x726d6d73) hieth-gmac misc tag
  x x                      (0x726d6d73) hieth-gmac mac address tag                                                      
  x x                      (0x10090000) hieth-gmac IO address                                                            
  x x                      (57)  hieth-gmac irq number                                                                  
  x x                      (1)   hieth-gmac phy0 addr                                                                    
  x x                      (5)   hieth-gmac phy0 interface mode                                                     
  x x                     
  •    higmac reset helper                                                                     
      x x                      (0x20140000) higmac reset helper on which gpio group                                        x x  
      x x                      (1)     higmac reset helper on gpio bit                                                     x x  
      x x                      (0)     higmac reset helper on gpio value                                                   x x  
      x x                     
  •    rx flow ctrl supported                                                                x x  
      x x                     
  •    tx flow ctrl supported                                                                x x  
      x x                      (0xFFFF) tx flow ctrl pause time                                                            x x  
      x x                      (0xFFFF) tx flow ctrl pause interval                                                        x x  
      x x                      (16)  tx flow ctrl active threshold                                                         x x  
      x x                      (32)  tx flow ctrl deactive threshold                                                       x x  

    注明:uboot中 phy0 addr 为 1
    hieth-gmac phy0 interface mode   值为5也表示RMII
    uboot修改时候,0x93寄存器修改为2,不知道内核中应该怎么修改:()


    补充内容 (2017-1-19 14:37):
    网络没有问题,是本人对linux开发不熟悉所致,需要ifconfig eth0 X.X.X.X up命令才能正常操作:)
  • 我来回答
    回答4个
    时间排序
    认可量排序

    sinfy

    0个粉丝

    0

    问答

    0

    专栏

    0

    资料

    sinfy 2017-01-17 16:09:31
    认可0
    好像不行,我们也用的101,后面PING不能,改成其它的芯片就OK了

    snyutech

    0个粉丝

    4

    问答

    0

    专栏

    0

    资料

    snyutech 2017-01-17 17:06:32
    认可0
    [quote][url=forum.php?mod=redirect&goto=findpost&pid=44286&ptid=13987]sinfy 发表于 2017-1-17 16:09[/url]
    好像不行,我们也用的101,后面PING不能,改成其它的芯片就OK了[/quote]

    应该是时钟不对,但是我不知道给phy配置时钟,应该在什么地方修改:dizzy:。

    ugashet

    0个粉丝

    0

    问答

    0

    专栏

    0

    资料

    ugashet 2017-02-09 21:16:08
    认可0
    帮助解决同样的问题,设置网络配置和内核落入恐慌。
    7 cmdlinepart partitions found on MTD device hi_sfc
    7 cmdlinepart partitions found on MTD device hi_sfc
    Creating 7 MTD partitions on "hi_sfc":
    0x000000000000-0x000000080000 : "boot"
    0x000000080000-0x000000580000 : "romfs"
    0x000000580000-0x000000bc0000 : "user"
    0x000000bc0000-0x000000d40000 : "web"
    0x000000d40000-0x000000e80000 : "custom"
    0x000000e80000-0x000000ec0000 : "logo"
    0x000000ec0000-0x000001000000 : "mtd"
    Found Nand Flash Controller V610.
    Nand ID: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
    No NAND device found
    Higmac dma_sg_phy: 0x82c00000
    higmac_mdio_bus: probed
    Unable to handle kernel NULL pointer dereference at virtual address 000000e2
    pgd = c0004000
    [000000e2] *pgd=00000000
    Internal error: Oops: 5 [#1] ARM
    Modules linked in:
    CPU: 0    Not tainted  (3.4.35 #23)
    PC is at higmac_dev_probe+0x430/0x688
    LR is at phy_attach_direct+0xb0/0xc0
    pc : []    lr : []    psr: 00000013
    sp : c343be28  ip : c377db40  fp : c343be64
    r10: c377dbe4  r9 : c37d7e00  r8 : 00000000
    r7 : c03b7b08  r6 : c377d780  r5 : c377d780  r4 : c03b7b08
    r3 : 00000000  r2 : c03b7a4c  r1 : 00000001  r0 : 00000002
    Flags: nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
    Control: 10c53c7d  Table: 80004059  DAC: 00000015
    你可以推荐?

    ugashet

    0个粉丝

    0

    问答

    0

    专栏

    0

    资料

    ugashet 2017-02-17 20:02:50
    认可0
    谢谢,解决。
    或将文件直接拖到这里
    悬赏:
    E币
    网盘
    * 网盘链接:
    * 提取码:
    悬赏:
    E币

    Markdown 语法

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

    Markdown 语法

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

    举报类型

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

    详细说明

    易百纳技术社区