报错:
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))