Navigation

    全志在线开发者论坛

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

    V851S kernel_menuconfig 设置未应用

    编译和烧写问题专区
    v851s kernel
    1
    2
    94
    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.
    • kanken6174
      kanken6174 LV 5 last edited by

      大家好,
      当我在 kernel_menuconfig 中将 OV5640 和 OV5658 驱动程序设置为编译为模块 (M) 时(并且禁用 gc_2053):
      Screenshot from 2023-11-11 14-50-09.png
      我编辑 DTS 以反映更改:
      12b972eb-6b60-4548-8127-52675e23e955-image.png

      并编译/运行,似乎没有考虑到更改。 menuconfig 中的其他更改确实适用于图像,但 kernel_menuconfig 中完成的某些更改则不然。 看这里,gc_2053 驱动程序仍然处于活动状态,而 OV 驱动程序却不见踪影:
      19b81027-09f1-4248-806e-9b1773715b47-image.png
      知道为什么会出现这种情况吗?

      1 Reply Last reply Reply Quote Share 1
      • kanken6174
        kanken6174 LV 5 last edited by

        事实证明 .ko 文件确实是由“make”命令构建的,但它们只是没有被发送到图像:
        2c8f5b94-8cbe-4d0c-adb6-5479c6b99a6f-image.png
        为了能够将它们包含在图像中,我必须编辑 openwrt/target/v851S/<board_name> 中的文件:
        a3280016-a8c6-481d-9225-a1e4a8280f46-image.png
        添加我需要的各种 ov 驱动程序并注释掉我不需要的 gc2053 驱动程序
        6bf17119-041a-4146-adff-6d5c87a19fce-image.png

        这仍然有点奇怪,这不是自动配置的,需要您手动编辑这些 makefile...感觉很笨重

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

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

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