mirror of
https://github.com/outbackdingo/builder.git
synced 2026-01-27 18:18:27 +00:00
add builder profile for dahua ipc-hfw1230sp-v2 (#63)
* Create ssc335de_lite_dahua-hfw1230sp-v2_defconfig * Create customizer.sh * Create gpio.conf * Update README.md * Create ssc335de_lite.list * Create ssc335de_lite.list * Update README.md * Update ssc335de_lite.list * Update ssc335de_lite.list * Update README.md
This commit is contained in:
@@ -35,6 +35,7 @@ H3C TC2101 SSC337 JXQ03 RTL8188FU_USB NOR_16M done
|
||||
HB-WIFI-Z6 v1.2 T10 JXH62 RTL8188EU_USB NOR_8M in progress
|
||||
iFlytek XFP301-M T31ZX JXQ03 RTL8188FU_USB NOR_16 research
|
||||
Imilab EC3 CMSXJ25A SSC325 GC2053 MT7603UN_? NOR_16M in progress
|
||||
Dahua IPC-HFW1230SP-V2 SSC335DE GC2053 NOR_16M done
|
||||
Imou IPC-C22E-S2-v2 SSC335DE GC2053 RTL8188FU_USB NOR_16M done
|
||||
Imou IPC-C22EP-S2 SSC325DE SC2239 RTL8188FU_USB NAND testing stage 1
|
||||
Imou IPC-C22EP-S2 ? SSC325DE SC2335 RTL8188FU_USB NAND wait sensor driver
|
||||
|
||||
@@ -0,0 +1,68 @@
|
||||
# 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)/infinity6-ssc009b.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_WIREGUARD_LINUX_COMPAT=y
|
||||
BR2_PACKAGE_WIREGUARD_TOOLS=y
|
||||
BR2_TARGET_ROOTFS_CPIO=y
|
||||
BR2_TARGET_ROOTFS_SQUASHFS=y
|
||||
BR2_TARGET_ROOTFS_SQUASHFS4_XZ=y
|
||||
BR2_TARGET_ROOTFS_UBI=y
|
||||
BR2_TARGET_ROOTFS_UBI_SUBSIZE=2048
|
||||
BR2_TARGET_ROOTFS_UBI_USE_CUSTOM_CONFIG=y
|
||||
BR2_TARGET_ROOTFS_UBI_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL)/scripts/ubifs/ubinize_sigmastar.cfg"
|
||||
BR2_TARGET_ROOTFS_UBIFS_LEBSIZE=0x1f000
|
||||
|
||||
# OpenIPC
|
||||
BR2_OPENIPC_SOC_VENDOR="sigmastar"
|
||||
BR2_OPENIPC_SOC_MODEL="ssc335de"
|
||||
BR2_OPENIPC_SOC_FAMILY="infinity6"
|
||||
BR2_OPENIPC_VARIANT="lite"
|
||||
BR2_OPENIPC_FLASH_SIZE="8"
|
||||
|
||||
# Packages
|
||||
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_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_INFINITY6=y
|
||||
BR2_PACKAGE_VTUND_OPENIPC=y
|
||||
BR2_PACKAGE_YAML_CLI=y
|
||||
@@ -0,0 +1,35 @@
|
||||
/etc/sensors/gc4023.bin
|
||||
/etc/sensors/gc4653.bin
|
||||
/etc/sensors/imx307.bin
|
||||
/etc/sensors/imx335.bin
|
||||
/etc/sensors/jxf37.bin
|
||||
/etc/sensors/jxq03.bin
|
||||
/etc/sensors/sc200ai.bin
|
||||
/etc/sensors/sc223a.bin
|
||||
/etc/sensors/sc2335.bin
|
||||
/etc/sensors/sc2336.bin
|
||||
/etc/sensors/sc3338.bin
|
||||
/etc/sensors/sc401ai.bin
|
||||
#
|
||||
/lib/modules/4.9.84/sigmastar/sensor_gc2083_mipi.ko
|
||||
/lib/modules/4.9.84/sigmastar/sensor_gc4023_mipi.ko
|
||||
/lib/modules/4.9.84/sigmastar/sensor_gc4653_mipi.ko
|
||||
/lib/modules/4.9.84/sigmastar/sensor_imx307_mipi.ko
|
||||
/lib/modules/4.9.84/sigmastar/sensor_imx335_mipi.ko
|
||||
/lib/modules/4.9.84/sigmastar/sensor_jxf37_mipi.ko
|
||||
/lib/modules/4.9.84/sigmastar/sensor_jxq03_mipi.ko
|
||||
/lib/modules/4.9.84/sigmastar/sensor_os02g10_mipi.ko
|
||||
/lib/modules/4.9.84/sigmastar/sensor_sc200ai_mipi.ko
|
||||
/lib/modules/4.9.84/sigmastar/sensor_sc2239_mipi.ko
|
||||
/lib/modules/4.9.84/sigmastar/sensor_sc223a_mipi.ko
|
||||
/lib/modules/4.9.84/sigmastar/sensor_sc2335_mipi.ko
|
||||
/lib/modules/4.9.84/sigmastar/sensor_sc2336_mipi.ko
|
||||
/lib/modules/4.9.84/sigmastar/sensor_sc3335_mipi.ko
|
||||
/lib/modules/4.9.84/sigmastar/sensor_sc3338_mipi.ko
|
||||
/lib/modules/4.9.84/sigmastar/sensor_sc401ai_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
|
||||
@@ -0,0 +1,22 @@
|
||||
#!/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/ssc335de_lite_dahua-hfw1230sp-v2-nor.tgz'
|
||||
#
|
||||
#
|
||||
# Set custom majestic settings
|
||||
#
|
||||
cli -s .video0.codec h264
|
||||
cli -s .image.mirror false
|
||||
cli -s .image.flip false
|
||||
cli -s .nightMode.irCutPin1 79
|
||||
cli -s .nightMode.irCutPin2 78
|
||||
cli -s .nightMode.backlightPin 52
|
||||
cli -s .nightMode.colorToGray true
|
||||
#
|
||||
|
||||
exit 0
|
||||
@@ -0,0 +1,5 @@
|
||||
ircut1=79
|
||||
ircut2=78
|
||||
led1=47
|
||||
led2=46
|
||||
light_ir=52
|
||||
Reference in New Issue
Block a user