Edit online

内核配置

内核配置主要是通过 make km(make kernel_menuconfig) 命令进行 kernel 的功能选择,配置完成后的项目存储在 “source/linux-5.10/arch/riscv/configs/d211_xxx_defconfig” 文件中

网络功能配置

内核中要使用以太网功能,需要首先打开和配置网络相关功能
[*] Networking support
    Networking options
        <*> Packet socket
        <*> Unix domain sockets
        [*] TCP/IP networking
        <*>   INET: socket monitoring interface
        <*> DNS Resolver support
        <*> NETLINK: socket monitoring interface

模块驱动配置

Device Drivers
    [*] Network device support
        [*] Ethernet driver support
            [*] ArtInChip Gigabit Ethernet driver