Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    请问全志H616 zero2如何编译驱动模块

    H/F/TV Series
    2
    2
    1903
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      King_Messi LV 2 last edited by

      虚拟机版本为ubuntu18.04,我按照用户手册上面先编译了内核,写好驱动代码后在内核目录~/system/orangepi-build-main/kernel/orange-pi-4.9-sun50iw9下输入ARCH=arm CROSS_COMPILE=aarch64-none-linux-gnu- make modules,然后终端出现了Maximum PAGE_SIZE order of alignment for DMA IOMMU buffers (ARM_DMA_IOMMU_ALIGNMENT) [8] (NEW)结果,然后后面就是紧接着一堆选择Y/n的信息 请问如何编译驱动模块?

      Y 1 Reply Last reply Reply Quote Share 0
      • Y
        YiXinTai LV 5 @King_Messi last edited by

        @king_messi 一般内核编译是make ARCH=arm64 menuconfig,还有就是找arch arm64 configs下面对应的内核配置文件

        1 Reply Last reply Reply Quote Share 0
        • 1 / 1
        • First post
          Last post

        Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

        行为准则 | 用户协议 | 隐私权政策