Skip to content

Commit

Permalink
Sync
Browse files Browse the repository at this point in the history
  • Loading branch information
ZigFisher committed Dec 13, 2023
2 parents 571bddf + 2f81ccc commit 1889362
Show file tree
Hide file tree
Showing 7 changed files with 198 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- ssc333_lite_meari-speed-6s
- ssc333_lite_tp-link-tapo-c110-v2
- ssc335_lite_tp-link-tapo-c110-v1
- ssc335_lite_trassir-tr-w2c1-v2
- ssc335de_lite_uniview-c1l-2wn-g
- t21_lite_wansview-q5-1080p
- t31_lite_xiaomi-mjsxj03hl
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Switcam HS303 HI3518EV200 JXF22 RTL8188FU NOR_16M in pro
Switcam HS303 v2 HI3518EV200 OV9732 RTL8188EU NOR_16M in progress
TP-Link Tapo C110 v1 SSC335 SC3335 ATBM6032i NOR_8M in progress
TP-Link Tapo C110 v2 SSC333 SC3338 SSW101B NOR_8M in progress
Trassir TR-W2C1 v2 SSC335 GC2053 MT7601U NOR_16M in progress
Uniview C1L-2WN-G SSC335DE OS02G10 RTL8188FU NOR_16M testing stage 2
Wansview Q5 1080p T21Z OV2735B RTL8188FU NOR_16M in progress
Wansview Q5 2K T31L SC2336 ATBM6032i NOR_8M preparation
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
# Architecture
BR2_arm=y
BR2_cortex_a7=y
BR2_ARM_EABIHF=y
BR2_ARM_FPU_NEON_VFPV4=y
BR2_ARM_INSTRUCTIONS_THUMB2=y
BR2_KERNEL_HEADERS_VERSION=y
BR2_DEFAULT_KERNEL_VERSION="4.9.84"
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=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_TOOLCHAIN_USES_MUSL=y
BR2_TOOLCHAIN_BUILDROOT_MUSL=y
BR2_TOOLCHAIN_BUILDROOT_LIBC="musl"
BR2_TOOLCHAIN_BUILDROOT_CXX=y
# BR2_TOOLCHAIN_BUILDROOT_LOCALE is not set
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/infinity6b0/kernel/infinity6b0-ssc009a.config"
BR2_LINUX_KERNEL_UIMAGE=y
BR2_LINUX_KERNEL_XZ=y

# OpenIPC
BR2_OPENIPC_SOC_VENDOR="sigmastar"
BR2_OPENIPC_SOC_MODEL="ssc335"
BR2_OPENIPC_SOC_FAMILY="infinity6b0"
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-ssc335"
BR2_GLOBAL_PATCH_DIR="$(BR2_EXTERNAL)/package/all-patches"

# OpenIPC packages
# BR2_PACKAGE_AWS_WEBRTC is not set
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_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=y
BR2_PACKAGE_MAJESTIC_FONTS=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_SIGMASTAR_OSDRV_INFINITY6B0=y
BR2_PACKAGE_EXFAT_OPENIPC=y
BR2_PACKAGE_EXFATPROGS=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_ZLIB=y

# Wireless
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_MT7601U_OPENIPC=y

# Debug
# BR2_PACKAGE_HOST_GDB is not set
# BR2_PACKAGE_GDB is not set

# CCACHE
BR2_CCACHE=y
BR2_CCACHE_DIR="$(HOME)/.ccache"

# External
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y
BR2_TOOLCHAIN_EXTERNAL_CUSTOM_MUSL=y
BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX="arm-openipc-linux-musleabihf"
BR2_TOOLCHAIN_EXTERNAL_CXX=y
BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_9=y
BR2_TOOLCHAIN_EXTERNAL_URL="https://github.com/openipc/firmware/releases/download/$(OPENIPC_TOOLCHAIN).tgz"
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#
Experimental system for building OpenIPC firmware for known devices
#
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/sh

set_gpio() {
[ "$2" -eq 1 ] && gpio set $1 || gpio clear $1
sleep 1
}

# Generic MT7601STA
if [ "$1" = "mt7601sta-generic" ]; then
modprobe mt7601sta
exit 0
fi

exit 1
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#!/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/ssc335_lite_trassir-tr-w2c1-v2-nor.tgz'
#
#
# Set custom majestic settings
#
cli -s .system.staticDir /var/www/majestic
cli -s .nightMode.enabled true
cli -s .nightMode.irCutPin1 79
cli -s .nightMode.irCutPin2 78
cli -s .nightMode.backlightPin 14
cli -s .audio.speakerPin 15
cli -s .audio.outputVolume 80
cli -s .video0.codec h264
#
#
# Set wlan device and credentials if need
#
fw_setenv wlandev mt7601sta-generic
#fw_setenv wlanssid Router
#fw_setenv wlanpass 12345678

exit 0
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
etc/sensors/gc2083.bin
etc/sensors/gc4023.bin
etc/sensors/gc4653.bin
etc/sensors/imx307.bin
etc/sensors/imx335.bin
etc/sensors/jxf37.bin
etc/sensors/sc2239.bin
etc/sensors/sc223a.bin
etc/sensors/sc2335.bin
etc/sensors/sc2336.bin
etc/sensors/sc3335.bin
etc/sensors/sc3338.bin
#
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_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/sigmastar/sensor/sensor_sc3338_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

0 comments on commit 1889362

Please sign in to comment.