From e504c970f88c550c75005baa3c59fb375958b77b Mon Sep 17 00:00:00 2001 From: "Igor Zalatov (from Citadel PC)" Date: Tue, 16 May 2023 18:51:10 +0300 Subject: [PATCH] Rename baresip projects --- .../configs/gk7205v200_baresip_defconfig} | 1 + .../general/overlay/etc/composer.ini | 0 .../configs/msc313e_baresip_defconfig | 114 ++++++++++++++++++ .../general/overlay/etc/composer.ini | 2 + .../configs/t31_baresip_defconfig | 9 +- workplace/scripts/repack_t31_baresip | 17 +++ 6 files changed, 137 insertions(+), 6 deletions(-) rename projects/{gk7205v200_lite_baresip/br-ext-chip-goke/configs/gk7205v200_lite_baresip_defconfig => gk7205v200_baresip/br-ext-chip-goke/configs/gk7205v200_baresip_defconfig} (99%) rename projects/{gk7205v200_lite_baresip => gk7205v200_baresip}/general/overlay/etc/composer.ini (100%) create mode 100644 projects/msc313e_baresip/br-ext-chip-sigmastar/configs/msc313e_baresip_defconfig create mode 100644 projects/msc313e_baresip/general/overlay/etc/composer.ini create mode 100755 workplace/scripts/repack_t31_baresip diff --git a/projects/gk7205v200_lite_baresip/br-ext-chip-goke/configs/gk7205v200_lite_baresip_defconfig b/projects/gk7205v200_baresip/br-ext-chip-goke/configs/gk7205v200_baresip_defconfig similarity index 99% rename from projects/gk7205v200_lite_baresip/br-ext-chip-goke/configs/gk7205v200_lite_baresip_defconfig rename to projects/gk7205v200_baresip/br-ext-chip-goke/configs/gk7205v200_baresip_defconfig index 520f919..47c7ed0 100644 --- a/projects/gk7205v200_lite_baresip/br-ext-chip-goke/configs/gk7205v200_lite_baresip_defconfig +++ b/projects/gk7205v200_baresip/br-ext-chip-goke/configs/gk7205v200_baresip_defconfig @@ -107,3 +107,4 @@ BR2_PACKAGE_ZLIB=y BR2_PACKAGE_BARESIP_OPENIPC=y BR2_PACKAGE_LIBRE_OPENIPC=y BR2_PACKAGE_LIBREM_OPENIPC=y +WEBRTC_AUDIO_PROCESSING=y diff --git a/projects/gk7205v200_lite_baresip/general/overlay/etc/composer.ini b/projects/gk7205v200_baresip/general/overlay/etc/composer.ini similarity index 100% rename from projects/gk7205v200_lite_baresip/general/overlay/etc/composer.ini rename to projects/gk7205v200_baresip/general/overlay/etc/composer.ini diff --git a/projects/msc313e_baresip/br-ext-chip-sigmastar/configs/msc313e_baresip_defconfig b/projects/msc313e_baresip/br-ext-chip-sigmastar/configs/msc313e_baresip_defconfig new file mode 100644 index 0000000..56c2d8f --- /dev/null +++ b/projects/msc313e_baresip/br-ext-chip-sigmastar/configs/msc313e_baresip_defconfig @@ -0,0 +1,114 @@ +# 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="3.18.30" +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_18=y + +# Toolchain +BR2_PER_PACKAGE_DIRECTORIES=y +BR2_GCC_VERSION_8_X=y +BR2_TOOLCHAIN_USES_UCLIBC=y +BR2_TOOLCHAIN_BUILDROOT_UCLIBC=y +BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" +# BR2_TOOLCHAIN_USES_MUSL is not set +# BR2_TOOLCHAIN_BUILDROOT_MUSL is not set +# 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_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.18.30" +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_VENDOR_PATH)/board/infinity3/kernel/msc313e.generic.config" +BR2_LINUX_KERNEL_UIMAGE=y +BR2_LINUX_KERNEL_XZ=y +BR2_LINUX_KERNEL_EXT_VENDOR_PATCHER=y + +# 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_GENERAL_PATH)/overlay" +BR2_ROOTFS_POST_BUILD_SCRIPT="$(BR2_EXTERNAL_SCRIPTS_PATH)/executing_commands_for_$(BR2_TOOLCHAIN_BUILDROOT_LIBC).sh" + +# OpenIPC configuration +BR2_TOOLCHAIN_BUILDROOT_VENDOR="openipc" +BR2_TARGET_GENERIC_ISSUE="Welcome to OpenIPC" +BR2_TARGET_GENERIC_HOSTNAME="openipc-msc313e" +BR2_GLOBAL_PATCH_DIR="$(BR2_EXTERNAL_GENERAL_PATH)/package/all-patches" + +# OpenIPC packages +BR2_PACKAGE_BUSYBOX_CONFIG="$(BR2_EXTERNAL_GENERAL_PATH)/package/busybox/busybox.config" +BR2_PACKAGE_DROPBEAR_OPENIPC=y +# BR2_PACKAGE_FDK_AAC_OPENIPC is not set +BR2_PACKAGE_FWPRINTENV_OPENIPC=y +BR2_PACKAGE_HASERL=y +BR2_PACKAGE_IPCTOOL=y +BR2_PACKAGE_JSON_C=y +BR2_PACKAGE_JSONFILTER=y +# BR2_PACKAGE_LAME_OPENIPC is not set +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 is not set +# BR2_PACKAGE_LIBEVENT_OPENIPC_REMOVE_PYSCRIPT is not set +# BR2_PACKAGE_LIBOGG_OPENIPC is not set +BR2_PACKAGE_LIBYAML=y +# BR2_PACKAGE_MAJESTIC_FONTS is not set +# BR2_PACKAGE_MAJESTIC is not set +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 is not set +# BR2_PACKAGE_OPUS_OPENIPC_FIXED_POINT is not set +# BR2_PACKAGE_SIGMASTAR_OSDRV_MSC313E is not set +# BR2_PACKAGE_SSHPASS is not set +# BR2_PACKAGE_UACME_OPENIPC is not set +BR2_PACKAGE_VTUND_OPENIPC=y +BR2_PACKAGE_YAML_CLI=y + +# WiFi +# BR2_PACKAGE_WIRELESS_TOOLS is not set +# BR2_PACKAGE_WPA_SUPPLICANT is not set +# BR2_PACKAGE_WPA_SUPPLICANT_CLI is not set +# BR2_PACKAGE_WPA_SUPPLICANT_NL80211 is not set +# BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE is not set +# BR2_PACKAGE_LINUX_FIRMWARE_OPENIPC is not set +# BR2_PACKAGE_LINUX_FIRMWARE_OPENIPC_MT7601U is not set +# BR2_PACKAGE_RTL8188EU is not set +# BR2_PACKAGE_RTL8192EU_OPENIPC is not set + +# WIREGUARD +# BR2_PACKAGE_WIREGUARD_LINUX_COMPAT is not set +# BR2_PACKAGE_WIREGUARD_TOOLS is not set + +# DEBUG +BR2_PACKAGE_HOST_GDB=y +BR2_PACKAGE_GDB=y + +BR2_PACKAGE_ZLIB=y + +# BARESIP +BR2_PACKAGE_BARESIP_OPENIPC=y +BR2_PACKAGE_LIBRE_OPENIPC=y +BR2_PACKAGE_LIBREM_OPENIPC=y +WEBRTC_AUDIO_PROCESSING=y + +# MQTT +BR2_PACKAGE_MOSQUITTO=y +# BR2_PACKAGE_MOSQUITTO_BROKER is not set diff --git a/projects/msc313e_baresip/general/overlay/etc/composer.ini b/projects/msc313e_baresip/general/overlay/etc/composer.ini new file mode 100644 index 0000000..8e6afdb --- /dev/null +++ b/projects/msc313e_baresip/general/overlay/etc/composer.ini @@ -0,0 +1,2 @@ +# +composer_message="This firmware was created with the Composer project." diff --git a/projects/t31_baresip/br-ext-chip-ingenic/configs/t31_baresip_defconfig b/projects/t31_baresip/br-ext-chip-ingenic/configs/t31_baresip_defconfig index db1c87f..2ed54bb 100644 --- a/projects/t31_baresip/br-ext-chip-ingenic/configs/t31_baresip_defconfig +++ b/projects/t31_baresip/br-ext-chip-ingenic/configs/t31_baresip_defconfig @@ -13,12 +13,9 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_10=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y BR2_GCC_VERSION_8_X=y -BR2_TOOLCHAIN_USES_UCLIBC=y -BR2_TOOLCHAIN_BUILDROOT_UCLIBC=y -BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" -# BR2_TOOLCHAIN_USES_MUSL is not set -# BR2_TOOLCHAIN_BUILDROOT_MUSL is not set -# BR2_TOOLCHAIN_BUILDROOT_LIBC="musl" +BR2_TOOLCHAIN_USES_MUSL=y +BR2_TOOLCHAIN_BUILDROOT_MUSL=y +BR2_TOOLCHAIN_BUILDROOT_LIBC="musl" BR2_EXTRA_GCC_CONFIG_OPTIONS="--with-float=hard" BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_TOOLCHAIN_BUILDROOT_LOCALE=y diff --git a/workplace/scripts/repack_t31_baresip b/workplace/scripts/repack_t31_baresip new file mode 100755 index 0000000..d0c76d7 --- /dev/null +++ b/workplace/scripts/repack_t31_baresip @@ -0,0 +1,17 @@ +#!/bin/bash + +cd ../../openipc +pwd + +rm -rf \ + output/per-package/libre-openipc \ + output/per-package/librem-openipc \ + output/per-package/baresip-openipc \ + output/build/libre-openipc-* \ + output/build/librem-openipc-* \ + output/build/baresip-openipc-* + +BOARD=t31_baresip make br-baresip-openipc-{dirclean,rebuild} + +BOARD=t31_baresip make br-baresip-openipc-{dirclean,rebuild} +