Skip to content

Commit 1889362

Browse files
committed
Sync
2 parents 571bddf + 2f81ccc commit 1889362

File tree

7 files changed

+198
-0
lines changed

7 files changed

+198
-0
lines changed

Diff for: .github/workflows/master.yml

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
- ssc333_lite_meari-speed-6s
2222
- ssc333_lite_tp-link-tapo-c110-v2
2323
- ssc335_lite_tp-link-tapo-c110-v1
24+
- ssc335_lite_trassir-tr-w2c1-v2
2425
- ssc335de_lite_uniview-c1l-2wn-g
2526
- t21_lite_wansview-q5-1080p
2627
- t31_lite_xiaomi-mjsxj03hl

Diff for: README.md

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ Switcam HS303 HI3518EV200 JXF22 RTL8188FU NOR_16M in pro
2424
Switcam HS303 v2 HI3518EV200 OV9732 RTL8188EU NOR_16M in progress
2525
TP-Link Tapo C110 v1 SSC335 SC3335 ATBM6032i NOR_8M in progress
2626
TP-Link Tapo C110 v2 SSC333 SC3338 SSW101B NOR_8M in progress
27+
Trassir TR-W2C1 v2 SSC335 GC2053 MT7601U NOR_16M in progress
2728
Uniview C1L-2WN-G SSC335DE OS02G10 RTL8188FU NOR_16M testing stage 2
2829
Wansview Q5 1080p T21Z OV2735B RTL8188FU NOR_16M in progress
2930
Wansview Q5 2K T31L SC2336 ATBM6032i NOR_8M preparation
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
# Architecture
2+
BR2_arm=y
3+
BR2_cortex_a7=y
4+
BR2_ARM_EABIHF=y
5+
BR2_ARM_FPU_NEON_VFPV4=y
6+
BR2_ARM_INSTRUCTIONS_THUMB2=y
7+
BR2_KERNEL_HEADERS_VERSION=y
8+
BR2_DEFAULT_KERNEL_VERSION="4.9.84"
9+
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y
10+
11+
# Toolchain
12+
BR2_PER_PACKAGE_DIRECTORIES=y
13+
BR2_GCC_VERSION_12_X=y
14+
# BR2_TOOLCHAIN_USES_UCLIBC is not set
15+
# BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set
16+
# BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc"
17+
BR2_TOOLCHAIN_USES_MUSL=y
18+
BR2_TOOLCHAIN_BUILDROOT_MUSL=y
19+
BR2_TOOLCHAIN_BUILDROOT_LIBC="musl"
20+
BR2_TOOLCHAIN_BUILDROOT_CXX=y
21+
# BR2_TOOLCHAIN_BUILDROOT_LOCALE is not set
22+
BR2_TOOLCHAIN_BUILDROOT_USE_SSP=y
23+
24+
# Kernel
25+
BR2_LINUX_KERNEL=y
26+
BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
27+
BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/openipc/linux/archive/$(OPENIPC_KERNEL).tar.gz"
28+
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
29+
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(EXTERNAL_VENDOR)/board/infinity6b0/kernel/infinity6b0-ssc009a.config"
30+
BR2_LINUX_KERNEL_UIMAGE=y
31+
BR2_LINUX_KERNEL_XZ=y
32+
33+
# OpenIPC
34+
BR2_OPENIPC_SOC_VENDOR="sigmastar"
35+
BR2_OPENIPC_SOC_MODEL="ssc335"
36+
BR2_OPENIPC_SOC_FAMILY="infinity6b0"
37+
BR2_OPENIPC_FLAVOR="lite"
38+
BR2_OPENIPC_FLASH_SIZE="8"
39+
40+
# Filesystem
41+
# BR2_TARGET_TZ_INFO is not set
42+
BR2_TARGET_ROOTFS_CPIO=y
43+
BR2_TARGET_ROOTFS_SQUASHFS=y
44+
BR2_TARGET_ROOTFS_SQUASHFS4_XZ=y
45+
BR2_ROOTFS_OVERLAY="$(BR2_EXTERNAL)/overlay"
46+
BR2_ROOTFS_POST_BUILD_SCRIPT="$(BR2_EXTERNAL)/scripts/rootfs_script.sh"
47+
48+
# OpenIPC configuration
49+
BR2_TOOLCHAIN_BUILDROOT_VENDOR="openipc"
50+
BR2_TARGET_GENERIC_ISSUE="Welcome to OpenIPC"
51+
BR2_TARGET_GENERIC_HOSTNAME="openipc-ssc335"
52+
BR2_GLOBAL_PATCH_DIR="$(BR2_EXTERNAL)/package/all-patches"
53+
54+
# OpenIPC packages
55+
# BR2_PACKAGE_AWS_WEBRTC is not set
56+
BR2_PACKAGE_BUSYBOX_CONFIG="$(BR2_EXTERNAL)/package/busybox/busybox.config"
57+
BR2_PACKAGE_DROPBEAR_OPENIPC=y
58+
# BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set
59+
# BR2_PACKAGE_FDK_AAC_OPENIPC is not set
60+
BR2_PACKAGE_UBOOT_TOOLS=y
61+
BR2_PACKAGE_IPCTOOL=y
62+
BR2_PACKAGE_JSON_C=y
63+
BR2_PACKAGE_JSONFILTER=y
64+
BR2_PACKAGE_LIBCURL_OPENIPC=y
65+
BR2_PACKAGE_LIBCURL_OPENIPC_CURL=y
66+
# BR2_PACKAGE_LIBCURL_OPENIPC_VERBOSE is not set
67+
# BR2_PACKAGE_LIBCURL_OPENIPC_PROXY_SUPPORT is not set
68+
# BR2_PACKAGE_LIBCURL_OPENIPC_COOKIES_SUPPORT is not set
69+
# BR2_PACKAGE_LIBCURL_OPENIPC_EXTRA_PROTOCOLS_FEATURES is not set
70+
BR2_PACKAGE_LIBCURL_OPENIPC_MBEDTLS=y
71+
BR2_PACKAGE_LIBEVENT_OPENIPC=y
72+
BR2_PACKAGE_LIBEVENT_OPENIPC_REMOVE_PYSCRIPT=y
73+
BR2_PACKAGE_LIBOGG_OPENIPC=y
74+
BR2_PACKAGE_LIBYAML=y
75+
BR2_PACKAGE_MAJESTIC=y
76+
BR2_PACKAGE_MAJESTIC_FONTS=y
77+
BR2_PACKAGE_MBEDTLS_OPENIPC=y
78+
# BR2_PACKAGE_MBEDTLS_OPENIPC_PROGRAMS is not set
79+
# BR2_PACKAGE_MBEDTLS_OPENIPC_COMPRESSION is not set
80+
BR2_PACKAGE_MICROBE_WEB=y
81+
# BR2_PACKAGE_MINI_SNMPD is not set
82+
# BR2_PACKAGE_MOTORS is not set
83+
BR2_PACKAGE_OPUS_OPENIPC=y
84+
BR2_PACKAGE_OPUS_OPENIPC_FIXED_POINT=y
85+
BR2_PACKAGE_SIGMASTAR_OSDRV_INFINITY6B0=y
86+
BR2_PACKAGE_EXFAT_OPENIPC=y
87+
BR2_PACKAGE_EXFATPROGS=y
88+
# BR2_PACKAGE_SSHPASS is not set
89+
# BR2_PACKAGE_UACME_OPENIPC is not set
90+
BR2_PACKAGE_VTUND_OPENIPC=y
91+
BR2_PACKAGE_YAML_CLI=y
92+
BR2_PACKAGE_QUIRC_OPENIPC=y
93+
BR2_PACKAGE_ZLIB=y
94+
95+
# Wireless
96+
BR2_PACKAGE_WIRELESS_TOOLS=y
97+
BR2_PACKAGE_WPA_SUPPLICANT=y
98+
BR2_PACKAGE_WPA_SUPPLICANT_CLI=y
99+
BR2_PACKAGE_WPA_SUPPLICANT_NL80211=y
100+
BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE=y
101+
BR2_PACKAGE_MT7601U_OPENIPC=y
102+
103+
# Debug
104+
# BR2_PACKAGE_HOST_GDB is not set
105+
# BR2_PACKAGE_GDB is not set
106+
107+
# CCACHE
108+
BR2_CCACHE=y
109+
BR2_CCACHE_DIR="$(HOME)/.ccache"
110+
111+
# External
112+
BR2_TOOLCHAIN_EXTERNAL=y
113+
BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y
114+
BR2_TOOLCHAIN_EXTERNAL_CUSTOM_MUSL=y
115+
BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX="arm-openipc-linux-musleabihf"
116+
BR2_TOOLCHAIN_EXTERNAL_CXX=y
117+
BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
118+
BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_9=y
119+
BR2_TOOLCHAIN_EXTERNAL_URL="https://github.com/openipc/firmware/releases/download/$(OPENIPC_TOOLCHAIN).tgz"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#
2+
Experimental system for building OpenIPC firmware for known devices
3+
#
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/sh
2+
3+
set_gpio() {
4+
[ "$2" -eq 1 ] && gpio set $1 || gpio clear $1
5+
sleep 1
6+
}
7+
8+
# Generic MT7601STA
9+
if [ "$1" = "mt7601sta-generic" ]; then
10+
modprobe mt7601sta
11+
exit 0
12+
fi
13+
14+
exit 1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#!/bin/sh
2+
#
3+
# Perform basic settings on a known IP camera
4+
#
5+
#
6+
# Set custom upgrade url
7+
#
8+
fw_setenv upgrade 'https://github.com/OpenIPC/builder/releases/download/latest/ssc335_lite_trassir-tr-w2c1-v2-nor.tgz'
9+
#
10+
#
11+
# Set custom majestic settings
12+
#
13+
cli -s .system.staticDir /var/www/majestic
14+
cli -s .nightMode.enabled true
15+
cli -s .nightMode.irCutPin1 79
16+
cli -s .nightMode.irCutPin2 78
17+
cli -s .nightMode.backlightPin 14
18+
cli -s .audio.speakerPin 15
19+
cli -s .audio.outputVolume 80
20+
cli -s .video0.codec h264
21+
#
22+
#
23+
# Set wlan device and credentials if need
24+
#
25+
fw_setenv wlandev mt7601sta-generic
26+
#fw_setenv wlanssid Router
27+
#fw_setenv wlanpass 12345678
28+
29+
exit 0
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
etc/sensors/gc2083.bin
2+
etc/sensors/gc4023.bin
3+
etc/sensors/gc4653.bin
4+
etc/sensors/imx307.bin
5+
etc/sensors/imx335.bin
6+
etc/sensors/jxf37.bin
7+
etc/sensors/sc2239.bin
8+
etc/sensors/sc223a.bin
9+
etc/sensors/sc2335.bin
10+
etc/sensors/sc2336.bin
11+
etc/sensors/sc3335.bin
12+
etc/sensors/sc3338.bin
13+
#
14+
lib/modules/4.9.84/sigmastar/sensor/sensor_gc2083_mipi.ko
15+
lib/modules/4.9.84/sigmastar/sensor/sensor_gc4023_mipi.ko
16+
lib/modules/4.9.84/sigmastar/sensor/sensor_gc4653_mipi.ko
17+
lib/modules/4.9.84/sigmastar/sensor/sensor_imx307_mipi.ko
18+
lib/modules/4.9.84/sigmastar/sensor/sensor_imx335_mipi.ko
19+
lib/modules/4.9.84/sigmastar/sensor/sensor_jxf37_mipi.ko
20+
lib/modules/4.9.84/sigmastar/sensor/sensor_os02g10_mipi.ko
21+
lib/modules/4.9.84/sigmastar/sensor/sensor_sc2239_mipi.ko
22+
lib/modules/4.9.84/sigmastar/sensor/sensor_sc223a_mipi.ko
23+
lib/modules/4.9.84/sigmastar/sensor/sensor_sc2335_mipi.ko
24+
lib/modules/4.9.84/sigmastar/sensor/sensor_sc2336_mipi.ko
25+
lib/modules/4.9.84/sigmastar/sensor/sensor_sc3335_mipi.ko
26+
lib/modules/4.9.84/sigmastar/sensor/sensor_sc3338_mipi.ko
27+
#
28+
lib/modules/4.9.84/kernel/fs/lockd
29+
lib/modules/4.9.84/kernel/fs/nfs
30+
lib/modules/4.9.84/kernel/fs/nfs_common
31+
lib/modules/4.9.84/kernel/net/sunrpc

0 commit comments

Comments
 (0)