1. 服务器/VPS/主机用户Telegram电报群: https://t.me/openos
    黑群晖 Synology Telegram电报群: https://t.me/nasfan
    排除公告

SA6400 内核 5.10 编译 i915 Intel 核显模块

本帖由 Ardentwheel2023-10-26 发布。版面名称:群晖 Synology DSM

  1. Ardentwheel

    Ardentwheel Member

    注册:
    2019-01-31
    帖子:
    23
    下载ToolChain
    代码:
    wget https://cndl.synology.cn/download/ToolChain/toolchain/7.2-63134/AMD%20x86%20Linux%20Linux%205.10.55%20%28epyc7002%29/epyc7002-gcc1220_glibc236_x86_64-GPL.txz
    tar -Jxf epyc7002-gcc1220_glibc236_x86_64-GPL.txz
    下载 Linux-5.10.x 官方内核源代码
    代码:
    wget https://global.synologydownload.com/download/ToolChain/Synology%20NAS%20GPL%20Source/7.2-64570/epyc7002/linux-5.10.x.txz
    tar -Jxf linux-5.10.x.txz
    准备交叉编译
    代码:
    export ARCH=x86_64
    export CROSS_COMPILE=/home/parallels/synology/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-
    cd linux-5.10.x
    cp synology/synoconfigs/epyc7002 .config
    make oldconfig && make prepare && make scripts
    编译单个模块
    ⚠️重新编译前要清理目录否则编译出错

    代码:
    make  M=drivers/gpu/ clean
    make  M=drivers/gpu/ CONFIG_DRM=m CONFIG_DRM_TTM=m CONFIG_DRM_TTM_HELPER=m CONFIG_DRM_VRAM_HELPER=m CONFIG_DRM_MIPI_DBI=m CONFIG_DRM_MIPI_DSI=m CONFIG_DRM_I915=m modules -j 12 V=s
    
    安装模块
    代码:
    sudo cp /volume1/Exchange/i915.ko /lib/modules/
    sudo chmod 644 /lib/modules/i915.ko
    sudo insmod /lib/modules/i915.ko
    错误:
     
  2. dlutwang

    dlutwang Member

    注册:
    2019-10-22
    帖子:
    59
    试试将HDMI和DMA的功能也编译进去。
    neither the required HDMI
    > (CONFIG_HDMI) or DMA kernel options can be built as modules.
     
  3. hh089895315

    hh089895315 Member

    注册:
    2018-05-19
    帖子:
    58
    感谢了,可是在ESXI安装识别不到硬盘,不知道怎么搞
     
  4. dlutwang

    dlutwang Member

    注册:
    2019-10-22
    帖子:
    59
    没安装过,这个就不清楚了。你用的arpl引导么
     
  5. Ardentwheel

    Ardentwheel Member

    注册:
    2019-01-31
    帖子:
    23
    DMA编译时出错