diff --git a/projects/gk7205v200_ultimate_baresip/general/overlay/etc/majestic.yaml b/projects/gk7205v200_ultimate_baresip/general/overlay/etc/majestic.yaml new file mode 100644 index 0000000..a9c1a15 --- /dev/null +++ b/projects/gk7205v200_ultimate_baresip/general/overlay/etc/majestic.yaml @@ -0,0 +1,64 @@ +system: + webAdmin: enabled + buffer: 1024 + staticDir: /var/www/majestic +image: + mirror: false + flip: false + rotate: none + contrast: 50 + hue: 50 + saturation: 50 + luminance: 50 +osd: + enabled: true + template: "OpenIPC phone | %F %T %Z" + posX: -100 + posY: 0 +nightMode: + enabled: true + irSensorPinInvert: false + irCutPin1: 15 + irCutPin2: 14 +records: + enabled: false + path: /mnt/mmc/%Y/%m/%d/%H.mp4 + maxUsage: 95 +video0: + enabled: true + codec: h264 + bitrate: 2048 + rcMode: vbr + size: 1920x1080 + fps: 25 +video1: + enabled: false +jpeg: + enabled: true +mjpeg: + size: 640x360 + fps: 5 + bitrate: 1024 +audio: + enabled: true + volume: 40 + srate: 8000 + speakerPinInvert: false + codec: alaw + outputEnabled: false +rtsp: + enabled: true + port: 554 +hls: + enabled: false +youtube: + enabled: false +motionDetect: + enabled: false + visualize: false + debug: true +ipeye: + enabled: false +watchdog: + enabled: true + timeout: 10 diff --git a/projects/gk7205v200_ultimate_baresip/general/overlay/usr/bin/baresip2 b/projects/gk7205v200_ultimate_baresip/general/overlay/usr/bin/baresip2 new file mode 100755 index 0000000..a8d1ea9 --- /dev/null +++ b/projects/gk7205v200_ultimate_baresip/general/overlay/usr/bin/baresip2 @@ -0,0 +1,3 @@ +#!/bin/sh + +echo BARESIP diff --git a/projects/gk7205v200_ultimate_baresip/general/scripts/rootfs_script.sh b/projects/gk7205v200_ultimate_baresip/general/scripts/rootfs_script.sh new file mode 100755 index 0000000..a9608e6 --- /dev/null +++ b/projects/gk7205v200_ultimate_baresip/general/scripts/rootfs_script.sh @@ -0,0 +1,22 @@ +#!/bin/bash + +DATE=$(date +%y.%m.%d) +FILE=${TARGET_DIR}/usr/lib/os-release + +echo OPENIPC_VERSION=${DATE:0:1}.${DATE:1} >> ${FILE} +date +GITHUB_VERSION="\"${GIT_BRANCH-local}+${GIT_HASH-build}, %Y-%m-%d"\" >> ${FILE} +echo BUILD_OPTION=${OPENIPC_FLAVOR} >> ${FILE} +date +TIME_STAMP=%s >> ${FILE} + +CONF="INGENIC_OSDRV_T30=y|LIBV4L=y|MAVLINK_ROUTER=y|WIFIBROADCAST=y|WEBRTC_AUDIO_PROCESSING=y" +if ! grep -q "USES_GLIBC" ${BR2_CONFIG} && ! grep -qP ${CONF} ${BR2_CONFIG}; then + rm -f ${TARGET_DIR}/usr/lib/libstdc++* +fi + +if grep -q "USES_MUSL" ${BR2_CONFIG}; then + LIST=${BR2_EXTERNAL}/scripts/excludes/${OPENIPC_SOC_MODEL}_${OPENIPC_FLAVOR}.list + test -e ${LIST} && xargs -a ${LIST} -I % rm -rf ${TARGET_DIR}/% + + ln -sf /lib/libc.so ${TARGET_DIR}/lib/ld-uClibc.so.0 + ln -sf ../../lib/libc.so ${TARGET_DIR}/usr/bin/ldd +fi