导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页

    编译 Tina 时提示 kmod-sunxi-g2d 找不到

    Linux
    1
    1
    1124
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • Y
      YterAA LV 7 最后由 YuzukiTsuru 编辑

      报错:

      Collected errors:
       * pkg_hash_check_unresolved: cannot find dependency kmod-sunxi-g2d for lv_examples
       * pkg_hash_fetch_best_installation_candidate: Packages for lv_examples found, but incompatible with the architectures configured
       * opkg_install_cmd: Cannot install package lv_examples.
      

      找到芯片对应的modules.mk,例如T113是openwrt/target/t113/t113-common/modules.mk

      取消sunxi-g2d注释。
      f39e4980-ec24-4781-ba3b-0dba1746bf55-image.png

      define KernelPackage/sunxi-g2d
        SUBMENU:=$(VIDEO_MENU)
        TITLE:=sunxi-g2d support
        KCONFIG:=\
      	  CONFIG_SUNXI_G2D=y \
       	  CONFIG_SUNXI_G2D_MIXER=y \
      	  CONFIG_SUNXI_G2D_ROTATE=y \
      	  CONFIG_SUNXI_SYNCFENCE=n
        FILES+=$(LINUX_DIR)/drivers/char/sunxi_g2d/g2d_sunxi.ko
        AUTOLOAD:=$(call AutoLoad,20,g2d_sunxi,1)
      endef
      
      define KernelPackage/sunxi-g2d/description
        Kernel modules for sunxi-g2d support
      endef
      
      $(eval $(call KernelPackage,sunxi-g2d))
      
      1 条回复 最后回复 回复 引用 分享 0
      • 1 / 1
      • First post
        Last post

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

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