Firefly开源社区

打印 上一主题 下一主题

[技术讨论] u-boot 2020.01 版本是否支持 3399 的 Ethernet?

65

积分

0

威望

0

贡献

技术小白

积分
65

u-boot 2020.01 版本是否支持 3399 的 Ethernet?

发表于 2020-6-11 14:03:05      浏览:5679 | 回复:2        打印      只看该作者   [复制链接] 楼主
我想要 使用 tftp 功能,但是引导的时候出现

Net:
Error: ethernet@fe300000 address not set.
No ethernet found.

设置了 ipaddr ,相关的网络操作也是 No ethernet found
回复

使用道具 举报

65

积分

0

威望

0

贡献

技术小白

积分
65
发表于 2020-6-11 14:45:05        只看该作者  沙发
看源代码是支持的啊,但是u-boot启动时好像设置失败了
回复

使用道具 举报

65

积分

0

威望

0

贡献

技术小白

积分
65
发表于 2020-6-11 14:51:46        只看该作者  板凳

U-Boot 的 log

  1.   128 lists_bind_fdt() bind node ethernet@fe300000
  2.   129 lists_bind_fdt()    - attempt to match compatible string 'rockchip,rk3399-gmac'
  3.   130 lists_bind_fdt()    - found match at 'gmac_rockchip': 'rockchip,px30-gmac' matches 'rockchip,rk3399-gmac'
  4.   131 fdtdec_get_alias_seq() Looking for 'eth' at 4204, name ethernet@fe300000
  5.   132 fdtdec_get_alias_seq()    - i2c0, /i2c@ff3c0000
  6.   133 fdtdec_get_alias_seq()    - i2c1, /i2c@ff110000
  7.   134 fdtdec_get_alias_seq()    - i2c2, /i2c@ff120000
  8.   135 fdtdec_get_alias_seq()    - i2c3, /i2c@ff130000
  9.   136 fdtdec_get_alias_seq()    - i2c4, /i2c@ff3d0000
  10.   137 fdtdec_get_alias_seq()    - i2c5, /i2c@ff140000
  11.   138 fdtdec_get_alias_seq()    - i2c6, /i2c@ff150000
  12.   139 fdtdec_get_alias_seq()    - i2c7, /i2c@ff160000
  13.   140 fdtdec_get_alias_seq()    - i2c8, /i2c@ff3e0000
  14.   141 fdtdec_get_alias_seq()    - serial0, /serial@ff180000
  15.   142 fdtdec_get_alias_seq()    - serial1, /serial@ff190000
  16.   143 fdtdec_get_alias_seq()    - serial2, /serial@ff1a0000
  17.   144 fdtdec_get_alias_seq()    - serial3, /serial@ff1b0000
  18.   145 fdtdec_get_alias_seq()    - serial4, /serial@ff370000
  19.   146 fdtdec_get_alias_seq()    - mmc0, /sdhci@fe330000
  20.   147 fdtdec_get_alias_seq()    - mmc1, /dwmmc@fe320000
  21.   148 fdtdec_get_alias_seq() Not found

  22. 15010 uclass_find_device_by_seq()    - -1 -1 'ethernet@fe300000'
  23. 15011 uclass_find_device_by_seq()    - not found

  24. 18386 __of_translate_address() OF: ** translation for device ethernet@fe300000 **
  25. 18387 __of_translate_address() OF: bus is default (na=2, ns=2) on
  26. 18388 __of_translate_address() OF: reached root node

  27. 18422 clk_set_defaults() clk_set_defaults(ethernet@fe300000)
  28. 18423 fdtdec_get_int() fdtdec_get_int: #clock-cells: fdtdec_get_int() 0x0 (0)
  29. 18424 clk_get_by_indexed_prop() clk_get_by_indexed_prop(dev=00000000f5f144d0, index=0, clk=00000000f5f028c8)
  30. 18425 fdtdec_get_int() fdtdec_get_int: #clock-cells: fdtdec_get_int() 0x0 (0)
  31. 18426 uclass_get_device_by_ofnode() Looking for external-gmac-clock
  32. 18427 uclass_find_device_by_ofnode() Looking for external-gmac-clock
  33. 18428 uclass_find_device_by_ofnode()    - result for external-gmac-clock: external-gmac-clock (ret=0)
  34. 18429 uclass_get_device_by_ofnode()    - result for external-gmac-clock: external-gmac-clock (ret=0)
  35. 18430 uclass_find_device_by_seq() 0 -1
  36. 18431 uclass_find_device_by_seq() 0 0
  37. 18432 uclass_find_device_by_seq()    - -1 -1 'xin24m'
  38. 18433 uclass_find_device_by_seq()    - -1 0 'pmu-clock-controller@ff750000'
  39. 18434 uclass_find_device_by_seq()    - found
  40. 18435 uclass_find_device_by_seq() 0 1
  41. 18436 uclass_find_device_by_seq()    - -1 -1 'xin24m'
  42. 18437 uclass_find_device_by_seq()    - -1 0 'pmu-clock-controller@ff750000'
  43. 18438 uclass_find_device_by_seq()    - -1 1 'clock-controller@ff760000'
  44. 18439 uclass_find_device_by_seq()    - found
  45. 18440 uclass_find_device_by_seq() 0 2
  46. 18441 uclass_find_device_by_seq()    - -1 -1 'xin24m'
  47. 18442 uclass_find_device_by_seq()    - -1 0 'pmu-clock-controller@ff750000'
  48. 18443 uclass_find_device_by_seq()    - -1 1 'clock-controller@ff760000'
  49. 18444 uclass_find_device_by_seq()    - -1 -1 'external-gmac-clock'
  50. 18445 uclass_find_device_by_seq()    - not found
  51. 18446 uclass_find_device_by_seq() 0 0

  52. 18466 clk_set_defaults() clk_set_defaults(ethernet@fe300000)
  53. 18467 fdtdec_get_int() fdtdec_get_int: #clock-cells: fdtdec_get_int() 0x0 (0)
  54. 18468 clk_get_by_indexed_prop() clk_get_by_indexed_prop(dev=00000000f5f144d0, index=0, clk=00000000f5f02868)
  55. 18469 fdtdec_get_int() fdtdec_get_int: #clock-cells: fdtdec_get_int() 0x0 (0)
  56. 18470 uclass_get_device_by_ofnode() Looking for external-gmac-clock
  57. 18471 uclass_find_device_by_ofnode() Looking for external-gmac-clock
  58. 18472 uclass_find_device_by_ofnode()    - result for external-gmac-clock: external-gmac-clock (ret=0)
  59. 18473 uclass_get_device_by_ofnode()    - result for external-gmac-clock: external-gmac-clock (ret=0)
  60. 18474 clk_of_xlate_default() clk_of_xlate_default(clk=00000000f5f02868)
  61. 18475 clk_request() clk_request(dev=00000000f5f1ee80, clk=00000000f5f02868)
  62. 18476 clk_get_by_indexed_prop() clk_get_by_indexed_prop(dev=00000000f5f144d0, index=0, clk=00000000f5f02840)
  63. 18477 fdtdec_get_int() fdtdec_get_int: #clock-cells: fdtdec_get_int() 0x1 (1)
  64. 18478 uclass_get_device_by_ofnode() Looking for clock-controller@ff760000
  65. 18479 uclass_find_device_by_ofnode() Looking for clock-controller@ff760000
  66. 18480 uclass_find_device_by_ofnode()    - result for clock-controller@ff760000: clock-controller@ff760000 (ret=0)
  67. 18481 uclass_get_device_by_ofnode()    - result for clock-controller@ff760000: clock-controller@ff760000 (ret=0)
  68. 18482 clk_of_xlate_default() clk_of_xlate_default(clk=00000000f5f02840)
  69. 18483 clk_request() clk_request(dev=00000000f5f17880, clk=00000000f5f02840)
  70. 18484 clk_set_parent() clk_set_parent(clk=00000000f5f02840, parent=00000000f5f02868)
  71. 18485 rk3399_gmac_set_parent() rk3399_gmac_set_parent: switching RGMII to CLKIN
  72. 18486 fdtdec_get_int() fdtdec_get_int: #clock-cells: fdtdec_get_int() 0x1 (1)
  73. 18487 uclass_get_device_by_ofnode() Looking for clock-controller@ff760000
  74. 18488 uclass_find_device_by_ofnode() Looking for clock-controller@ff760000
  75. 18489 uclass_find_device_by_ofnode()    - result for clock-controller@ff760000: clock-controller@ff760000 (ret=0)
  76. 18490 uclass_get_device_by_ofnode()    - result for clock-controller@ff760000: clock-controller@ff760000 (ret=0)
  77. 18491 clk_of_xlate_default() clk_of_xlate_default(clk=00000000f5f028c8)
  78. 18492 clk_request() clk_request(dev=00000000f5f17880, clk=00000000f5f028c8)

复制代码
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表