Firefly开源社区
标题:
u-boot 2020.01 版本是否支持 3399 的 Ethernet?
[打印本页]
作者:
sprhawk
时间:
2020-6-11 14:03
标题:
u-boot 2020.01 版本是否支持 3399 的 Ethernet?
我想要 使用 tftp 功能,但是引导的时候出现
Net:
Error: ethernet@fe300000 address not set.
No ethernet found.
设置了 ipaddr ,相关的网络操作也是 No ethernet found
作者:
sprhawk
时间:
2020-6-11 14:45
看源代码是支持的啊,但是u-boot启动时好像设置失败了
作者:
sprhawk
时间:
2020-6-11 14:51
标题:
U-Boot 的 log
128 lists_bind_fdt() bind node ethernet@fe300000
129 lists_bind_fdt() - attempt to match compatible string 'rockchip,rk3399-gmac'
130 lists_bind_fdt() - found match at 'gmac_rockchip': 'rockchip,px30-gmac' matches 'rockchip,rk3399-gmac'
131 fdtdec_get_alias_seq() Looking for 'eth' at 4204, name ethernet@fe300000
132 fdtdec_get_alias_seq() - i2c0, /i2c@ff3c0000
133 fdtdec_get_alias_seq() - i2c1, /i2c@ff110000
134 fdtdec_get_alias_seq() - i2c2, /i2c@ff120000
135 fdtdec_get_alias_seq() - i2c3, /i2c@ff130000
136 fdtdec_get_alias_seq() - i2c4, /i2c@ff3d0000
137 fdtdec_get_alias_seq() - i2c5, /i2c@ff140000
138 fdtdec_get_alias_seq() - i2c6, /i2c@ff150000
139 fdtdec_get_alias_seq() - i2c7, /i2c@ff160000
140 fdtdec_get_alias_seq() - i2c8, /i2c@ff3e0000
141 fdtdec_get_alias_seq() - serial0, /serial@ff180000
142 fdtdec_get_alias_seq() - serial1, /serial@ff190000
143 fdtdec_get_alias_seq() - serial2, /serial@ff1a0000
144 fdtdec_get_alias_seq() - serial3, /serial@ff1b0000
145 fdtdec_get_alias_seq() - serial4, /serial@ff370000
146 fdtdec_get_alias_seq() - mmc0, /sdhci@fe330000
147 fdtdec_get_alias_seq() - mmc1, /dwmmc@fe320000
148 fdtdec_get_alias_seq() Not found
15010 uclass_find_device_by_seq() - -1 -1 'ethernet@fe300000'
15011 uclass_find_device_by_seq() - not found
18386 __of_translate_address() OF: ** translation for device ethernet@fe300000 **
18387 __of_translate_address() OF: bus is default (na=2, ns=2) on
18388 __of_translate_address() OF: reached root node
18422 clk_set_defaults() clk_set_defaults(ethernet@fe300000)
18423 fdtdec_get_int() fdtdec_get_int: #clock-cells: fdtdec_get_int() 0x0 (0)
18424 clk_get_by_indexed_prop() clk_get_by_indexed_prop(dev=00000000f5f144d0, index=0, clk=00000000f5f028c8)
18425 fdtdec_get_int() fdtdec_get_int: #clock-cells: fdtdec_get_int() 0x0 (0)
18426 uclass_get_device_by_ofnode() Looking for external-gmac-clock
18427 uclass_find_device_by_ofnode() Looking for external-gmac-clock
18428 uclass_find_device_by_ofnode() - result for external-gmac-clock: external-gmac-clock (ret=0)
18429 uclass_get_device_by_ofnode() - result for external-gmac-clock: external-gmac-clock (ret=0)
18430 uclass_find_device_by_seq() 0 -1
18431 uclass_find_device_by_seq() 0 0
18432 uclass_find_device_by_seq() - -1 -1 'xin24m'
18433 uclass_find_device_by_seq() - -1 0 'pmu-clock-controller@ff750000'
18434 uclass_find_device_by_seq() - found
18435 uclass_find_device_by_seq() 0 1
18436 uclass_find_device_by_seq() - -1 -1 'xin24m'
18437 uclass_find_device_by_seq() - -1 0 'pmu-clock-controller@ff750000'
18438 uclass_find_device_by_seq() - -1 1 'clock-controller@ff760000'
18439 uclass_find_device_by_seq() - found
18440 uclass_find_device_by_seq() 0 2
18441 uclass_find_device_by_seq() - -1 -1 'xin24m'
18442 uclass_find_device_by_seq() - -1 0 'pmu-clock-controller@ff750000'
18443 uclass_find_device_by_seq() - -1 1 'clock-controller@ff760000'
18444 uclass_find_device_by_seq() - -1 -1 'external-gmac-clock'
18445 uclass_find_device_by_seq() - not found
18446 uclass_find_device_by_seq() 0 0
18466 clk_set_defaults() clk_set_defaults(ethernet@fe300000)
18467 fdtdec_get_int() fdtdec_get_int: #clock-cells: fdtdec_get_int() 0x0 (0)
18468 clk_get_by_indexed_prop() clk_get_by_indexed_prop(dev=00000000f5f144d0, index=0, clk=00000000f5f02868)
18469 fdtdec_get_int() fdtdec_get_int: #clock-cells: fdtdec_get_int() 0x0 (0)
18470 uclass_get_device_by_ofnode() Looking for external-gmac-clock
18471 uclass_find_device_by_ofnode() Looking for external-gmac-clock
18472 uclass_find_device_by_ofnode() - result for external-gmac-clock: external-gmac-clock (ret=0)
18473 uclass_get_device_by_ofnode() - result for external-gmac-clock: external-gmac-clock (ret=0)
18474 clk_of_xlate_default() clk_of_xlate_default(clk=00000000f5f02868)
18475 clk_request() clk_request(dev=00000000f5f1ee80, clk=00000000f5f02868)
18476 clk_get_by_indexed_prop() clk_get_by_indexed_prop(dev=00000000f5f144d0, index=0, clk=00000000f5f02840)
18477 fdtdec_get_int() fdtdec_get_int: #clock-cells: fdtdec_get_int() 0x1 (1)
18478 uclass_get_device_by_ofnode() Looking for clock-controller@ff760000
18479 uclass_find_device_by_ofnode() Looking for clock-controller@ff760000
18480 uclass_find_device_by_ofnode() - result for clock-controller@ff760000: clock-controller@ff760000 (ret=0)
18481 uclass_get_device_by_ofnode() - result for clock-controller@ff760000: clock-controller@ff760000 (ret=0)
18482 clk_of_xlate_default() clk_of_xlate_default(clk=00000000f5f02840)
18483 clk_request() clk_request(dev=00000000f5f17880, clk=00000000f5f02840)
18484 clk_set_parent() clk_set_parent(clk=00000000f5f02840, parent=00000000f5f02868)
18485 rk3399_gmac_set_parent() rk3399_gmac_set_parent: switching RGMII to CLKIN
18486 fdtdec_get_int() fdtdec_get_int: #clock-cells: fdtdec_get_int() 0x1 (1)
18487 uclass_get_device_by_ofnode() Looking for clock-controller@ff760000
18488 uclass_find_device_by_ofnode() Looking for clock-controller@ff760000
18489 uclass_find_device_by_ofnode() - result for clock-controller@ff760000: clock-controller@ff760000 (ret=0)
18490 uclass_get_device_by_ofnode() - result for clock-controller@ff760000: clock-controller@ff760000 (ret=0)
18491 clk_of_xlate_default() clk_of_xlate_default(clk=00000000f5f028c8)
18492 clk_request() clk_request(dev=00000000f5f17880, clk=00000000f5f028c8)
复制代码
欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/)
Powered by Discuz! X3.1