页次: 1
好的,晕哥,我试一下这个:
获取Linux源码(zero-4.13.y分支对网卡支持比较好): git clone https://github.com/Lichee-Pi/linux.git -b zero-4.13.y
另外,请教晕哥,在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是有的,就是没有上面的内容。
这是什么问题呢?
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下,仍然什么也没有!
页次: 1