Browse Source

- add vuduo4k

master
vanhofen 4 years ago
parent
commit
8ed4d35498
  1. 18
      Makefile
  2. 4138
      configs/kernel-vuduo4kse.config
  3. 4
      make/bootstrap.mk
  4. 4
      make/crosstool.mk
  5. 24
      make/environment-box.mk
  6. 4
      make/environment-build.mk
  7. 2
      make/environment-image.mk
  8. 16
      make/environment-linux.mk
  9. 2
      make/image-updates.mk
  10. 2
      make/images.mk
  11. 5
      make/linux-kernel.mk
  12. 2
      make/neutrino.mk
  13. 6
      make/ni.mk
  14. 20
      make/target-blobs.mk
  15. 2
      make/target-libs-static.mk
  16. 6
      make/target-libs.mk
  17. 4
      make/target-scripts.mk
  18. 6
      make/target-tools.mk
  19. 4
      skel-root/vuplus/lib/mdev/fs/mdev-mmcblk

18
Makefile

@ -41,10 +41,11 @@ config.local: $(eval BOXMODEL=hd51)
@echo " 31) Air Digital Zgemma H7S/C"
@echo " 41) VU+ Solo 4k"
@echo " 42) VU+ Duo 4k"
@echo " 43) VU+ Ultimo 4k"
@echo " 44) VU+ Zero 4k"
@echo " 45) VU+ Uno 4k"
@echo " 46) VU+ Uno 4k SE"
@echo " 43) VU+ Duo 4k SE"
@echo " 44) VU+ Ultimo 4k"
@echo " 45) VU+ Zero 4k"
@echo " 46) VU+ Uno 4k"
@echo " 47) VU+ Uno 4k SE"
@echo " 51) VU+ Duo"
@echo ""
@read -p "Select your boxmodel? [default: 11] " boxmodel; \
@ -60,10 +61,11 @@ config.local: $(eval BOXMODEL=hd51)
31) boxmodel=h7;; \
41) boxmodel=vusolo4k;; \
42) boxmodel=vuduo4k;; \
43) boxmodel=vuultimo4k;; \
44) boxmodel=vuzero4k;; \
45) boxmodel=vuuno4k;; \
46) boxmodel=vuuno4kse;; \
43) boxmodel=vuduo4kse;; \
44) boxmodel=vuultimo4k;; \
45) boxmodel=vuzero4k;; \
46) boxmodel=vuuno4k;; \
47) boxmodel=vuuno4kse;; \
51) boxmodel=vuduo;; \
*) boxmodel=hd51;; \
esac; \

4138
configs/kernel-vuduo4kse.config

File diff suppressed because it is too large

4
make/bootstrap.mk

@ -46,7 +46,7 @@ target-dir:
mkdir -p $(TARGET_BIN_DIR)
mkdir -p $(TARGET_INCLUDE_DIR)
mkdir -p $(TARGET_LIB_DIR)
ifeq ($(BOXSERIES), $(filter $(BOXSERIES), hd51 vusolo4k vuduo4k vuultimo4k vuzero4k vuuno4k vuuno4kse))
ifeq ($(BOXSERIES), $(filter $(BOXSERIES), hd51 vusolo4k vuduo4k vuduo4kse vuultimo4k vuzero4k vuuno4k vuuno4kse))
mkdir -p $(TARGET_DIR)/boot
endif
mkdir -p $(TARGET_DIR)/dev
@ -111,7 +111,7 @@ ifeq ($(BOXSERIES), hd2)
ln -sf libuClibc-$(UCLIBC_VER).so libpthread.so.0; \
ln -sf libuClibc-$(UCLIBC_VER).so librt.so.0
endif
ifeq ($(BOXSERIES), $(filter $(BOXSERIES), hd51 vusolo4k vuduo4k vuultimo4k vuzero4k vuuno4k vuuno4kse))
ifeq ($(BOXSERIES), $(filter $(BOXSERIES), hd51 vusolo4k vuduo4k vuduo4kse vuultimo4k vuzero4k vuuno4k vuuno4kse))
$(CD) $(TARGET_LIB_DIR); \
ln -sf ld-2.23.so ld-linux.so.3
endif

4
make/crosstool.mk

@ -6,7 +6,7 @@
crosstool: $(CROSS_DIR)
crosstools:
for boxseries in hd1 hd2 hd51 vusolo4k vuduo4k vuultimo4k vuzero4k vuuno4k vuuno4kse vuduo; do \
for boxseries in hd1 hd2 hd51 vusolo4k vuduo4k vuduo4kse vuultimo4k vuzero4k vuuno4k vuuno4kse vuduo; do \
echo "make crosstool-ng for $${boxseries}"; \
make BOXSERIES=$${boxseries} crosstool || exit; \
done;
@ -33,7 +33,7 @@ crosstool-restore: $(CROSSTOOL_BACKUP)
# -----------------------------------------------------------------------------
crosstools-renew:
for boxseries in hd1 hd2 hd51 vusolo4k vuduo4k vuultimo4k vuzero4k vuuno4k vuuno4kse vuduo; do \
for boxseries in hd1 hd2 hd51 vusolo4k vuduo4k vuduo4kse vuultimo4k vuzero4k vuuno4k vuuno4kse vuduo; do \
make BOXSERIES=$${boxseries} ccache-clean || exit; \
done;
make host-clean

24
make/environment-box.mk

@ -15,13 +15,13 @@
# - Armbox --------------------------------------------------------------------
# BOXTYPE armbox + ------ + ----- + -------- + ------ + ----- +
# | \ \ \ \ \ \
# BOXSERIES hd51 vusolo4k vuduo4k vuultimo4k vuzero4k vuuno4k vuuno4kse
# | | | | | | |
# BOXFAMILY bcm7251s bcm7376 bcm7278 bcm7444s bcm72604 bcm7252s
# / | \ | | | | | |
# BOXMODEL hd51 bre2ze4k h7 vusolo4k vuduo4k vuultimo4k vuzero4k vuuno4k vuuno4kse
# BOXTYPE armbox + ------ + ----- + ------- + -------- + ------ + ----- +
# | \ \ \ \ \ \ \
# BOXSERIES hd51 vusolo4k vuduo4k vuduo4kse vuultimo4k vuzero4k vuuno4k vuuno4kse
# | | | | | | | |
# BOXFAMILY bcm7251s bcm7376 bcm7278 bcm7444s bcm72604 bcm7252s
# / | \ | | | | | | |
# BOXMODEL hd51 bre2ze4k h7 vusolo4k vuduo4k vuduo4kse vuultimo4k vuzero4k vuuno4k vuuno4kse
# - Mipsbox --------------------------------------------------------------------
@ -57,6 +57,10 @@ ifneq ($(BOXSERIES),)
BOXTYPE = armbox
BOXFAMILY = bcm7278
BOXMODEL = vuduo4k
else ifeq ($(BOXSERIES), vuduo4kse)
BOXTYPE = armbox
BOXFAMILY = bcm7444s
BOXMODEL = vuduo4kse
else ifeq ($(BOXSERIES), vuultimo4k)
BOXTYPE = armbox
BOXFAMILY = bcm7444s
@ -153,6 +157,10 @@ else ifneq ($(BOXMODEL),)
BOXTYPE = armbox
BOXSERIES = vuduo4k
BOXFAMILY = bcm7278
else ifeq ($(BOXMODEL), $(filter $(BOXMODEL), vuduo4kse))
BOXTYPE = armbox
BOXSERIES = vuduo4kse
BOXFAMILY = bcm7444s
else ifeq ($(BOXMODEL), $(filter $(BOXMODEL), vuultimo4k))
BOXTYPE = armbox
BOXSERIES = vuultimo4k
@ -214,6 +222,8 @@ else ifeq ($(BOXMODEL), vusolo4k)
BOXNAME="VU+ Solo 4K"
else ifeq ($(BOXMODEL), vuduo4k)
BOXNAME="VU+ Duo 4K"
else ifeq ($(BOXMODEL), vuduo4kse)
BOXNAME="VU+ Duo 4K SE"
else ifeq ($(BOXMODEL), vuultimo4k)
BOXNAME="VU+ Ultimo 4K"
else ifeq ($(BOXMODEL), vuzero4k)

4
make/environment-build.mk

@ -52,7 +52,7 @@ STATIC_DIR = $(STATIC_BASE)/$(BOXARCH)-linux-$(KERNEL_VER)
CONFIGS = $(BASE_DIR)/configs
PATCHES = $(BASE_DIR)/patches
SKEL-ROOT = $(BASE_DIR)/skel-root/$(BOXSERIES)
ifeq ($(BOXMODEL), $(filter $(BOXMODEL), vusolo4k vuduo4k vuultimo4k vuzero4k vuuno4k vuuno4kse))
ifeq ($(BOXMODEL), $(filter $(BOXMODEL), vusolo4k vuduo4k vuduo4kse vuultimo4k vuzero4k vuuno4k vuuno4kse))
SKEL-ROOT = $(BASE_DIR)/skel-root/vuplus
endif
TARGET_FILES = $(BASE_DIR)/skel-root/general
@ -113,7 +113,7 @@ else ifeq ($(BOXSERIES), hd2)
endif
CXX11_ABI = -D_GLIBCXX_USE_CXX11_ABI=0
else ifeq ($(BOXSERIES), $(filter $(BOXSERIES), hd51 vusolo4k vuduo4k vuultimo4k vuzero4k vuuno4k vuuno4kse))
else ifeq ($(BOXSERIES), $(filter $(BOXSERIES), hd51 vusolo4k vuduo4k vuduo4kse vuultimo4k vuzero4k vuuno4k vuuno4kse))
DRIVERS-BIN_DIR = $(BOXTYPE)/$(BOXMODEL)
CORTEX-STRINGS_LDFLAG = -lcortex-strings
TARGET = arm-cortex-linux-gnueabihf

2
make/environment-image.mk

@ -65,7 +65,7 @@ IMAGE_MD5FILE = $(IMAGE_TYPE_STRING)-$(IMAGE_SUFFIX).txt
IMAGE_BUILD_TMP = $(BUILD_TMP)/image-build
ifeq ($(BOXMODEL), $(filter $(BOXMODEL), vusolo4k vuduo4k vuultimo4k vuzero4k vuuno4k vuuno4kse vuduo))
ifeq ($(BOXMODEL), $(filter $(BOXMODEL), vusolo4k vuduo4k vuduo4kse vuultimo4k vuzero4k vuuno4k vuuno4kse vuduo))
IMAGE_SUBDIR = $(subst vu,vuplus/,$(BOXMODEL))
else ifeq ($(BOXMODEL), $(filter $(BOXMODEL), h7))
IMAGE_SUBDIR = zgemma/$(BOXMODEL)

16
make/environment-linux.mk

@ -69,6 +69,22 @@ else ifeq ($(BOXMODEL), vuduo4k)
BOOT_PARTITION = 6
else ifeq ($(BOXMODEL), vuduo4kse)
KERNEL_VER = 4.1.45-1.17
KERNEL_TMP = linux
KERNEL_SOURCE = stblinux-4.1-1.17.tar.bz2
KERNEL_SITE = http://archive.vuplus.com/download/kernel
KERNEL_BRANCH = $(EMPTY)
KERNEL_DTB = $(EMPTY)
VMLINUZ-INITRD_VER = 20201010
VMLINUZ-INITRD_SOURCE = vmlinuz-initrd_$(BOXMODEL)_$(VMLINUZ-INITRD_VER).tar.bz2
VMLINUZ-INITRD_SITE = https://bitbucket.org/max_10/vmlinuz-initrd-$(BOXMODEL)/downloads
VMLINUZ-INITRD = vmlinuz-initrd-7445d0
BOOT_PARTITION = 6
else ifeq ($(BOXMODEL), vuultimo4k)
KERNEL_VER = 3.14.28-1.12
KERNEL_TMP = linux

2
make/image-updates.mk

@ -3,7 +3,7 @@
#
# -----------------------------------------------------------------------------
BOXSERIES_UPDATE = hd2 hd51 vusolo4k vuduo4k vuultimo4k vuzero4k vuuno4k vuuno4kse vuduo
BOXSERIES_UPDATE = hd2 hd51 vusolo4k vuduo4k vuduo4kse vuultimo4k vuzero4k vuuno4k vuuno4kse vuduo
ifneq ($(DEBUG), yes)
BOXSERIES_UPDATE += hd1
endif

2
make/images.mk

@ -61,7 +61,7 @@ ifeq ($(BOXMODEL), $(filter $(BOXMODEL), hd51 bre2ze4k h7))
make flash-image-hd51
make flash-image-hd51-multi
endif
ifeq ($(BOXMODEL), $(filter $(BOXMODEL), vusolo4k vuduo4k vuultimo4k vuzero4k vuuno4k vuuno4kse))
ifeq ($(BOXMODEL), $(filter $(BOXMODEL), vusolo4k vuduo4k vuduo4kse vuultimo4k vuzero4k vuuno4k vuuno4kse))
make flash-image-vuplus
make flash-image-vuplus-multi
endif

5
make/linux-kernel.mk

@ -91,7 +91,7 @@ VUPLUS_3_14_PATCH = \
vuplus/3_14_0006-makefile-disable-warnings.patch \
vuplus/3_14_linux_dvb_adapter.patch
# arm vuduo4k/vuzero4k/vuuno4kse
# arm vuduo4k/vuduo4kse/vuzero4k/vuuno4kse
VUPLUS_4_1_PATCH = \
vuplus/4_1_linux_dvb_adapter.patch \
vuplus/4_1_linux_dvb-core.patch \
@ -149,6 +149,9 @@ VUSOLO4K_PATCH = \
VUDUO4K_PATCH = \
$(VUPLUS_4_1_PATCH)
VUDUO4KSE_PATCH = \
$(VUPLUS_4_1_PATCH)
VUULTIMO4K_PATCH = \
$(VUPLUS_3_14_PATCH) \
vuplus/3_14_bcmsysport_3.14.28-1.12.patch \

2
make/neutrino.mk

@ -24,7 +24,7 @@ N_DEPS += openthreads
N_DEPS += pugixml
N_DEPS += zlib
ifeq ($(BOXMODEL), $(filter $(BOXMODEL), vusolo4k vuduo4k vuultimo4k vuuno4kse))
ifeq ($(BOXMODEL), $(filter $(BOXMODEL), vusolo4k vuduo4k vuduo4kse vuultimo4k vuuno4kse))
N_DEPS += graphlcd-base
endif

6
make/ni.mk

@ -9,7 +9,7 @@ ifneq ($(DEBUG), yes)
endif
BOXMODEL_IMAGE += apollo kronos kronos_v2
BOXMODEL_IMAGE += hd51 bre2ze4k h7
BOXMODEL_IMAGE += vusolo4k vuduo4k vuultimo4k vuzero4k vuuno4k vuuno4kse
BOXMODEL_IMAGE += vusolo4k vuduo4k vuduo4kse vuultimo4k vuzero4k vuuno4k vuuno4kse
#BOXMODEL_IMAGE += vuduo
images \
@ -58,7 +58,7 @@ ni-image:
$(MAKE) mtd-utils
$(MAKE) wget
$(MAKE) streamripper
ifeq ($(BOXSERIES), $(filter $(BOXSERIES), hd2 hd51 vusolo4k vuduo4k vuultimo4k vuzero4k vuuno4k vuuno4kse vuduo))
ifeq ($(BOXSERIES), $(filter $(BOXSERIES), hd2 hd51 vusolo4k vuduo4k vuduo4kse vuultimo4k vuzero4k vuuno4k vuuno4kse vuduo))
$(MAKE) less
$(MAKE) parted
$(MAKE) openvpn
@ -70,7 +70,7 @@ ifeq ($(BOXSERIES), $(filter $(BOXSERIES), hd2 hd51 vusolo4k vuduo4k vuultimo4k
$(MAKE) minicom
$(MAKE) mc
endif
ifeq ($(BOXSERIES), $(filter $(BOXSERIES), hd51 vusolo4k vuduo4k vuultimo4k vuzero4k vuuno4k vuuno4kse vuduo))
ifeq ($(BOXSERIES), $(filter $(BOXSERIES), hd51 vusolo4k vuduo4k vuduo4kse vuultimo4k vuzero4k vuuno4k vuuno4kse vuduo))
$(MAKE) gptfdisk
$(MAKE) rsync
$(MAKE) ofgwrite

20
make/target-blobs.mk

@ -8,10 +8,10 @@
blobs: $(BLOBS_DEPS)
$(MAKE) firmware
$(MAKE) $(BOXMODEL)-drivers
ifeq ($(BOXMODEL), $(filter $(BOXMODEL), hd51 bre2ze4k h7 vusolo4k vuduo4k vuultimo4k vuzero4k vuuno4k vuuno4kse))
ifeq ($(BOXMODEL), $(filter $(BOXMODEL), hd51 bre2ze4k h7 vusolo4k vuduo4k vuduo4kse vuultimo4k vuzero4k vuuno4k vuuno4kse))
$(MAKE) $(BOXMODEL)-libgles
endif
ifeq ($(BOXMODEL), $(filter $(BOXMODEL), vusolo4k vuduo4k vuultimo4k vuzero4k vuuno4k vuuno4kse))
ifeq ($(BOXMODEL), $(filter $(BOXMODEL), vusolo4k vuduo4k vuduo4kse vuultimo4k vuzero4k vuuno4k vuuno4kse))
$(MAKE) vuplus-platform-util
endif
@ -64,6 +64,10 @@ endif
VUDUO4K-DRIVERS_SOURCE = vuplus-dvb-proxy-vuduo4k-4.1.45-$(VUDUO4K-DRIVERS_VER).r0.tar.gz
VUDUO4K-DRIVERS_SITE = http://archive.vuplus.com/download/build_support/vuplus
VUDUO4KSE-DRIVERS_VER = 20200903
VUDUO4KSE-DRIVERS_SOURCE = vuplus-dvb-proxy-vuduo4kse-4.1.45-$(VUDUO4KSE-DRIVERS_VER).r0.tar.gz
VUDUO4KSE-DRIVERS_SITE = http://archive.vuplus.com/download/build_support/vuplus
ifeq ($(VUPLUS-DRIVERS_LATEST), yes)
VUULTIMO4K-DRIVERS_VER = 20190424
else
@ -137,6 +141,7 @@ h7-drivers: $(ARCHIVE)/$(BOXMODEL-DRIVERS_SOURCE) | $(TARGET_DIR)
vusolo4k-drivers \
vuduo4k-drivers \
vuduo4kse-drivers \
vuultimo4k-drivers \
vuzero4k-drivers \
vuuno4k-drivers \
@ -175,6 +180,11 @@ VUDUO4K-LIBGLES_TMP = libgles-vuduo4k
VUDUO4K-LIBGLES_SOURCE = libgles-vuduo4k-18.1-$(VUDUO4K-LIBGLES_VER).r0.tar.gz
VUDUO4K-LIBGLES_SITE = http://archive.vuplus.com/download/build_support/vuplus
VUDUO4KSE-LIBGLES_VER = $(VUDUO4KSE-DRIVERS_VER)
VUDUO4KSE-LIBGLES_TMP = libgles-vuduo4kse
VUDUO4KSE-LIBGLES_SOURCE = libgles-vuduo4kse-17.1-$(VUDUO4KSE-LIBGLES_VER).r0.tar.gz
VUDUO4KSE-LIBGLES_SITE = http://archive.vuplus.com/download/build_support/vuplus
VUULTIMO4K-LIBGLES_VER = $(VUULTIMO4K-DRIVERS_VER)
VUULTIMO4K-LIBGLES_TMP = libgles-vuultimo4k
VUULTIMO4K-LIBGLES_SOURCE = libgles-vuultimo4k-17.1-$(VUULTIMO4K-LIBGLES_VER).r0.tar.gz
@ -217,6 +227,7 @@ h7-libgles: $(ARCHIVE)/$(BOXMODEL-LIBGLES_SOURCE) | $(TARGET_DIR)
vusolo4k-libgles \
vuduo4k-libgles \
vuduo4kse-libgles \
vuultimo4k-libgles \
vuzero4k-libgles \
vuuno4k-libgles \
@ -243,6 +254,11 @@ VUDUO4K-PLATFORM-UTIL_TMP = platform-util-vuduo4k
VUDUO4K-PLATFORM-UTIL_SOURCE = platform-util-vuduo4k-18.1-$(VUDUO4K-PLATFORM-UTIL_VER).r0.tar.gz
VUDUO4K-PLATFORM-UTIL_SITE = http://archive.vuplus.com/download/build_support/vuplus
VUDUO4KSE-PLATFORM-UTIL_VER = $(VUDUO4KSE-DRIVERS_VER)
VUDUO4KSE-PLATFORM-UTIL_TMP = platform-util-vuduo4kse
VUDUO4KSE-PLATFORM-UTIL_SOURCE = platform-util-vuduo4kse-17.1-$(VUDUO4KSE-PLATFORM-UTIL_VER).r0.tar.gz
VUDUO4KSE-PLATFORM-UTIL_SITE = http://archive.vuplus.com/download/build_support/vuplus
VUULTIMO4K-PLATFORM-UTIL_VER = $(VUULTIMO4K-DRIVERS_VER)
VUULTIMO4K-PLATFORM-UTIL_TMP = platform-util-vuultimo4k
VUULTIMO4K-PLATFORM-UTIL_SOURCE = platform-util-vuultimo4k-17.1-$(VUULTIMO4K-PLATFORM-UTIL_VER).r0.tar.gz

2
make/target-libs-static.mk

@ -4,7 +4,7 @@
# -----------------------------------------------------------------------------
LIBS-STATIC =
ifeq ($(BOXSERIES), $(filter $(BOXSERIES), hd2 hd51 vusolo4k vuduo4k vuultimo4k vuzero4k vuuno4k vuuno4kse))
ifeq ($(BOXSERIES), $(filter $(BOXSERIES), hd2 hd51 vusolo4k vuduo4k vuduo4kse vuultimo4k vuzero4k vuuno4k vuuno4kse))
LIBS-STATIC += cortex-strings
endif

6
make/target-libs.mk

@ -208,7 +208,7 @@ LIBPNG_PATCH = libpng-Disable-pngfix-and-png-fix-itxt.patch
LIBPNG_DEPS = zlib
LIBPNG_CONF = $(if $(filter $(BOXSERIES), hd51 vusolo4k vuduo4k vuultimo4k vuzero4k vuuno4k vuuno4kse),--enable-arm-neon,--disable-arm-neon)
LIBPNG_CONF = $(if $(filter $(BOXSERIES), hd51 vusolo4k vuduo4k vuduo4kse vuultimo4k vuzero4k vuuno4k vuuno4kse),--enable-arm-neon,--disable-arm-neon)
libpng: $(LIBPNG_DEPS) $(ARCHIVE)/$(LIBPNG_SOURCE) | $(TARGET_DIR)
$(REMOVE)/$(LIBPNG_TMP)
@ -1231,7 +1231,7 @@ endif
GLIB2_CONF = $(if $(filter $(BOXSERIES), hd1),--enable-static --disable-shared)
ifeq ($(BOXSERIES), $(filter $(BOXSERIES), vusolo4k vuduo4k vuultimo4k vuuno4kse))
ifeq ($(BOXSERIES), $(filter $(BOXSERIES), vusolo4k vuduo4k vuduo4kse vuultimo4k vuuno4kse))
GLIB2_DEPS += libiconv
GLIB2_CONF += --with-libiconv=gnu
endif
@ -1376,7 +1376,7 @@ GRAPHLCD_BASE_SITE = git://projects.vdr-developer.org
GRAPHLCD_BASE_PATCH = graphlcd.patch
GRAPHLCD_BASE_PATCH += 0003-strip-graphlcd-conf.patch
GRAPHLCD_BASE_PATCH += 0004-material-colors.patch
ifeq ($(BOXMODEL), $(filter $(BOXMODEL), vuduo4k vusolo4k vuultimo4k vuuno4kse))
ifeq ($(BOXMODEL), $(filter $(BOXMODEL), vuduo4k vuduo4kse vusolo4k vuultimo4k vuuno4kse))
GRAPHLCD_BASE_PATCH += 0005-add-vuplus-driver.patch
endif

4
make/target-scripts.mk

@ -84,7 +84,7 @@ ifeq ($(BOXMODEL), $(filter $(BOXMODEL), hd51 bre2ze4k h7))
endif
$(TARGET_DIR)/etc/init.d/proc:
ifeq ($(BOXMODEL), $(filter $(BOXMODEL), hd51 bre2ze4k h7 vusolo4k vuduo4k vuultimo4k vuzero4k vuuno4k vuuno4kse vuduo))
ifeq ($(BOXMODEL), $(filter $(BOXMODEL), hd51 bre2ze4k h7 vusolo4k vuduo4k vuduo4kse vuultimo4k vuzero4k vuuno4k vuuno4kse vuduo))
$(INSTALL_EXEC) -D $(TARGET_FILES)/scripts/proc.init $(@)
$(UPDATE-RC.D) $(@F) start 90 S .
endif
@ -95,7 +95,7 @@ ifeq ($(BOXMODEL), $(filter $(BOXMODEL), hd51 bre2ze4k h7))
endif
$(TARGET_DIR)/etc/init.d/swap:
ifeq ($(BOXMODEL), $(filter $(BOXMODEL), hd51 bre2ze4k h7 vusolo4k vuduo4k vuultimo4k vuzero4k vuuno4k vuuno4kse vuduo))
ifeq ($(BOXMODEL), $(filter $(BOXMODEL), hd51 bre2ze4k h7 vusolo4k vuduo4k vuduo4kse vuultimo4k vuzero4k vuuno4k vuuno4kse vuduo))
$(INSTALL_EXEC) -D $(TARGET_FILES)/scripts/swap.init $(@)
$(UPDATE-RC.D) $(@F) stop 98 0 6 .
endif

6
make/target-tools.mk

@ -45,7 +45,7 @@ define BUSYBOX_INSTALL_CONFIG
$(call KCONFIG_SET_OPT,CONFIG_PREFIX,"$(TARGET_DIR)",$(BUSYBOX_BUILD_CONFIG))
endef
ifeq ($(BOXSERIES), $(filter $(BOXSERIES), hd2 hd51 vusolo4k vuduo4k vuultimo4k vuzero4k vuuno4k vuuno4kse vuduo))
ifeq ($(BOXSERIES), $(filter $(BOXSERIES), hd2 hd51 vusolo4k vuduo4k vuduo4kse vuultimo4k vuzero4k vuuno4k vuuno4kse vuduo))
define BUSYBOX_SET_BLKDISCARD
$(call KCONFIG_ENABLE_OPT,CONFIG_BLKDISCARD,$(BUSYBOX_BUILD_CONFIG))
@ -56,7 +56,7 @@ ifeq ($(BOXSERIES), $(filter $(BOXSERIES), hd2 hd51 vusolo4k vuduo4k vuultimo4k
$(call KCONFIG_ENABLE_OPT,CONFIG_FEATURE_IFUPDOWN_IPV6,$(BUSYBOX_BUILD_CONFIG))
endef
ifeq ($(BOXSERIES), $(filter $(BOXSERIES), hd51 vusolo4k vuduo4k vuultimo4k vuzero4k vuuno4k vuuno4kse vuduo))
ifeq ($(BOXSERIES), $(filter $(BOXSERIES), hd51 vusolo4k vuduo4k vuduo4kse vuultimo4k vuzero4k vuuno4k vuuno4kse vuduo))
define BUSYBOX_SET_SWAP
$(call KCONFIG_ENABLE_OPT,CONFIG_SWAPON,$(BUSYBOX_BUILD_CONFIG))
@ -71,7 +71,7 @@ ifeq ($(BOXSERIES), $(filter $(BOXSERIES), hd2 hd51 vusolo4k vuduo4k vuultimo4k
$(call KCONFIG_ENABLE_OPT,CONFIG_PKILL,$(BUSYBOX_BUILD_CONFIG))
endef
ifeq ($(BOXSERIES), $(filter $(BOXSERIES), vusolo4k vuduo4k vuultimo4k vuzero4k vuuno4k vuuno4kse vuduo))
ifeq ($(BOXSERIES), $(filter $(BOXSERIES), vusolo4k vuduo4k vuduo4kse vuultimo4k vuzero4k vuuno4k vuuno4kse vuduo))
define BUSYBOX_SET_START_STOP_DAEMON
$(call KCONFIG_ENABLE_OPT,CONFIG_START_STOP_DAEMON,$(BUSYBOX_BUILD_CONFIG))

4
skel-root/vuplus/lib/mdev/fs/mdev-mmcblk

@ -56,7 +56,7 @@ if [ -e /proc/stb/info/vumodel ]; then
KERNELDEVS="4 6 8 10"
ROOTFSDEVS="5 7 9 11"
;;
duo4k)
duo4k|duo4kse)
KERNELDEVS="9 11 13 15"
ROOTFSDEVS="10 12 14 16"
;;
@ -84,7 +84,7 @@ if [ -e /proc/stb/info/vumodel ]; then
11) R_PARTNAME="rootfs4" ;;
esac
;;
duo4k)
duo4k|duo4kse)
case $r in
10) R_PARTNAME="rootfs1" ;;
12) R_PARTNAME="rootfs2" ;;

Loading…
Cancel
Save