最新的Firefly-rk3399_xubuntu1604_201705111112也不行,rk3399_xubuntu1604_edp_201705111630.7z是什么 ...
你有sdk吗, 改一下dts参数
414 &gmac {
415 phy-supply = <&vcc_phy>;
416 phy-mode = "rgmii";
417 clock_in_out = "input";
418 snps,reset-gpio = <&gpio3 15 GPIO_ACTIVE_LOW>;
419 snps,reset-active-low;
420 snps,reset-delays-us = <0 10000 50000>;
421 assigned-clocks = <&cru SCLK_RMII_SRC>;
422 assigned-clock-parents = <&clkin_gmac>;
423 pinctrl-names = "default";
424 pinctrl-0 = <&rgmii_pins>;
425 tx_delay = <0x28>;
426 - rx_delay = <0x11>;
427+ rx_delay = <0x1B>;
428 status = "okay";
429 };
重新烧写一下内核和resource 回 恶客登门:同网段如果能ping通,那说明工具和驱动正常,再配置下 /etc/resolv 按照官方维基 http://wiki.t-firefly.com/index.php/Firefly-RK3399/Build_kernel获取源码重新编译了一下内核,按你所说重新烧录了一下kernel.img和resource.img网口正常了,你的这个dts也是修改网口的吗,
CMDLINE: console=ttyFIQ0 root=/dev/mmcblk1p6 rw rootwait mtdparts=rk29xxnand:0x00002000@0x00002000(uboot),0x00002000@0x00004000(trust),0x00008000@0x00006000(resource),0x0000A000@0x0000E000(kernel),烧录分区的时候比如kernel,是前面的地址还是后面的地址,是0x0000A000,还是0x0000E000,我用的是后面的,虽然正常了,也不知道对不对哈,嘿嘿 leung先森 发表于 2017-6-22 09:03
你有sdk吗, 改一下dts参数
重新烧写一下内核和resource
&gmac {
phy-supply = <&vcc_phy>;
phy-mode = "rgmii";
clock_in_out = "input";
snps,reset-gpio = <&gpio3 15 GPIO_ACTIVE_LOW>;
snps,reset-active-low;
snps,reset-delays-us = <0 10000 50000>;
assigned-clocks = <&cru SCLK_RMII_SRC>;
assigned-clock-parents = <&clkin_gmac>;
pinctrl-names = "default";
pinctrl-0 = <&rgmii_pins>;
tx_delay = <0x28>;
rx_delay = <0x11>;
status = "okay";
};
维基上git clone https://TeeFirefly@gitlab.com/TeeFirefly/linux-kernel.git获取的内核源码,你的多了一句
rx_delay = <0x1B>;这没问题吧,这一句改的是什么? peak9527 发表于 2017-6-22 16:17
&gmac {
phy-supply = ;
phy-mode = "rgmii";
多什么,替换修改啊,没看到代码前面有加减号吗
意思是11改成1B
页:
1
[2]