From e2e64e8f4254f668ebeac04db92739f47859a7da Mon Sep 17 00:00:00 2001 From: Greg Date: Mon, 25 Nov 2024 12:04:26 -0800 Subject: [PATCH] adding devices/ssc333_lite_tp-link-tapo-c110-v26 (#34) * adding devices/ssc333_lite_tp-link-tapo-c110-v26 * Update ssc333_lite_tp-link-tapo-c110-v26_defconfig --------- Co-authored-by: Greg Simpson Co-authored-by: Signor Pellegrino <68112357+flyrouter@users.noreply.github.com> --- ...sc333_lite_tp-link-tapo-c110-v26_defconfig | 73 +++++++++++++++++++ .../overlay/usr/share/openipc/customizer.sh | 27 +++++++ .../general/scripts/excludes/ssc333_lite.list | 31 ++++++++ 3 files changed, 131 insertions(+) create mode 100644 devices/ssc333_lite_tp-link-tapo-c110-v26/br-ext-chip-sigmastar/configs/ssc333_lite_tp-link-tapo-c110-v26_defconfig create mode 100644 devices/ssc333_lite_tp-link-tapo-c110-v26/general/overlay/usr/share/openipc/customizer.sh create mode 100644 devices/ssc333_lite_tp-link-tapo-c110-v26/general/scripts/excludes/ssc333_lite.list diff --git a/devices/ssc333_lite_tp-link-tapo-c110-v26/br-ext-chip-sigmastar/configs/ssc333_lite_tp-link-tapo-c110-v26_defconfig b/devices/ssc333_lite_tp-link-tapo-c110-v26/br-ext-chip-sigmastar/configs/ssc333_lite_tp-link-tapo-c110-v26_defconfig new file mode 100644 index 00000000..aa510eb1 --- /dev/null +++ b/devices/ssc333_lite_tp-link-tapo-c110-v26/br-ext-chip-sigmastar/configs/ssc333_lite_tp-link-tapo-c110-v26_defconfig @@ -0,0 +1,73 @@ +# Architecture +BR2_arm=y +BR2_cortex_a7=y +BR2_ARM_FPU_NEON_VFPV4=y +BR2_ARM_INSTRUCTIONS_THUMB2=y + +# Toolchain +BR2_TOOLCHAIN_EXTERNAL=y +BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y +BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y +BR2_TOOLCHAIN_EXTERNAL_URL="https://github.com/openipc/firmware/releases/download/$(OPENIPC_TOOLCHAIN).tgz" +BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX="arm-openipc-linux-musleabihf" +BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_9=y +BR2_TOOLCHAIN_EXTERNAL_CUSTOM_MUSL=y +BR2_TOOLCHAIN_EXTERNAL_CXX=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/openipc/linux/archive/$(OPENIPC_KERNEL).tar.gz" +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(EXTERNAL_VENDOR)/board/$(OPENIPC_SOC_FAMILY)/infinity6b0-ssc009a.config" +BR2_LINUX_KERNEL_UIMAGE=y +BR2_LINUX_KERNEL_XZ=y + +# Filesystem +BR2_PACKAGE_BUSYBOX_CONFIG="$(BR2_EXTERNAL)/package/busybox/busybox.config" +BR2_PACKAGE_EXFATPROGS=y +BR2_PACKAGE_UBOOT_TOOLS=y +BR2_PACKAGE_ZLIB=y +# BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set +BR2_PACKAGE_WIRELESS_TOOLS=y +BR2_PACKAGE_WPA_SUPPLICANT=y +BR2_PACKAGE_WPA_SUPPLICANT_CLI=y +BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE=y +BR2_TARGET_ROOTFS_CPIO=y +BR2_TARGET_ROOTFS_SQUASHFS=y +BR2_TARGET_ROOTFS_SQUASHFS4_XZ=y + +# OpenIPC +BR2_OPENIPC_SOC_VENDOR="sigmastar" +BR2_OPENIPC_SOC_MODEL="ssc333" +BR2_OPENIPC_SOC_FAMILY="infinity6b0" +BR2_OPENIPC_VARIANT="lite" +BR2_OPENIPC_FLASH_SIZE="8" + +# Packages +BR2_PACKAGE_ATBM_WIFI=y +BR2_PACKAGE_ATBM_WIFI_MODEL_6012B=y +BR2_PACKAGE_ATBM_WIFI_INTERFACE_USB=y + +BR2_PACKAGE_DROPBEAR_OPENIPC=y +BR2_PACKAGE_EXFAT_OPENIPC=y +BR2_PACKAGE_IPCTOOL=y +BR2_PACKAGE_JSONFILTER=y +BR2_PACKAGE_LIBCURL_OPENIPC=y +BR2_PACKAGE_LIBCURL_OPENIPC_CURL=y +# BR2_PACKAGE_LIBCURL_OPENIPC_PROXY_SUPPORT is not set +# BR2_PACKAGE_LIBCURL_OPENIPC_COOKIES_SUPPORT is not set +# BR2_PACKAGE_LIBCURL_OPENIPC_EXTRA_PROTOCOLS_FEATURES is not set +BR2_PACKAGE_LIBEVENT_OPENIPC=y +BR2_PACKAGE_LIBOGG_OPENIPC=y +BR2_PACKAGE_MAJESTIC_FONTS=y +BR2_PACKAGE_MAJESTIC_WEBUI=y +BR2_PACKAGE_MAJESTIC=y +BR2_PACKAGE_MBEDTLS_OPENIPC=y +BR2_PACKAGE_OPUS_OPENIPC=y +BR2_PACKAGE_OPUS_OPENIPC_FIXED_POINT=y +BR2_PACKAGE_QUIRC_OPENIPC=y +BR2_PACKAGE_SIGMASTAR_OSDRV_INFINITY6B0=y +BR2_PACKAGE_SSW101B=n +BR2_PACKAGE_VTUND_OPENIPC=y +BR2_PACKAGE_YAML_CLI=y diff --git a/devices/ssc333_lite_tp-link-tapo-c110-v26/general/overlay/usr/share/openipc/customizer.sh b/devices/ssc333_lite_tp-link-tapo-c110-v26/general/overlay/usr/share/openipc/customizer.sh new file mode 100644 index 00000000..5fa97005 --- /dev/null +++ b/devices/ssc333_lite_tp-link-tapo-c110-v26/general/overlay/usr/share/openipc/customizer.sh @@ -0,0 +1,27 @@ +#!/bin/sh +# +# Perform basic settings on a known IP camera +# +# +# Set custom upgrade url +# +fw_setenv upgrade 'https://github.com/OpenIPC/builder/releases/download/latest/ssc333_lite_tp-link-tapo-c110-v26-nor.tgz' +# +# +# Set custom majestic settings +# +cli -s .system.staticDir /var/www/majestic +cli -s .nightMode.irCutPin1 78 +cli -s .nightMode.backlightPin 14 +cli -s .nightMode.colorToGray true +cli -s .audio.speakerPin 61 +cli -s .video0.codec h264 +# +# +# Set wlan device and credentials if need +# +fw_setenv wlandev atbm6012b-ssc333-tapo-c110 +#fw_setenv wlanssid Router +#fw_setenv wlanpass 12345678 + +exit 0 diff --git a/devices/ssc333_lite_tp-link-tapo-c110-v26/general/scripts/excludes/ssc333_lite.list b/devices/ssc333_lite_tp-link-tapo-c110-v26/general/scripts/excludes/ssc333_lite.list new file mode 100644 index 00000000..7ea46db8 --- /dev/null +++ b/devices/ssc333_lite_tp-link-tapo-c110-v26/general/scripts/excludes/ssc333_lite.list @@ -0,0 +1,31 @@ +/etc/sensors/gc2053.bin +/etc/sensors/gc4023.bin +/etc/sensors/gc4653.bin +/etc/sensors/imx307.bin +/etc/sensors/imx335.bin +/etc/sensors/jxf37.bin +/etc/sensors/sc200ai.bin +/etc/sensors/sc223a.bin +/etc/sensors/sc2335.bin +/etc/sensors/sc2336.bin +# +/lib/modules/4.9.84/sigmastar/sensor/sensor_gc2053_mipi.ko +/lib/modules/4.9.84/sigmastar/sensor/sensor_gc2083_mipi.ko +/lib/modules/4.9.84/sigmastar/sensor/sensor_gc4023_mipi.ko +/lib/modules/4.9.84/sigmastar/sensor/sensor_gc4653_mipi.ko +/lib/modules/4.9.84/sigmastar/sensor/sensor_imx307_mipi.ko +/lib/modules/4.9.84/sigmastar/sensor/sensor_imx335_mipi.ko +/lib/modules/4.9.84/sigmastar/sensor/sensor_jxf37_mipi.ko +/lib/modules/4.9.84/sigmastar/sensor/sensor_os02g10_mipi.ko +/lib/modules/4.9.84/sigmastar/sensor/sensor_sc200ai_mipi.ko +/lib/modules/4.9.84/sigmastar/sensor/sensor_sc2239_mipi.ko +/lib/modules/4.9.84/sigmastar/sensor/sensor_sc223a_mipi.ko +/lib/modules/4.9.84/sigmastar/sensor/sensor_sc2335_mipi.ko +/lib/modules/4.9.84/sigmastar/sensor/sensor_sc2336_mipi.ko +/lib/modules/4.9.84/sigmastar/sensor/sensor_sc3335_mipi.ko +# +/lib/modules/4.9.84/kernel/fs/lockd/lockd.ko +/lib/modules/4.9.84/kernel/fs/nfs/nfs.ko +/lib/modules/4.9.84/kernel/fs/nfs/nfsv3.ko +/lib/modules/4.9.84/kernel/fs/nfs_common/grace.ko +/lib/modules/4.9.84/kernel/net/sunrpc/sunrpc.ko