From 1430dc4302bcde5288b69c1fa0540410a257e197 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sat, 27 Feb 2021 23:50:35 +0100 Subject: [PATCH] - busybox: activate fbset --- make/target-tools.mk | 15 +++++++++++++++ package/busybox/files/fb.modes | 14 ++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 package/busybox/files/fb.modes diff --git a/make/target-tools.mk b/make/target-tools.mk index fd9ce8b8..1204e04d 100644 --- a/make/target-tools.mk +++ b/make/target-tools.mk @@ -71,6 +71,15 @@ ifeq ($(BOXSERIES),$(filter $(BOXSERIES),hd2 hd5x hd6x vusolo4k vuduo4k vuduo4ks $(call KCONFIG_ENABLE_OPT,CONFIG_PKILL,$(BUSYBOX_BUILD_CONFIG)) endef + define BUSYBOX_SET_FBSET + $(call KCONFIG_ENABLE_OPT,CONFIG_FBSET,$(BUSYBOX_BUILD_CONFIG)) + $(call KCONFIG_ENABLE_OPT,CONFIG_FEATURE_FBSET_FANCY,$(BUSYBOX_BUILD_CONFIG)) + $(call KCONFIG_ENABLE_OPT,CONFIG_FEATURE_FBSET_READMODE,$(BUSYBOX_BUILD_CONFIG)) + endef + define BUSYBOX_INSTALL_FBSET + $(INSTALL_DATA) -D $(PKG_FILES_DIR)/fb.modes $(TARGET_sysconfdir)/fb.modes + endef + ifeq ($(BOXSERIES),$(filter $(BOXSERIES),vusolo4k vuduo4k vuduo4kse vuultimo4k vuzero4k vuuno4k vuuno4kse vuduo)) define BUSYBOX_SET_START_STOP_DAEMON @@ -91,6 +100,7 @@ define BUSYBOX_MODIFY_CONFIG $(BUSYBOX_SET_SWAP) $(BUSYBOX_SET_HEXDUMP) $(BUSYBOX_SET_PKILL) + $(BUSYBOX_SET_FBSET) $(BUSYBOX_SET_START_STOP_DAEMON) endef @@ -109,6 +119,10 @@ define BUSYBOX_ADD_TO_SHELLS fi endef +define BUSYBOX_INSTALL_FILES + $(BUSYBOX_INSTALL_FBSET) +endef + busybox: $(BUSYBOX_DEPS) $(DL_DIR)/$(BUSYBOX_SOURCE) | $(TARGET_DIR) $(REMOVE)/$(PKG_DIR) $(UNTAR)/$(PKG_SOURCE) @@ -120,6 +134,7 @@ busybox: $(BUSYBOX_DEPS) $(DL_DIR)/$(BUSYBOX_SOURCE) | $(TARGET_DIR) $($(PKG)_MAKE_ENV) $(MAKE) $($(PKG)_MAKE_OPTS) busybox; \ $($(PKG)_MAKE_ENV) $(MAKE) $($(PKG)_MAKE_OPTS) install-noclobber $(BUSYBOX_ADD_TO_SHELLS) + $(BUSYBOX_INSTALL_FILES) $(REMOVE)/$(PKG_DIR) $(TOUCH) diff --git a/package/busybox/files/fb.modes b/package/busybox/files/fb.modes new file mode 100644 index 00000000..45a526bc --- /dev/null +++ b/package/busybox/files/fb.modes @@ -0,0 +1,14 @@ +# +# fb.modes file describing various video modes +# for frame buffer driver +# +# +mode "1280x720p-50" + geometry 1280 720 1280 1440 32 + timings 13468 400 0 5 0 300 25 +endmode + +mode "1920x1080p-50" + geometry 1920 1080 1920 2160 32 + timings 13468 242 0 45 0 118 20 +endmode