您尚未登录。

楼主 #1 2019-02-01 21:49:15

dyl6198
会员
注册时间: 2019-02-01
已发帖子: 10
积分: 5

向各大神求助!为什么我的V3S的uboot中的以太网的选项为空啊?

不像教程中显示的,有很多的选项。

离线

#2 2019-02-02 11:40:43

山无棱
会员
注册时间: 2017-10-23
已发帖子: 116
积分: 116

Re: 向各大神求助!为什么我的V3S的uboot中的以太网的选项为空啊?

dyl6198 说:

不像教程中显示的,有很多的选项。

是不是荔枝派网盘下载的
那个版本不够新吧

离线

#3 2019-02-02 12:38:45

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,238
积分: 9197

Re: 向各大神求助!为什么我的V3S的uboot中的以太网的选项为空啊?





离线

楼主 #4 2019-02-02 17:54:51

dyl6198
会员
注册时间: 2019-02-01
已发帖子: 10
积分: 5

Re: 向各大神求助!为什么我的V3S的uboot中的以太网的选项为空啊?

是荔枝派网盘下载的。
谢了,各位!我去试试。

离线

楼主 #5 2019-02-02 22:43:32

dyl6198
会员
注册时间: 2019-02-01
已发帖子: 10
积分: 5

Re: 向各大神求助!为什么我的V3S的uboot中的以太网的选项为空啊?

git clone https://github.com/Lichee-Pi/u-boot.git -b v3s-spi-experimental
cd u-boot/
make LicheePi_Zero_defconfig
make menuconfig

是从上面网址拉的。
然后再打git pull,返回:已经是最新的。
device drivers->network device support下,仍然什么也没有!

离线

#6 2019-02-02 22:45:28

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,238
积分: 9197

Re: 向各大神求助!为什么我的V3S的uboot中的以太网的选项为空啊?

试一试这样:

ARCH=arm make menuconfig





离线

楼主 #7 2019-02-03 09:42:37

dyl6198
会员
注册时间: 2019-02-01
已发帖子: 10
积分: 5

Re: 向各大神求助!为什么我的V3S的uboot中的以太网的选项为空啊?

找到原因了,居然是要先选中 Network device support ,再进去,就有内容了。
如果不选中,进去就是空的!
另外,晕哥编译好的,带网络的uboot,我烧进去,试了一下,网络是没问题的,只是因我的板子没有SPI-flash,所以停在命令行状态。但网络是通的。
多谢各位啦!

离线

楼主 #8 2019-02-03 21:01:08

dyl6198
会员
注册时间: 2019-02-01
已发帖子: 10
积分: 5

Re: 向各大神求助!为什么我的V3S的uboot中的以太网的选项为空啊?

另外,请教晕哥,在kernel适配ethernet的时候,按教程所示,从那个网址,不能直接拉下代码;下载zip文件后,解压,然后make sunxi_defconfig ARCH=arm,出现这个错误:can't open file "drivers/pci/endpoint/Kconfig"。查看,这是一个链接文件,

无法使用此链接,因为其目标“#
# PCI Endpoint Support
#

menu "PCI Endpoint"

config PCI_ENDPOINT
    bool "PCI Endpoint Support"
    help
       Enable this configuration option to support configurable PCI
       endpoint. This should be enabled if the platform has a PCI
       controller that can operate in endpoint mode.

       Enabling this option will build the endpoint library, which
       includes endpoint controller library and endpoint function
       library.

       If in doubt, say "N" to disable Endpoint support.

config PCI_ENDPOINT_CONFIGFS
    bool "PCI Endpoint Configfs Support"
    depends on PCI_ENDPOINT
    select CONFIGFS_FS
    help
       This will enable the configfs entry that can be used to
       configure the endpoint function and used to bind the
       function with a endpoint controller.

source "drivers/pci/endpoint/functions/Kconfig"

endmenu
”不存在。
但源文件drivers/pci/endpoint/functions/Kconfig是有的,就是没有上面的内容。

这是什么问题呢?

离线

#9 2019-02-03 21:10:56

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,238
积分: 9197

Re: 向各大神求助!为什么我的V3S的uboot中的以太网的选项为空啊?

参考这个:   https://whycan.cn/t_561.html





离线

楼主 #10 2019-02-03 21:25:10

dyl6198
会员
注册时间: 2019-02-01
已发帖子: 10
积分: 5

Re: 向各大神求助!为什么我的V3S的uboot中的以太网的选项为空啊?

好的,晕哥,我试一下这个:
获取Linux源码(zero-4.13.y分支对网卡支持比较好):  git clone https://github.com/Lichee-Pi/linux.git -b zero-4.13.y

离线

楼主 #11 2019-02-05 13:05:58

dyl6198
会员
注册时间: 2019-02-01
已发帖子: 10
积分: 5

Re: 向各大神求助!为什么我的V3S的uboot中的以太网的选项为空啊?

再请教晕哥一下,现在LicheePi的登录名和密码是什么?现在登录不进,或者如何取消它?root/tourtour,root/LicheePi,root/空,都 试过了,都 不行。

离线

#12 2019-02-05 14:31:22

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,238
积分: 9197

Re: 向各大神求助!为什么我的V3S的uboot中的以太网的选项为空啊?

dyl6198 说:

再请教晕哥一下,现在LicheePi的登录名和密码是什么?现在登录不进,或者如何取消它?root/tourtour,root/LicheePi,root/空,都 试过了,都 不行。

试一试  root  licheepi





离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn