tomshawn 发表于 2021-1-28 17:42:09

firefly-rk3328-aiojd4在UBOOT上无法使用以太网

以下为启动信息

U-Boot 2017.09 (Jan 20 2021 - 14:56:47 +0800)

Model: Firefly ROC-RK3328-CC
PreSerial: 2
DRAM:2 GiB
Sysmem: init
Relocation Offset is: 7dbf2000
Using default environment

rksdmmc@ff500000: 1, rksdmmc@ff520000: 0
Bootdev(atags): mmc 0
MMC0: High Speed, 52Mhz
PartType: EFI
boot mode: None
Load FDT from boot part
DTB: rk-kernel.dtb
start get public phy
use default hdmi phy table
inno hdmi phy init success, save it
Warn: can't find connect driver
In:    serial
Out:   serial
Err:   serial
Model: Firefly rk3328-firefly-aiojd4
Rockchip UBOOT DRM driver version: v1.0.1
use default hdmi phy table
xfer: num: 2, addr: 0x50
xfer: num: 2, addr: 0x50
Monitor has basic audio support
Could not find baseparameter partition
mode:1920x1080
CEA mode used vic=16
final pixclk = 148500000 tmdsclk = 148500000
start Inno HDMI PHY Power On
tmdsclock = 148500000; chipversion = 2
Inno HDMI PHY Power On
sink has audio support
hdmi_set_clk_regenerator: fs=48000Hz ftdms=148.500MHz N=6144 cts=148500
CLK: (sync kernel. arm: enter 600000 KHz, init 600000 KHz, kernel 0N/A)
apll 400000 KHz
dpll 664000 KHz
cpll 1200000 KHz
gpll 491009 KHz
npll 600000 KHz
armclk 600000 KHz
aclk_bus 150000 KHz
hclk_bus 75000 KHz
pclk_bus 75000 KHz
aclk_peri 150000 KHz
hclk_peri 75000 KHz
pclk_peri 75000 KHz
Net:   No ethernet found.
Hit key to stop autoboot('CTRL+C'):0

=> setenv ipaddr 192.168.10.110
=> print ipaddr
ipaddr=192.168.10.110
=> ping 192.168.10.126
No ethernet found.
ping failed; host 192.168.10.126 is not alive
=>


如果不中断引导,进入系统后,网络使用正常。但在uboot里面无论如何都显示:No ethernet found.

tomshawn 发表于 2021-1-28 18:03:03

使用的是官方下载下来的linux sdk代码,然后按照http://wiki.t-firefly.com/zh_CN/Firefly-RK3399/ubuntu_manual.html#wang-luo-qi-dong中的说法,kernel配置中使能nfs相关配置,更改dts中的bootargs并使能内核nfs相关配置。

现象依旧:
1、不中断内核引导,正常运行Linux,在Linux下eth0可以联网,没问题;
2、中断内核引导,进入u-boot命令行交互模式,则出现题述问题。

页: [1]
查看完整版本: firefly-rk3328-aiojd4在UBOOT上无法使用以太网