OpenEdv-开源电子网

 找回密码
 立即注册
正点原子全套STM32/Linux/FPGA开发资料,上千讲STM32视频教程免费下载...
查看: 1464|回复: 2

卡在zimage下载,求大佬救,我是用ubuntu实体机的有线的方式,让imx6ull(192.168.2.74)与ubuntu(有线ip192.168.2.73)进行...

[复制链接]

4

主题

6

帖子

0

精华

新手入门

积分
19
金钱
19
注册时间
2025-9-28
在线时间
3 小时
发表于 2026-3-11 21:40:28 | 显示全部楼层 |阅读模式
1金钱
我是想要搭建两个局域网,一个无线局域网用来ssh控制ubuntu实体机(无线ip192.168.1.73)(已实现),另一个我就采用有线的方式,让imx6ull(192.168.2.74)与ubuntu(有线ip192.168.2.73)进行直连。然后在uboot阶段我改好imx6ull的ip后,能够ping通ubuntu(有线ip192.168.2.73)。但不能够反ping通imx6ull。然后卡在如图的地方

最佳答案

查看完整内容[请看2#楼]

U-Boot 不是操作系统,它的网络功能是一次性、任务驱动的,只有它主动索取资源 ping时网络才开始工作。因此外部无法 Ping 通 U-Boot 是完全正常的预期行为,并非网络有问题。 只要 U-Boot 能主动 Ping 通您的 TFTP 或 NFS 服务器,就能正常下载内核烧写和开机!
回复

使用道具 举报

1

主题

5

帖子

0

精华

新手入门

积分
15
金钱
15
注册时间
2025-12-23
在线时间
2 小时
发表于 2026-3-11 21:40:29 | 显示全部楼层
U-Boot 不是操作系统,它的网络功能是一次性、任务驱动的,只有它主动索取资源 ping时网络才开始工作。因此外部无法 Ping 通 U-Boot 是完全正常的预期行为,并非网络有问题。 只要 U-Boot 能主动 Ping 通您的 TFTP 或 NFS 服务器,就能正常下载内核烧写和开机!
回复

使用道具 举报

4

主题

6

帖子

0

精华

新手入门

积分
19
金钱
19
注册时间
2025-9-28
在线时间
3 小时
 楼主| 发表于 2026-4-7 16:31:04 | 显示全部楼层
wrui77 发表于 2026-3-11 21:40
U-Boot 不是操作系统,它的网络功能是一次性、任务驱动的,只有它主动索取资源 ping时网络才开始工作。因此 ...

谢谢大佬解答,现在我到nfs根文件系统挂载部分,但挂载失败,尝试nfs传zimage时显示TTTT
然后tftp传输倒是成功了,我使用的是ubuntu24.04按网上教程将linux内核版本下降了,使nfs能够支持+2,但还是挂载失败并且nfs传zimage是还是显示TTTT

下面是相关信息

IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
IP-Config: Complete:
     device=eth0, hwaddr=00:04:9f:04:d2:35, ipaddr=192.168.2.74, mask=255.255.255.0, gw=255.255.255.255
     host=192.168.2.74, domain=, nis-domain=(none)
     bootserver=192.168.2.73, rootserver=192.168.2.73, rootpath=
can-3v3: disabling
ALSA device list:
  No soundcards found.
fec 20b4000.ethernet eth0: Link is Down
fec 20b4000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
fec 20b4000.ethernet eth0: Link is Up - 10Mbps/Full - flow control rx/tx
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "nfs" or unknown-block(2,0): error -6
Please append a correct "root=" boot option; here are the available partitions:
0100           65536 ram0  (driver?)
0101           65536 ram1  (driver?)
0102           65536 ram2  (driver?)
0103           65536 ram3  (driver?)
0104           65536 ram4  (driver?)
0105           65536 ram5  (driver?)
0106           65536 ram6  (driver?)
0107           65536 ram7  (driver?)
0108           65536 ram8  (driver?)
0109           65536 ram9  (driver?)
010a           65536 ram10  (driver?)
010b           65536 ram11  (driver?)
010c           65536 ram12  (driver?)
010d           65536 ram13  (driver?)
010e           65536 ram14  (driver?)
010f           65536 ram15  (driver?)
b300        30535680 mmcblk0  driver: mmcblk
  b301        30531584 mmcblk0p1 9f82198b-01
b310         7634944 mmcblk1  driver: mmcblk
  b311          131072 mmcblk1p1 f41aec5b-01
  b312         7493632 mmcblk1p2 f41aec5b-02
b340             512 mmcblk1rpmb  (driver?)
b330            4096 mmcblk1boot1  (driver?)
b320            4096 mmcblk1boot0  (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
random: nonblocking pool is initialized

回复

使用道具 举报

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

本版积分规则



关闭

原子哥极力推荐上一条 /1 下一条

正点原子公众号

如发现本坛存在违规或侵权内容, 请点击这里发送邮件举报 (或致电020-38271790)。请提供侵权说明和联系方式。我们将及时审核依法处理,感谢配合。

QQ|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )

GMT+8, 2026-4-23 19:20

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

快速回复 返回顶部 返回列表