From a972548391ae8831c29a6d957b3249681200462d Mon Sep 17 00:00:00 2001 From: "Signor Pellegrino (from Citadel PC)" Date: Mon, 18 Dec 2023 01:36:53 +0300 Subject: [PATCH] Add chinatelecom-y4h-50 and aoni-ep01j05 devices and some little changes --- .github/workflows/master.yml | 2 + README.md | 8 +- .../scripts/excludes/ssc30kd_lite.list | 14 ++ .../scripts/excludes/ssc335de_lite.list | 5 - .../configs/t31_lite_aoni-ep01j05_defconfig | 136 ++++++++++++++++++ .../general/overlay/etc/builder.msg | 3 + .../overlay/usr/share/openipc/customizer.sh | 34 +++++ .../general/scripts/excludes/t31_lite.list | 65 +++++++++ .../t31_lite_chinatelecom-y4h-50_defconfig | 136 ++++++++++++++++++ .../general/overlay/etc/builder.msg | 3 + .../overlay/usr/share/openipc/customizer.sh | 34 +++++ .../general/scripts/excludes/t31_lite.list | 65 +++++++++ 12 files changed, 497 insertions(+), 8 deletions(-) create mode 100644 devices/ssc30kd_lite_chinatelecom-ds-ytj5301/general/scripts/excludes/ssc30kd_lite.list delete mode 100644 devices/ssc30kd_lite_chinatelecom-ds-ytj5301/general/scripts/excludes/ssc335de_lite.list create mode 100644 devices/t31_lite_aoni-ep01j05/br-ext-chip-ingenic/configs/t31_lite_aoni-ep01j05_defconfig create mode 100644 devices/t31_lite_aoni-ep01j05/general/overlay/etc/builder.msg create mode 100644 devices/t31_lite_aoni-ep01j05/general/overlay/usr/share/openipc/customizer.sh create mode 100644 devices/t31_lite_aoni-ep01j05/general/scripts/excludes/t31_lite.list create mode 100644 devices/t31_lite_chinatelecom-y4h-50/br-ext-chip-ingenic/configs/t31_lite_chinatelecom-y4h-50_defconfig create mode 100644 devices/t31_lite_chinatelecom-y4h-50/general/overlay/etc/builder.msg create mode 100644 devices/t31_lite_chinatelecom-y4h-50/general/overlay/usr/share/openipc/customizer.sh create mode 100644 devices/t31_lite_chinatelecom-y4h-50/general/scripts/excludes/t31_lite.list diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index ed11ad9..23a1d24 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -26,6 +26,8 @@ jobs: - ssc335_lite_trassir-tr-w2c1-v2 - ssc335de_lite_uniview-c1l-2wn-g - t21_lite_wansview-q5-1080p + - t31_lite_aoni-ep01j05 + - t31_lite_chinatelecom-y4h-50 - t31_lite_xiaomi-mjsxj03hl steps: diff --git a/README.md b/README.md index a148457..de7f9bf 100644 --- a/README.md +++ b/README.md @@ -12,17 +12,19 @@ - QR code recognition to automatically _[connect to WiFi](https://openipc.org/tools/qr-code-generator)_ on your home network. -### List of known devices +### List of known and supported devices ``` -ChinaTelecom DS-YTJ5301 SSC30KD GC2053 RTL8188FU_USB NOR_16M new +Aoni EP01J05 T31L ? RTL8188FU_USB NOR_16M new +ChinaTelecom DS-YTJ5301 SSC30KD GC2053 RTL8188FU_USB NOR_16M video-ok, wifi-no, motors-no +ChinaTelecom Y4H-50 T31L ? ? NOR_16M new Imilab EC3 CMSXJ25A SSC325 GC2053 MT7603UN_? NOR_16M in progress Imou IPC-C22EP-S2 SSC325DE SC2239 RTL8188FU_USB NAND testing stage 1 Imou IPC-C22EP-S2 ? SSC325DE SC2335 RTL8188FU_USB NAND wait driver Imou IPC-F22AP SSC325 SC2239 - NOR_? preparation Qtech QVC-IPC-136W HI3518EV200 OV9732 RTL8188EU_USB NOR_16M in progress Smartwares CIP-37210 HI3518EV200 OV9732 RTL8188FU_USB NOR_16M in progress -Meari Speed 6S SSC333 JXF37 RTL8188FU_USB NOR_16M new +Meari Speed 6S SSC333 JXF37 RTL8188FU_USB NOR_16M video-yes, wifi-yes, motors-no Switcam HS303 HI3518EV200 JXF22 RTL8188FU_USB NOR_16M in progress Switcam HS303 v2 HI3518EV200 OV9732 RTL8188EU_USB NOR_16M in progress TP-Link Tapo C110 v1 SSC335 SC3335 ATBM6032i_USB NOR_8M in progress diff --git a/devices/ssc30kd_lite_chinatelecom-ds-ytj5301/general/scripts/excludes/ssc30kd_lite.list b/devices/ssc30kd_lite_chinatelecom-ds-ytj5301/general/scripts/excludes/ssc30kd_lite.list new file mode 100644 index 0000000..c3e3987 --- /dev/null +++ b/devices/ssc30kd_lite_chinatelecom-ds-ytj5301/general/scripts/excludes/ssc30kd_lite.list @@ -0,0 +1,14 @@ +etc/sensors/gc4653.bin +etc/sensors/imx335.bin +etc/sensors/imx415.bin +# +lib/modules/4.9.84/sigmastar/sensor/sensor_gc4653_mipi.ko +lib/modules/4.9.84/sigmastar/sensor/sensor_imx335_mipi.ko +lib/modules/4.9.84/sigmastar/sensor/sensor_imx347_mipi.ko +lib/modules/4.9.84/sigmastar/sensor/sensor_imx415_mipi.ko +lib/modules/4.9.84/sigmastar/sensor/sensor_sc8235_mipi.ko +# +lib/modules/4.9.84/kernel/fs/lockd +lib/modules/4.9.84/kernel/fs/nfs +lib/modules/4.9.84/kernel/fs/nfs_common +lib/modules/4.9.84/kernel/net/sunrpc diff --git a/devices/ssc30kd_lite_chinatelecom-ds-ytj5301/general/scripts/excludes/ssc335de_lite.list b/devices/ssc30kd_lite_chinatelecom-ds-ytj5301/general/scripts/excludes/ssc335de_lite.list deleted file mode 100644 index 901fe61..0000000 --- a/devices/ssc30kd_lite_chinatelecom-ds-ytj5301/general/scripts/excludes/ssc335de_lite.list +++ /dev/null @@ -1,5 +0,0 @@ -#etc/sensors/gc2053.bin -# -#lib/modules/4.9.84/sigmastar/sensor/sensor_gc2053_mipi.ko -# -#lib/modules/4.9.84/kernel/fs/lockd diff --git a/devices/t31_lite_aoni-ep01j05/br-ext-chip-ingenic/configs/t31_lite_aoni-ep01j05_defconfig b/devices/t31_lite_aoni-ep01j05/br-ext-chip-ingenic/configs/t31_lite_aoni-ep01j05_defconfig new file mode 100644 index 0000000..22eae24 --- /dev/null +++ b/devices/t31_lite_aoni-ep01j05/br-ext-chip-ingenic/configs/t31_lite_aoni-ep01j05_defconfig @@ -0,0 +1,136 @@ +# Architecture +BR2_mipsel=y +BR2_mips_xburst=y +# BR2_MIPS_SOFT_FLOAT is not set +BR2_MIPS_FP32_MODE_32=y +# BR2_MIPS_FP32_MODE_XX is not set +BR2_MIPS_NAN_LEGACY=y +BR2_MIPS_OABI32=y +BR2_KERNEL_HEADERS_VERSION=y +BR2_DEFAULT_KERNEL_VERSION="3.10.14" +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_10=y + +# Toolchain +BR2_PER_PACKAGE_DIRECTORIES=y +BR2_GCC_VERSION_12_X=y +# BR2_TOOLCHAIN_USES_UCLIBC is not set +# BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set +# BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" +BR2_EXTRA_GCC_CONFIG_OPTIONS="--with-float=hard" +BR2_TOOLCHAIN_USES_MUSL=y +BR2_TOOLCHAIN_BUILDROOT_MUSL=y +BR2_TOOLCHAIN_BUILDROOT_LIBC="musl" +BR2_TOOLCHAIN_BUILDROOT_CXX=y +BR2_TOOLCHAIN_BUILDROOT_LOCALE=y +BR2_TOOLCHAIN_BUILDROOT_USE_SSP=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/t31/kernel/t31.generic.config" +BR2_LINUX_KERNEL_UIMAGE=y +BR2_LINUX_KERNEL_LZMA=y + +# OpenIPC +BR2_OPENIPC_SOC_VENDOR="ingenic" +BR2_OPENIPC_SOC_MODEL="t31" +BR2_OPENIPC_SOC_FAMILY="t31" +BR2_OPENIPC_FLAVOR="lite" +BR2_OPENIPC_FLASH_SIZE="8" + +# Filesystem +# BR2_TARGET_TZ_INFO is not set +BR2_TARGET_ROOTFS_CPIO=y +BR2_TARGET_ROOTFS_SQUASHFS=y +BR2_TARGET_ROOTFS_SQUASHFS4_XZ=y +BR2_ROOTFS_OVERLAY="$(BR2_EXTERNAL)/overlay" +BR2_ROOTFS_POST_BUILD_SCRIPT="$(BR2_EXTERNAL)/scripts/rootfs_script.sh" + +# OpenIPC configuration +BR2_TOOLCHAIN_BUILDROOT_VENDOR="openipc" +BR2_TARGET_GENERIC_ISSUE="Welcome to OpenIPC" +BR2_TARGET_GENERIC_HOSTNAME="openipc-t31" +BR2_GLOBAL_PATCH_DIR="$(BR2_EXTERNAL)/package/all-patches" + +# OpenIPC packages +BR2_PACKAGE_BUSYBOX_CONFIG="$(BR2_EXTERNAL)/package/busybox/busybox.config" +BR2_PACKAGE_DROPBEAR_OPENIPC=y +# BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set +# BR2_PACKAGE_FDK_AAC_OPENIPC is not set +BR2_PACKAGE_UBOOT_TOOLS=y +BR2_PACKAGE_INGENIC_OPENSDK=y +BR2_PACKAGE_INGENIC_OSDRV_T31=y +BR2_PACKAGE_IPCTOOL=y +BR2_PACKAGE_JSON_C=y +BR2_PACKAGE_JSONFILTER=y +BR2_PACKAGE_LIBCURL_OPENIPC=y +BR2_PACKAGE_LIBCURL_OPENIPC_CURL=y +# BR2_PACKAGE_LIBCURL_OPENIPC_VERBOSE is not set +# 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_LIBCURL_OPENIPC_MBEDTLS=y +BR2_PACKAGE_LIBEVENT_OPENIPC=y +BR2_PACKAGE_LIBEVENT_OPENIPC_REMOVE_PYSCRIPT=y +BR2_PACKAGE_LIBOGG_OPENIPC=y +BR2_PACKAGE_LIBYAML=y +BR2_PACKAGE_MAJESTIC_FONTS=y +BR2_PACKAGE_MAJESTIC=y +BR2_PACKAGE_MBEDTLS_OPENIPC=y +# BR2_PACKAGE_MBEDTLS_OPENIPC_PROGRAMS is not set +# BR2_PACKAGE_MBEDTLS_OPENIPC_COMPRESSION is not set +BR2_PACKAGE_MICROBE_WEB=y +# BR2_PACKAGE_MINI_SNMPD is not set +# BR2_PACKAGE_MOTORS is not set +BR2_PACKAGE_OPUS_OPENIPC=y +BR2_PACKAGE_OPUS_OPENIPC_FIXED_POINT=y +# BR2_PACKAGE_SSHPASS is not set +# BR2_PACKAGE_UACME_OPENIPC is not set +BR2_PACKAGE_VTUND_OPENIPC=y +BR2_PACKAGE_YAML_CLI=y +BR2_PACKAGE_QUIRC_OPENIPC=y +# BR2_PACKAGE_AUTONIGHT is not set +BR2_PACKAGE_INGENIC_LIBIMP_CONTROL=y + +# WiFi +BR2_PACKAGE_WIRELESS_TOOLS=y +BR2_PACKAGE_WPA_SUPPLICANT=y +BR2_PACKAGE_WPA_SUPPLICANT_CLI=y +BR2_PACKAGE_WPA_SUPPLICANT_NL80211=y +BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE=y +BR2_PACKAGE_LINUX_FIRMWARE_OPENIPC=y +# BR2_PACKAGE_LINUX_FIRMWARE_OPENIPC_MEDIATEK_MT7601U is not set +# BR2_PACKAGE_RTL8188EU is not set +BR2_PACKAGE_RTL8188FU_OPENIPC=y + +# WIREGUARD +BR2_PACKAGE_WIREGUARD_LINUX_COMPAT=y +BR2_PACKAGE_WIREGUARD_TOOLS=y + +# EXPERIMENTAL +# BR2_PACKAGE_ONVIF_SIMPLE_SERVER is not set + +# DEBUG +# BR2_PACKAGE_INGENIC_PWM is not set +# BR2_PACKAGE_LOGCAT_OPENIPC is not set +# BR2_PACKAGE_HOST_GDB is not set +# BR2_PACKAGE_GDB is not set + +# CCACHE +BR2_CCACHE=y +BR2_CCACHE_DIR="$(HOME)/.ccache" + +# Compression +BR2_PACKAGE_ZLIB=y + +# External +BR2_TOOLCHAIN_EXTERNAL=y +BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y +BR2_TOOLCHAIN_EXTERNAL_CUSTOM_MUSL=y +BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX="mipsel-openipc-linux-musl" +BR2_TOOLCHAIN_EXTERNAL_CXX=y +BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y +BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_10=y +BR2_TOOLCHAIN_EXTERNAL_URL="https://github.com/openipc/firmware/releases/download/$(OPENIPC_TOOLCHAIN).tgz" diff --git a/devices/t31_lite_aoni-ep01j05/general/overlay/etc/builder.msg b/devices/t31_lite_aoni-ep01j05/general/overlay/etc/builder.msg new file mode 100644 index 0000000..ecd21de --- /dev/null +++ b/devices/t31_lite_aoni-ep01j05/general/overlay/etc/builder.msg @@ -0,0 +1,3 @@ +# +Experimental system for building OpenIPC firmware for known devices +# diff --git a/devices/t31_lite_aoni-ep01j05/general/overlay/usr/share/openipc/customizer.sh b/devices/t31_lite_aoni-ep01j05/general/overlay/usr/share/openipc/customizer.sh new file mode 100644 index 0000000..949bb4a --- /dev/null +++ b/devices/t31_lite_aoni-ep01j05/general/overlay/usr/share/openipc/customizer.sh @@ -0,0 +1,34 @@ +#!/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/t31_lite_aoni-ep01j05-nor.tgz' +# +# +# Set custom majestic settings +# +cli -s .system.staticDir /var/www/majestic +#cli -s .isp.blkCnt 1 +#cli -s .nightMode.enabled true +#cli -s .nightMode.irCutPin1 49 +#cli -s .nightMode.irCutPin2 50 +#cli -s .nightMode.backlightPin 60 +cli -s .video0.codec h264 +# +# +# Set wlan device and credentials if need +# +#fw_setenv wlandev rtl8189fs-generic +#fw_setenv wlanssid Router +#fw_setenv wlanpass 12345678 +# +# +# Set osmem and rmem +# +#fw_setenv osmem 39M +#fw_setenv rmem 25M@0x2700000 +# +exit 0 diff --git a/devices/t31_lite_aoni-ep01j05/general/scripts/excludes/t31_lite.list b/devices/t31_lite_aoni-ep01j05/general/scripts/excludes/t31_lite.list new file mode 100644 index 0000000..65912e9 --- /dev/null +++ b/devices/t31_lite_aoni-ep01j05/general/scripts/excludes/t31_lite.list @@ -0,0 +1,65 @@ +etc/sensor/gc2053-t31.bin +etc/sensor/gc2083-t31.bin +etc/sensor/gc4023-t31.bin +etc/sensor/gc4653-t31.bin +etc/sensor/imx307-t31.bin +etc/sensor/imx327-t31.bin +etc/sensor/jxf37-t31.bin +etc/sensor/jxh62-t31.bin +etc/sensor/jxq03-t31.bin +etc/sensor/sc200ai-t31.bin +etc/sensor/sc2232h-t31.bin +etc/sensor/sc2335-t31.bin +etc/sensor/sc2336-t31.bin +etc/sensor/sc3335-t31.bin +etc/sensor/sc3338-t31.bin +etc/sensor/sc4236-t31.bin +etc/sensor/sc5235-t31.bin +# +etc/sensor/gc2053.yaml +etc/sensor/gc2083.yaml +etc/sensor/gc4023.yaml +etc/sensor/gc4653.yaml +etc/sensor/imx307.yaml +etc/sensor/imx327.yaml +etc/sensor/imx335.yaml +etc/sensor/jxf22.yaml +etc/sensor/jxf23.yaml +etc/sensor/jxf37.yaml +etc/sensor/jxh42.yaml +etc/sensor/jxh62.yaml +etc/sensor/jxh63.yaml +etc/sensor/jxk04.yaml +etc/sensor/jxq03.yaml +etc/sensor/os03b10.yaml +etc/sensor/ov2735.yaml +etc/sensor/ov2735b.yaml +etc/sensor/ov4689.yaml +etc/sensor/ps5260.yaml +etc/sensor/sc200ai.yaml +etc/sensor/sc2232.yaml +etc/sensor/sc2232h.yaml +etc/sensor/sc2335.yaml +etc/sensor/sc2336.yaml +etc/sensor/sc3335.yaml +etc/sensor/sc3338.yaml +etc/sensor/sc4236.yaml +etc/sensor/sc5235.yaml +# +lib/modules/3.10.14__isvp_swan_1.0__/ingenic/sensor_gc2053_t31.ko +lib/modules/3.10.14__isvp_swan_1.0__/ingenic/sensor_gc2083_t31.ko +lib/modules/3.10.14__isvp_swan_1.0__/ingenic/sensor_gc4023_t31.ko +lib/modules/3.10.14__isvp_swan_1.0__/ingenic/sensor_gc4653_t31.ko +lib/modules/3.10.14__isvp_swan_1.0__/ingenic/sensor_imx307_t31.ko +lib/modules/3.10.14__isvp_swan_1.0__/ingenic/sensor_imx327_t31.ko +lib/modules/3.10.14__isvp_swan_1.0__/ingenic/sensor_jxf37_t31.ko +lib/modules/3.10.14__isvp_swan_1.0__/ingenic/sensor_jxh62_t31.ko +lib/modules/3.10.14__isvp_swan_1.0__/ingenic/sensor_jxh63_t31.ko +lib/modules/3.10.14__isvp_swan_1.0__/ingenic/sensor_jxq03_t31.ko +lib/modules/3.10.14__isvp_swan_1.0__/ingenic/sensor_sc200ai_t31.ko +lib/modules/3.10.14__isvp_swan_1.0__/ingenic/sensor_sc2232h_t31.ko +lib/modules/3.10.14__isvp_swan_1.0__/ingenic/sensor_sc2335_t31.ko +lib/modules/3.10.14__isvp_swan_1.0__/ingenic/sensor_sc2336_t31.ko +lib/modules/3.10.14__isvp_swan_1.0__/ingenic/sensor_sc3338_t31.ko +lib/modules/3.10.14__isvp_swan_1.0__/ingenic/sensor_sc4236_t31.ko +lib/modules/3.10.14__isvp_swan_1.0__/ingenic/sensor_sc5235_t31.ko diff --git a/devices/t31_lite_chinatelecom-y4h-50/br-ext-chip-ingenic/configs/t31_lite_chinatelecom-y4h-50_defconfig b/devices/t31_lite_chinatelecom-y4h-50/br-ext-chip-ingenic/configs/t31_lite_chinatelecom-y4h-50_defconfig new file mode 100644 index 0000000..22eae24 --- /dev/null +++ b/devices/t31_lite_chinatelecom-y4h-50/br-ext-chip-ingenic/configs/t31_lite_chinatelecom-y4h-50_defconfig @@ -0,0 +1,136 @@ +# Architecture +BR2_mipsel=y +BR2_mips_xburst=y +# BR2_MIPS_SOFT_FLOAT is not set +BR2_MIPS_FP32_MODE_32=y +# BR2_MIPS_FP32_MODE_XX is not set +BR2_MIPS_NAN_LEGACY=y +BR2_MIPS_OABI32=y +BR2_KERNEL_HEADERS_VERSION=y +BR2_DEFAULT_KERNEL_VERSION="3.10.14" +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_10=y + +# Toolchain +BR2_PER_PACKAGE_DIRECTORIES=y +BR2_GCC_VERSION_12_X=y +# BR2_TOOLCHAIN_USES_UCLIBC is not set +# BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set +# BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" +BR2_EXTRA_GCC_CONFIG_OPTIONS="--with-float=hard" +BR2_TOOLCHAIN_USES_MUSL=y +BR2_TOOLCHAIN_BUILDROOT_MUSL=y +BR2_TOOLCHAIN_BUILDROOT_LIBC="musl" +BR2_TOOLCHAIN_BUILDROOT_CXX=y +BR2_TOOLCHAIN_BUILDROOT_LOCALE=y +BR2_TOOLCHAIN_BUILDROOT_USE_SSP=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/t31/kernel/t31.generic.config" +BR2_LINUX_KERNEL_UIMAGE=y +BR2_LINUX_KERNEL_LZMA=y + +# OpenIPC +BR2_OPENIPC_SOC_VENDOR="ingenic" +BR2_OPENIPC_SOC_MODEL="t31" +BR2_OPENIPC_SOC_FAMILY="t31" +BR2_OPENIPC_FLAVOR="lite" +BR2_OPENIPC_FLASH_SIZE="8" + +# Filesystem +# BR2_TARGET_TZ_INFO is not set +BR2_TARGET_ROOTFS_CPIO=y +BR2_TARGET_ROOTFS_SQUASHFS=y +BR2_TARGET_ROOTFS_SQUASHFS4_XZ=y +BR2_ROOTFS_OVERLAY="$(BR2_EXTERNAL)/overlay" +BR2_ROOTFS_POST_BUILD_SCRIPT="$(BR2_EXTERNAL)/scripts/rootfs_script.sh" + +# OpenIPC configuration +BR2_TOOLCHAIN_BUILDROOT_VENDOR="openipc" +BR2_TARGET_GENERIC_ISSUE="Welcome to OpenIPC" +BR2_TARGET_GENERIC_HOSTNAME="openipc-t31" +BR2_GLOBAL_PATCH_DIR="$(BR2_EXTERNAL)/package/all-patches" + +# OpenIPC packages +BR2_PACKAGE_BUSYBOX_CONFIG="$(BR2_EXTERNAL)/package/busybox/busybox.config" +BR2_PACKAGE_DROPBEAR_OPENIPC=y +# BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set +# BR2_PACKAGE_FDK_AAC_OPENIPC is not set +BR2_PACKAGE_UBOOT_TOOLS=y +BR2_PACKAGE_INGENIC_OPENSDK=y +BR2_PACKAGE_INGENIC_OSDRV_T31=y +BR2_PACKAGE_IPCTOOL=y +BR2_PACKAGE_JSON_C=y +BR2_PACKAGE_JSONFILTER=y +BR2_PACKAGE_LIBCURL_OPENIPC=y +BR2_PACKAGE_LIBCURL_OPENIPC_CURL=y +# BR2_PACKAGE_LIBCURL_OPENIPC_VERBOSE is not set +# 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_LIBCURL_OPENIPC_MBEDTLS=y +BR2_PACKAGE_LIBEVENT_OPENIPC=y +BR2_PACKAGE_LIBEVENT_OPENIPC_REMOVE_PYSCRIPT=y +BR2_PACKAGE_LIBOGG_OPENIPC=y +BR2_PACKAGE_LIBYAML=y +BR2_PACKAGE_MAJESTIC_FONTS=y +BR2_PACKAGE_MAJESTIC=y +BR2_PACKAGE_MBEDTLS_OPENIPC=y +# BR2_PACKAGE_MBEDTLS_OPENIPC_PROGRAMS is not set +# BR2_PACKAGE_MBEDTLS_OPENIPC_COMPRESSION is not set +BR2_PACKAGE_MICROBE_WEB=y +# BR2_PACKAGE_MINI_SNMPD is not set +# BR2_PACKAGE_MOTORS is not set +BR2_PACKAGE_OPUS_OPENIPC=y +BR2_PACKAGE_OPUS_OPENIPC_FIXED_POINT=y +# BR2_PACKAGE_SSHPASS is not set +# BR2_PACKAGE_UACME_OPENIPC is not set +BR2_PACKAGE_VTUND_OPENIPC=y +BR2_PACKAGE_YAML_CLI=y +BR2_PACKAGE_QUIRC_OPENIPC=y +# BR2_PACKAGE_AUTONIGHT is not set +BR2_PACKAGE_INGENIC_LIBIMP_CONTROL=y + +# WiFi +BR2_PACKAGE_WIRELESS_TOOLS=y +BR2_PACKAGE_WPA_SUPPLICANT=y +BR2_PACKAGE_WPA_SUPPLICANT_CLI=y +BR2_PACKAGE_WPA_SUPPLICANT_NL80211=y +BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE=y +BR2_PACKAGE_LINUX_FIRMWARE_OPENIPC=y +# BR2_PACKAGE_LINUX_FIRMWARE_OPENIPC_MEDIATEK_MT7601U is not set +# BR2_PACKAGE_RTL8188EU is not set +BR2_PACKAGE_RTL8188FU_OPENIPC=y + +# WIREGUARD +BR2_PACKAGE_WIREGUARD_LINUX_COMPAT=y +BR2_PACKAGE_WIREGUARD_TOOLS=y + +# EXPERIMENTAL +# BR2_PACKAGE_ONVIF_SIMPLE_SERVER is not set + +# DEBUG +# BR2_PACKAGE_INGENIC_PWM is not set +# BR2_PACKAGE_LOGCAT_OPENIPC is not set +# BR2_PACKAGE_HOST_GDB is not set +# BR2_PACKAGE_GDB is not set + +# CCACHE +BR2_CCACHE=y +BR2_CCACHE_DIR="$(HOME)/.ccache" + +# Compression +BR2_PACKAGE_ZLIB=y + +# External +BR2_TOOLCHAIN_EXTERNAL=y +BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y +BR2_TOOLCHAIN_EXTERNAL_CUSTOM_MUSL=y +BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX="mipsel-openipc-linux-musl" +BR2_TOOLCHAIN_EXTERNAL_CXX=y +BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y +BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_10=y +BR2_TOOLCHAIN_EXTERNAL_URL="https://github.com/openipc/firmware/releases/download/$(OPENIPC_TOOLCHAIN).tgz" diff --git a/devices/t31_lite_chinatelecom-y4h-50/general/overlay/etc/builder.msg b/devices/t31_lite_chinatelecom-y4h-50/general/overlay/etc/builder.msg new file mode 100644 index 0000000..ecd21de --- /dev/null +++ b/devices/t31_lite_chinatelecom-y4h-50/general/overlay/etc/builder.msg @@ -0,0 +1,3 @@ +# +Experimental system for building OpenIPC firmware for known devices +# diff --git a/devices/t31_lite_chinatelecom-y4h-50/general/overlay/usr/share/openipc/customizer.sh b/devices/t31_lite_chinatelecom-y4h-50/general/overlay/usr/share/openipc/customizer.sh new file mode 100644 index 0000000..5b8eb5f --- /dev/null +++ b/devices/t31_lite_chinatelecom-y4h-50/general/overlay/usr/share/openipc/customizer.sh @@ -0,0 +1,34 @@ +#!/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/t31_lite_chinatelecom-y4h-nor.tgz' +# +# +# Set custom majestic settings +# +cli -s .system.staticDir /var/www/majestic +#cli -s .isp.blkCnt 1 +#cli -s .nightMode.enabled true +#cli -s .nightMode.irCutPin1 49 +#cli -s .nightMode.irCutPin2 50 +#cli -s .nightMode.backlightPin 60 +cli -s .video0.codec h264 +# +# +# Set wlan device and credentials if need +# +#fw_setenv wlandev rtl8189fs-generic +#fw_setenv wlanssid Router +#fw_setenv wlanpass 12345678 +# +# +# Set osmem and rmem +# +#fw_setenv osmem 39M +#fw_setenv rmem 25M@0x2700000 +# +exit 0 diff --git a/devices/t31_lite_chinatelecom-y4h-50/general/scripts/excludes/t31_lite.list b/devices/t31_lite_chinatelecom-y4h-50/general/scripts/excludes/t31_lite.list new file mode 100644 index 0000000..65912e9 --- /dev/null +++ b/devices/t31_lite_chinatelecom-y4h-50/general/scripts/excludes/t31_lite.list @@ -0,0 +1,65 @@ +etc/sensor/gc2053-t31.bin +etc/sensor/gc2083-t31.bin +etc/sensor/gc4023-t31.bin +etc/sensor/gc4653-t31.bin +etc/sensor/imx307-t31.bin +etc/sensor/imx327-t31.bin +etc/sensor/jxf37-t31.bin +etc/sensor/jxh62-t31.bin +etc/sensor/jxq03-t31.bin +etc/sensor/sc200ai-t31.bin +etc/sensor/sc2232h-t31.bin +etc/sensor/sc2335-t31.bin +etc/sensor/sc2336-t31.bin +etc/sensor/sc3335-t31.bin +etc/sensor/sc3338-t31.bin +etc/sensor/sc4236-t31.bin +etc/sensor/sc5235-t31.bin +# +etc/sensor/gc2053.yaml +etc/sensor/gc2083.yaml +etc/sensor/gc4023.yaml +etc/sensor/gc4653.yaml +etc/sensor/imx307.yaml +etc/sensor/imx327.yaml +etc/sensor/imx335.yaml +etc/sensor/jxf22.yaml +etc/sensor/jxf23.yaml +etc/sensor/jxf37.yaml +etc/sensor/jxh42.yaml +etc/sensor/jxh62.yaml +etc/sensor/jxh63.yaml +etc/sensor/jxk04.yaml +etc/sensor/jxq03.yaml +etc/sensor/os03b10.yaml +etc/sensor/ov2735.yaml +etc/sensor/ov2735b.yaml +etc/sensor/ov4689.yaml +etc/sensor/ps5260.yaml +etc/sensor/sc200ai.yaml +etc/sensor/sc2232.yaml +etc/sensor/sc2232h.yaml +etc/sensor/sc2335.yaml +etc/sensor/sc2336.yaml +etc/sensor/sc3335.yaml +etc/sensor/sc3338.yaml +etc/sensor/sc4236.yaml +etc/sensor/sc5235.yaml +# +lib/modules/3.10.14__isvp_swan_1.0__/ingenic/sensor_gc2053_t31.ko +lib/modules/3.10.14__isvp_swan_1.0__/ingenic/sensor_gc2083_t31.ko +lib/modules/3.10.14__isvp_swan_1.0__/ingenic/sensor_gc4023_t31.ko +lib/modules/3.10.14__isvp_swan_1.0__/ingenic/sensor_gc4653_t31.ko +lib/modules/3.10.14__isvp_swan_1.0__/ingenic/sensor_imx307_t31.ko +lib/modules/3.10.14__isvp_swan_1.0__/ingenic/sensor_imx327_t31.ko +lib/modules/3.10.14__isvp_swan_1.0__/ingenic/sensor_jxf37_t31.ko +lib/modules/3.10.14__isvp_swan_1.0__/ingenic/sensor_jxh62_t31.ko +lib/modules/3.10.14__isvp_swan_1.0__/ingenic/sensor_jxh63_t31.ko +lib/modules/3.10.14__isvp_swan_1.0__/ingenic/sensor_jxq03_t31.ko +lib/modules/3.10.14__isvp_swan_1.0__/ingenic/sensor_sc200ai_t31.ko +lib/modules/3.10.14__isvp_swan_1.0__/ingenic/sensor_sc2232h_t31.ko +lib/modules/3.10.14__isvp_swan_1.0__/ingenic/sensor_sc2335_t31.ko +lib/modules/3.10.14__isvp_swan_1.0__/ingenic/sensor_sc2336_t31.ko +lib/modules/3.10.14__isvp_swan_1.0__/ingenic/sensor_sc3338_t31.ko +lib/modules/3.10.14__isvp_swan_1.0__/ingenic/sensor_sc4236_t31.ko +lib/modules/3.10.14__isvp_swan_1.0__/ingenic/sensor_sc5235_t31.ko