diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c20f3183..cb586386 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,13 +6,12 @@ on: push: branches: - master + schedule: + - cron: '0 1 * * *' workflow_dispatch: env: TAG_NAME: latest - TG_TOKEN: ${{secrets.TELEGRAM_TOKEN_BOT_OPENIPC}} - TG_CHANNEL: ${{secrets.TELEGRAM_CHANNEL_OPENIPC_DEV}} - TG_OPTIONS: -s -o /dev/null -w %{http_code} jobs: buildroot: @@ -46,9 +45,11 @@ jobs: - {"platform": "ssc30kd", "release": "lite"} - {"platform": "ssc30kd", "release": "ultimate"} - {"platform": "ssc30kq", "release": "fpv"} + - {"platform": "ssc30kq", "release": "rubyfpv"} - {"platform": "ssc30kq", "release": "lite"} - {"platform": "ssc30kq", "release": "ultimate"} - {"platform": "ssc338q", "release": "fpv"} + - {"platform": "ssc338q", "release": "rubyfpv"} - {"platform": "ssc338q", "release": "lite"} - {"platform": "ssc338q", "release": "ultimate"} @@ -129,14 +130,17 @@ jobs: - {"platform": "gk7202v300", "release": "lite"} - {"platform": "gk7205v200", "release": "lte"} - {"platform": "gk7205v200", "release": "fpv"} + - {"platform": "gk7205v200", "release": "rubyfpv"} - {"platform": "gk7205v200", "release": "venc"} - {"platform": "gk7205v200", "release": "lite"} - {"platform": "gk7205v200", "release": "ultimate"} - {"platform": "gk7205v210", "release": "fpv"} + - {"platform": "gk7205v210", "release": "rubyfpv"} - {"platform": "gk7205v210", "release": "venc"} - {"platform": "gk7205v210", "release": "lite"} - {"platform": "gk7205v300", "release": "lte"} - {"platform": "gk7205v300", "release": "fpv"} + - {"platform": "gk7205v300", "release": "rubyfpv"} - {"platform": "gk7205v300", "release": "venc"} - {"platform": "gk7205v300", "release": "lite"} - {"platform": "gk7205v300", "release": "ultimate"} @@ -166,9 +170,11 @@ jobs: - name: Checkout source uses: actions/checkout@v4 - - name: Prepare ccache + - name: Prepare firmware run: | + echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf echo CACHE_DATE=$(date +%m) >> ${GITHUB_ENV} + make BOARD=${{matrix.platform}}_${{matrix.release}} br-source - name: Setup ccache if: github.event_name != 'pull_request' @@ -184,12 +190,6 @@ jobs: path: /tmp/ccache key: ${{matrix.platform}}_${{matrix.release}}-${{env.CACHE_DATE}} - - name: Download files - run: | - echo "8.8.8.8 invisible-mirror.net" | sudo tee -a /etc/hosts - echo "8.8.8.8 distfiles.dereferenced.org" | sudo tee -a /etc/hosts - make BOARD=${{matrix.platform}}_${{matrix.release}} br-source - - name: Build firmware run: | export GIT_HASH=$(git rev-parse --short ${GITHUB_SHA}) @@ -229,15 +229,7 @@ jobs: TG_MSG="Commit: ${GIT_HASH}\nBranch: ${GIT_BRANCH}\nTag: ${TAG_NAME}\nTime: ${TIME}\n\n" TG_ICON="\xE2\x9C\x85 GitHub Actions" TG_HEADER=$(echo -e ${TG_MSG}${TG_ICON}) - HTTP=$(curl ${TG_OPTIONS} -H "Content-Type: multipart/form-data" -X POST https://api.telegram.org/bot${TG_TOKEN}/sendDocument -F chat_id=${TG_CHANNEL} -F caption="${TG_HEADER}" -F document=@${NORFW}) - echo Telegram response: ${HTTP} - - - name: Send error - if: github.event_name != 'pull_request' && failure() - run: | - TG_WARN="Error: ${{matrix.platform}}_${{matrix.release}}\n" - TG_MSG="Commit: ${GIT_HASH}\nBranch: ${GIT_BRANCH}\nTag: ${TAG_NAME}\n\n" - TG_ICON="\xE2\x9A\xA0 GitHub Actions" - TG_HEADER=$(echo -e ${TG_WARN}${TG_MSG}${TG_ICON}) - HTTP=$(curl ${TG_OPTIONS} -H "Content-Type: multipart/form-data" -X POST https://api.telegram.org/bot${TG_TOKEN}/sendMessage -F chat_id=${TG_CHANNEL} -F text="${TG_HEADER}") + TG_TOKEN=${{secrets.TELEGRAM_TOKEN_BOT_OPENIPC}} + TG_CHANNEL=${{secrets.TELEGRAM_CHANNEL_OPENIPC_DEV}} + HTTP=$(curl -s -o /dev/null -w %{http_code} https://api.telegram.org/bot${TG_TOKEN}/sendDocument -F chat_id=${TG_CHANNEL} -F caption="${TG_HEADER}" -F document=@${NORFW}) echo Telegram response: ${HTTP} diff --git a/.github/workflows/toolchain.yml b/.github/workflows/toolchain.yml index 465f3266..773bb0f6 100644 --- a/.github/workflows/toolchain.yml +++ b/.github/workflows/toolchain.yml @@ -76,9 +76,6 @@ jobs: - name: Build toolchain run: | - echo "8.8.8.8 invisible-mirror.net" | sudo tee -a /etc/hosts - echo "8.8.8.8 distfiles.dereferenced.org" | sudo tee -a /etc/hosts - CONFIG=$(find br-ext-chip-* -name ${{matrix.platform}}_lite_defconfig) GCC=$(make BOARD=${CONFIG} toolname).tgz URL=https://github.com/${GITHUB_REPOSITORY}/releases/download/${TAG_NAME}/${GCC} diff --git a/Makefile b/Makefile index cb0f6f48..d261208b 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -BR_VER = 2024.02 +BR_VER = 2024.02.1 BR_MAKE = $(MAKE) -C $(TARGET)/buildroot-$(BR_VER) BR2_EXTERNAL=$(PWD)/general O=$(TARGET) BR_LINK = https://github.com/buildroot/buildroot/archive BR_FILE = /tmp/buildroot-$(BR_VER).tar.gz @@ -19,11 +19,6 @@ CONFIG := $(shell find br-ext-*/configs/*_defconfig | grep -m1 $(BOARD)) include $(CONFIG) endif -SUPPORTED_VENDOR = "ingenic" "sigmastar" -ifeq ($(filter $(BR2_OPENIPC_SOC_VENDOR),$(SUPPORTED_VENDOR)),) -BR_VER = 2023.02.7 -endif - all: build repack timer build: defconfig diff --git a/br-ext-chip-allwinner/configs/v83x_lite_defconfig b/br-ext-chip-allwinner/configs/v83x_lite_defconfig index 65490d87..5faf651f 100644 --- a/br-ext-chip-allwinner/configs/v83x_lite_defconfig +++ b/br-ext-chip-allwinner/configs/v83x_lite_defconfig @@ -11,7 +11,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -116,6 +116,7 @@ BR2_PACKAGE_ATBM60XX=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-allwinner/configs/v83x_ultimate_defconfig b/br-ext-chip-allwinner/configs/v83x_ultimate_defconfig index e11c2760..4c676c85 100644 --- a/br-ext-chip-allwinner/configs/v83x_ultimate_defconfig +++ b/br-ext-chip-allwinner/configs/v83x_ultimate_defconfig @@ -11,7 +11,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -116,6 +116,7 @@ BR2_PACKAGE_ATBM60XX=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # ZEROTIER BR2_PACKAGE_ZEROTIER_ONE=y diff --git a/br-ext-chip-ambarella/configs/s3l_lite_defconfig b/br-ext-chip-ambarella/configs/s3l_lite_defconfig index 91f17951..19c07272 100644 --- a/br-ext-chip-ambarella/configs/s3l_lite_defconfig +++ b/br-ext-chip-ambarella/configs/s3l_lite_defconfig @@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_10=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -110,6 +110,7 @@ BR2_PACKAGE_LINUX_FIRMWARE_OPENIPC_MEDIATEK_MT7601U=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-anyka/configs/ak3916ev300_lite_defconfig b/br-ext-chip-anyka/configs/ak3916ev300_lite_defconfig index 6d5de1f3..1b313a73 100644 --- a/br-ext-chip-anyka/configs/ak3916ev300_lite_defconfig +++ b/br-ext-chip-anyka/configs/ak3916ev300_lite_defconfig @@ -9,7 +9,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_4=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -109,6 +109,7 @@ BR2_PACKAGE_WIREGUARD_TOOLS=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-anyka/configs/ak3918ev300_lite_defconfig b/br-ext-chip-anyka/configs/ak3918ev300_lite_defconfig index e3f7842e..1abdbab8 100644 --- a/br-ext-chip-anyka/configs/ak3918ev300_lite_defconfig +++ b/br-ext-chip-anyka/configs/ak3918ev300_lite_defconfig @@ -9,7 +9,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_4=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -109,6 +109,7 @@ BR2_PACKAGE_WIREGUARD_TOOLS=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-fullhan/configs/fh8833v100_lite_defconfig b/br-ext-chip-fullhan/configs/fh8833v100_lite_defconfig index 07654f14..8f8a64ef 100644 --- a/br-ext-chip-fullhan/configs/fh8833v100_lite_defconfig +++ b/br-ext-chip-fullhan/configs/fh8833v100_lite_defconfig @@ -8,7 +8,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_0=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -106,6 +106,7 @@ BR2_PACKAGE_WIREGUARD_TOOLS=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-fullhan/configs/fh8852v100_lite_defconfig b/br-ext-chip-fullhan/configs/fh8852v100_lite_defconfig index a8c46cbe..10996a2f 100644 --- a/br-ext-chip-fullhan/configs/fh8852v100_lite_defconfig +++ b/br-ext-chip-fullhan/configs/fh8852v100_lite_defconfig @@ -8,7 +8,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_0=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -106,6 +106,7 @@ BR2_PACKAGE_WIREGUARD_TOOLS=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-fullhan/configs/fh8852v200_lite_defconfig b/br-ext-chip-fullhan/configs/fh8852v200_lite_defconfig index 5a17b724..d3170ef9 100644 --- a/br-ext-chip-fullhan/configs/fh8852v200_lite_defconfig +++ b/br-ext-chip-fullhan/configs/fh8852v200_lite_defconfig @@ -8,7 +8,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -106,6 +106,7 @@ BR2_PACKAGE_WIREGUARD_TOOLS=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-fullhan/configs/fh8852v210_lite_defconfig b/br-ext-chip-fullhan/configs/fh8852v210_lite_defconfig index c13f56d6..c6710878 100644 --- a/br-ext-chip-fullhan/configs/fh8852v210_lite_defconfig +++ b/br-ext-chip-fullhan/configs/fh8852v210_lite_defconfig @@ -8,7 +8,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -106,6 +106,7 @@ BR2_PACKAGE_WIREGUARD_TOOLS=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-fullhan/configs/fh8856v100_lite_defconfig b/br-ext-chip-fullhan/configs/fh8856v100_lite_defconfig index 32cfc0b4..a64cfc17 100644 --- a/br-ext-chip-fullhan/configs/fh8856v100_lite_defconfig +++ b/br-ext-chip-fullhan/configs/fh8856v100_lite_defconfig @@ -8,7 +8,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_0=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -106,6 +106,7 @@ BR2_PACKAGE_WIREGUARD_TOOLS=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-fullhan/configs/fh8856v200_lite_defconfig b/br-ext-chip-fullhan/configs/fh8856v200_lite_defconfig index e5651ab4..93bbd706 100644 --- a/br-ext-chip-fullhan/configs/fh8856v200_lite_defconfig +++ b/br-ext-chip-fullhan/configs/fh8856v200_lite_defconfig @@ -8,7 +8,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -106,6 +106,7 @@ BR2_PACKAGE_WIREGUARD_TOOLS=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-fullhan/configs/fh8856v210_lite_defconfig b/br-ext-chip-fullhan/configs/fh8856v210_lite_defconfig index 87a137b0..1e0fa70b 100644 --- a/br-ext-chip-fullhan/configs/fh8856v210_lite_defconfig +++ b/br-ext-chip-fullhan/configs/fh8856v210_lite_defconfig @@ -8,7 +8,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -106,6 +106,7 @@ BR2_PACKAGE_WIREGUARD_TOOLS=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-fullhan/configs/fh8858v200_lite_defconfig b/br-ext-chip-fullhan/configs/fh8858v200_lite_defconfig index 071c69ad..6338c9f2 100644 --- a/br-ext-chip-fullhan/configs/fh8858v200_lite_defconfig +++ b/br-ext-chip-fullhan/configs/fh8858v200_lite_defconfig @@ -8,7 +8,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -106,6 +106,7 @@ BR2_PACKAGE_WIREGUARD_TOOLS=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-fullhan/configs/fh8858v210_lite_defconfig b/br-ext-chip-fullhan/configs/fh8858v210_lite_defconfig index 45b292ba..64105893 100644 --- a/br-ext-chip-fullhan/configs/fh8858v210_lite_defconfig +++ b/br-ext-chip-fullhan/configs/fh8858v210_lite_defconfig @@ -8,7 +8,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -106,6 +106,7 @@ BR2_PACKAGE_WIREGUARD_TOOLS=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-goke/configs/gk7102_lite_defconfig b/br-ext-chip-goke/configs/gk7102_lite_defconfig index ef545217..6cad9bb8 100644 --- a/br-ext-chip-goke/configs/gk7102_lite_defconfig +++ b/br-ext-chip-goke/configs/gk7102_lite_defconfig @@ -8,7 +8,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_4=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -106,6 +106,7 @@ BR2_PACKAGE_WIREGUARD_TOOLS=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-goke/configs/gk7102s_lite_defconfig b/br-ext-chip-goke/configs/gk7102s_lite_defconfig index 904aa3b5..d9b3fac3 100644 --- a/br-ext-chip-goke/configs/gk7102s_lite_defconfig +++ b/br-ext-chip-goke/configs/gk7102s_lite_defconfig @@ -8,7 +8,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_4=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -106,6 +106,7 @@ BR2_PACKAGE_WIREGUARD_TOOLS=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-goke/configs/gk7202v300_lite_defconfig b/br-ext-chip-goke/configs/gk7202v300_lite_defconfig index c1488a16..e9b54230 100644 --- a/br-ext-chip-goke/configs/gk7202v300_lite_defconfig +++ b/br-ext-chip-goke/configs/gk7202v300_lite_defconfig @@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -110,6 +110,7 @@ BR2_PACKAGE_WIREGUARD_TOOLS=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-goke/configs/gk7205v200_fpv_defconfig b/br-ext-chip-goke/configs/gk7205v200_fpv_defconfig index d06dd251..e2cb4d3e 100644 --- a/br-ext-chip-goke/configs/gk7205v200_fpv_defconfig +++ b/br-ext-chip-goke/configs/gk7205v200_fpv_defconfig @@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -117,6 +117,7 @@ BR2_PACKAGE_MAVFWD=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_LIBZIP=y diff --git a/br-ext-chip-goke/configs/gk7205v200_lite_defconfig b/br-ext-chip-goke/configs/gk7205v200_lite_defconfig index f83f4aa6..ff4a3596 100644 --- a/br-ext-chip-goke/configs/gk7205v200_lite_defconfig +++ b/br-ext-chip-goke/configs/gk7205v200_lite_defconfig @@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -110,6 +110,7 @@ BR2_PACKAGE_WIREGUARD_TOOLS=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-goke/configs/gk7205v200_lte_defconfig b/br-ext-chip-goke/configs/gk7205v200_lte_defconfig index ff786cd5..25ebeeb6 100644 --- a/br-ext-chip-goke/configs/gk7205v200_lte_defconfig +++ b/br-ext-chip-goke/configs/gk7205v200_lte_defconfig @@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -120,6 +120,7 @@ BR2_PACKAGE_ZEROTIER_ONE=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_LIBZIP=y diff --git a/br-ext-chip-goke/configs/gk7205v200_original_defconfig b/br-ext-chip-goke/configs/gk7205v200_original_defconfig index 00abe61e..51239423 100644 --- a/br-ext-chip-goke/configs/gk7205v200_original_defconfig +++ b/br-ext-chip-goke/configs/gk7205v200_original_defconfig @@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" diff --git a/br-ext-chip-goke/configs/gk7205v200_rubyfpv_defconfig b/br-ext-chip-goke/configs/gk7205v200_rubyfpv_defconfig index 64ac14a1..5997f5b3 100644 --- a/br-ext-chip-goke/configs/gk7205v200_rubyfpv_defconfig +++ b/br-ext-chip-goke/configs/gk7205v200_rubyfpv_defconfig @@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -115,6 +115,7 @@ BR2_PACKAGE_RUBYFPV=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_LIBZIP=y diff --git a/br-ext-chip-goke/configs/gk7205v200_ultimate_defconfig b/br-ext-chip-goke/configs/gk7205v200_ultimate_defconfig index 67b96d72..b3fd0f42 100644 --- a/br-ext-chip-goke/configs/gk7205v200_ultimate_defconfig +++ b/br-ext-chip-goke/configs/gk7205v200_ultimate_defconfig @@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -126,6 +126,7 @@ BR2_PACKAGE_ZEROTIER_ONE=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # External BR2_TOOLCHAIN_EXTERNAL=y diff --git a/br-ext-chip-goke/configs/gk7205v200_venc_defconfig b/br-ext-chip-goke/configs/gk7205v200_venc_defconfig index 35dee08a..bd7bd2ce 100644 --- a/br-ext-chip-goke/configs/gk7205v200_venc_defconfig +++ b/br-ext-chip-goke/configs/gk7205v200_venc_defconfig @@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -117,6 +117,7 @@ BR2_PACKAGE_MAVFWD=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_LIBZIP=y diff --git a/br-ext-chip-goke/configs/gk7205v210_fpv_defconfig b/br-ext-chip-goke/configs/gk7205v210_fpv_defconfig index 6bc5a51a..71c2e9e2 100644 --- a/br-ext-chip-goke/configs/gk7205v210_fpv_defconfig +++ b/br-ext-chip-goke/configs/gk7205v210_fpv_defconfig @@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -117,6 +117,7 @@ BR2_PACKAGE_MAVFWD=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_LIBZIP=y diff --git a/br-ext-chip-goke/configs/gk7205v210_lite_defconfig b/br-ext-chip-goke/configs/gk7205v210_lite_defconfig index 6ec77beb..78f93e49 100644 --- a/br-ext-chip-goke/configs/gk7205v210_lite_defconfig +++ b/br-ext-chip-goke/configs/gk7205v210_lite_defconfig @@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -110,6 +110,7 @@ BR2_PACKAGE_WIREGUARD_TOOLS=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-goke/configs/gk7205v210_rubyfpv_defconfig b/br-ext-chip-goke/configs/gk7205v210_rubyfpv_defconfig index 3647c944..7c4fa875 100644 --- a/br-ext-chip-goke/configs/gk7205v210_rubyfpv_defconfig +++ b/br-ext-chip-goke/configs/gk7205v210_rubyfpv_defconfig @@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -115,6 +115,7 @@ BR2_PACKAGE_RUBYFPV=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_LIBZIP=y diff --git a/br-ext-chip-goke/configs/gk7205v210_venc_defconfig b/br-ext-chip-goke/configs/gk7205v210_venc_defconfig index 82fd97f3..c205d840 100644 --- a/br-ext-chip-goke/configs/gk7205v210_venc_defconfig +++ b/br-ext-chip-goke/configs/gk7205v210_venc_defconfig @@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -117,6 +117,7 @@ BR2_PACKAGE_MAVFWD=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_LIBZIP=y diff --git a/br-ext-chip-goke/configs/gk7205v300_fpv_defconfig b/br-ext-chip-goke/configs/gk7205v300_fpv_defconfig index ea532df0..4247b4cf 100644 --- a/br-ext-chip-goke/configs/gk7205v300_fpv_defconfig +++ b/br-ext-chip-goke/configs/gk7205v300_fpv_defconfig @@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -117,6 +117,7 @@ BR2_PACKAGE_MAVFWD=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_LIBZIP=y diff --git a/br-ext-chip-goke/configs/gk7205v300_lite_defconfig b/br-ext-chip-goke/configs/gk7205v300_lite_defconfig index ce197c74..41b525f2 100644 --- a/br-ext-chip-goke/configs/gk7205v300_lite_defconfig +++ b/br-ext-chip-goke/configs/gk7205v300_lite_defconfig @@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -113,6 +113,7 @@ BR2_PACKAGE_WIREGUARD_TOOLS=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-goke/configs/gk7205v300_lte_defconfig b/br-ext-chip-goke/configs/gk7205v300_lte_defconfig index 54c4a1fc..0f372acb 100644 --- a/br-ext-chip-goke/configs/gk7205v300_lte_defconfig +++ b/br-ext-chip-goke/configs/gk7205v300_lte_defconfig @@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -120,6 +120,7 @@ BR2_PACKAGE_ZEROTIER_ONE=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_LIBZIP=y diff --git a/br-ext-chip-goke/configs/gk7205v300_rubyfpv_defconfig b/br-ext-chip-goke/configs/gk7205v300_rubyfpv_defconfig index cc9c6297..306b0474 100644 --- a/br-ext-chip-goke/configs/gk7205v300_rubyfpv_defconfig +++ b/br-ext-chip-goke/configs/gk7205v300_rubyfpv_defconfig @@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -115,6 +115,7 @@ BR2_PACKAGE_RUBYFPV=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_LIBZIP=y diff --git a/br-ext-chip-goke/configs/gk7205v300_ultimate_defconfig b/br-ext-chip-goke/configs/gk7205v300_ultimate_defconfig index e75d4a0e..2565bd48 100644 --- a/br-ext-chip-goke/configs/gk7205v300_ultimate_defconfig +++ b/br-ext-chip-goke/configs/gk7205v300_ultimate_defconfig @@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -126,6 +126,7 @@ BR2_PACKAGE_ZEROTIER_ONE=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # External BR2_TOOLCHAIN_EXTERNAL=y diff --git a/br-ext-chip-goke/configs/gk7205v300_venc_defconfig b/br-ext-chip-goke/configs/gk7205v300_venc_defconfig index 76c5791c..e5892852 100644 --- a/br-ext-chip-goke/configs/gk7205v300_venc_defconfig +++ b/br-ext-chip-goke/configs/gk7205v300_venc_defconfig @@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -117,6 +117,7 @@ BR2_PACKAGE_MAVFWD=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_LIBZIP=y diff --git a/br-ext-chip-goke/configs/gk7605v100_lite_defconfig b/br-ext-chip-goke/configs/gk7605v100_lite_defconfig index 961fe7a2..adb66518 100644 --- a/br-ext-chip-goke/configs/gk7605v100_lite_defconfig +++ b/br-ext-chip-goke/configs/gk7605v100_lite_defconfig @@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -110,6 +110,7 @@ BR2_PACKAGE_WIREGUARD_TOOLS=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-grainmedia/configs/gm8135_lite_defconfig b/br-ext-chip-grainmedia/configs/gm8135_lite_defconfig index f081b96a..6d17bbc2 100644 --- a/br-ext-chip-grainmedia/configs/gm8135_lite_defconfig +++ b/br-ext-chip-grainmedia/configs/gm8135_lite_defconfig @@ -7,7 +7,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_3=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y BR2_TOOLCHAIN_USES_UCLIBC=y BR2_TOOLCHAIN_BUILDROOT_UCLIBC=y BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -105,6 +105,7 @@ BR2_PACKAGE_RTL8188EU=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-grainmedia/configs/gm8136_lite_defconfig b/br-ext-chip-grainmedia/configs/gm8136_lite_defconfig index e71ffc09..e4ea8fd7 100644 --- a/br-ext-chip-grainmedia/configs/gm8136_lite_defconfig +++ b/br-ext-chip-grainmedia/configs/gm8136_lite_defconfig @@ -7,7 +7,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_3=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y BR2_TOOLCHAIN_USES_UCLIBC=y BR2_TOOLCHAIN_BUILDROOT_UCLIBC=y BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -105,6 +105,7 @@ BR2_PACKAGE_RTL8188EU=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-hisilicon/configs/hi3516av100_lite_defconfig b/br-ext-chip-hisilicon/configs/hi3516av100_lite_defconfig index 9198ce42..bcebd6ad 100644 --- a/br-ext-chip-hisilicon/configs/hi3516av100_lite_defconfig +++ b/br-ext-chip-hisilicon/configs/hi3516av100_lite_defconfig @@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -109,6 +109,7 @@ BR2_PACKAGE_WIREGUARD_TOOLS=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-hisilicon/configs/hi3516av100_ultimate_defconfig b/br-ext-chip-hisilicon/configs/hi3516av100_ultimate_defconfig index 84fe963d..7bb1cf78 100644 --- a/br-ext-chip-hisilicon/configs/hi3516av100_ultimate_defconfig +++ b/br-ext-chip-hisilicon/configs/hi3516av100_ultimate_defconfig @@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -131,6 +131,7 @@ BR2_PACKAGE_ZEROTIER_ONE=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # External BR2_TOOLCHAIN_EXTERNAL=y diff --git a/br-ext-chip-hisilicon/configs/hi3516av200_lite_defconfig b/br-ext-chip-hisilicon/configs/hi3516av200_lite_defconfig index 743b53a4..e21c6502 100644 --- a/br-ext-chip-hisilicon/configs/hi3516av200_lite_defconfig +++ b/br-ext-chip-hisilicon/configs/hi3516av200_lite_defconfig @@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_18=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -109,6 +109,7 @@ BR2_PACKAGE_WIREGUARD_TOOLS=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-hisilicon/configs/hi3516av200_ultimate_defconfig b/br-ext-chip-hisilicon/configs/hi3516av200_ultimate_defconfig index b6b7b37b..2f2bf7e9 100644 --- a/br-ext-chip-hisilicon/configs/hi3516av200_ultimate_defconfig +++ b/br-ext-chip-hisilicon/configs/hi3516av200_ultimate_defconfig @@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_18=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -131,6 +131,7 @@ BR2_PACKAGE_ZEROTIER_ONE=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # External BR2_TOOLCHAIN_EXTERNAL=y diff --git a/br-ext-chip-hisilicon/configs/hi3516av300_lite_defconfig b/br-ext-chip-hisilicon/configs/hi3516av300_lite_defconfig index d7a96ca6..4d696762 100644 --- a/br-ext-chip-hisilicon/configs/hi3516av300_lite_defconfig +++ b/br-ext-chip-hisilicon/configs/hi3516av300_lite_defconfig @@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y BR2_TOOLCHAIN_USES_GLIBC=y BR2_TOOLCHAIN_BUILDROOT_GLIBC=y BR2_TOOLCHAIN_BUILDROOT_LIBC="glibc" @@ -106,6 +106,7 @@ BR2_PACKAGE_WIREGUARD_TOOLS=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-hisilicon/configs/hi3516cv100_lite_defconfig b/br-ext-chip-hisilicon/configs/hi3516cv100_lite_defconfig index a2ed9527..8d5d7ed7 100644 --- a/br-ext-chip-hisilicon/configs/hi3516cv100_lite_defconfig +++ b/br-ext-chip-hisilicon/configs/hi3516cv100_lite_defconfig @@ -8,7 +8,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_0=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -109,6 +109,7 @@ BR2_PACKAGE_WIREGUARD_TOOLS=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-hisilicon/configs/hi3516cv200_lite_defconfig b/br-ext-chip-hisilicon/configs/hi3516cv200_lite_defconfig index 4471acfe..a5188fd9 100644 --- a/br-ext-chip-hisilicon/configs/hi3516cv200_lite_defconfig +++ b/br-ext-chip-hisilicon/configs/hi3516cv200_lite_defconfig @@ -9,7 +9,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -109,6 +109,7 @@ BR2_PACKAGE_WIREGUARD_TOOLS=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-hisilicon/configs/hi3516cv300_lite_defconfig b/br-ext-chip-hisilicon/configs/hi3516cv300_lite_defconfig index aafa4843..c8fbe38b 100644 --- a/br-ext-chip-hisilicon/configs/hi3516cv300_lite_defconfig +++ b/br-ext-chip-hisilicon/configs/hi3516cv300_lite_defconfig @@ -9,7 +9,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_18=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -108,6 +108,7 @@ BR2_PACKAGE_WIREGUARD_TOOLS=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-hisilicon/configs/hi3516cv300_mini_defconfig b/br-ext-chip-hisilicon/configs/hi3516cv300_mini_defconfig index efa1f059..0f581608 100644 --- a/br-ext-chip-hisilicon/configs/hi3516cv300_mini_defconfig +++ b/br-ext-chip-hisilicon/configs/hi3516cv300_mini_defconfig @@ -9,7 +9,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_18=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -110,6 +110,7 @@ BR2_PACKAGE_WIREGUARD_TOOLS=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-hisilicon/configs/hi3516cv300_ultimate_defconfig b/br-ext-chip-hisilicon/configs/hi3516cv300_ultimate_defconfig index f76d3413..0c698e67 100644 --- a/br-ext-chip-hisilicon/configs/hi3516cv300_ultimate_defconfig +++ b/br-ext-chip-hisilicon/configs/hi3516cv300_ultimate_defconfig @@ -9,7 +9,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_18=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -129,6 +129,7 @@ BR2_PACKAGE_ZEROTIER_ONE=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # External BR2_TOOLCHAIN_EXTERNAL=y diff --git a/br-ext-chip-hisilicon/configs/hi3516cv500_lite_defconfig b/br-ext-chip-hisilicon/configs/hi3516cv500_lite_defconfig index 81a6284e..0a562439 100644 --- a/br-ext-chip-hisilicon/configs/hi3516cv500_lite_defconfig +++ b/br-ext-chip-hisilicon/configs/hi3516cv500_lite_defconfig @@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y BR2_TOOLCHAIN_USES_GLIBC=y BR2_TOOLCHAIN_BUILDROOT_GLIBC=y BR2_TOOLCHAIN_BUILDROOT_LIBC="glibc" @@ -105,6 +105,7 @@ BR2_PACKAGE_WIREGUARD_TOOLS=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-hisilicon/configs/hi3516dv100_lite_defconfig b/br-ext-chip-hisilicon/configs/hi3516dv100_lite_defconfig index 0e19a799..a5d51596 100644 --- a/br-ext-chip-hisilicon/configs/hi3516dv100_lite_defconfig +++ b/br-ext-chip-hisilicon/configs/hi3516dv100_lite_defconfig @@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -109,6 +109,7 @@ BR2_PACKAGE_WIREGUARD_TOOLS=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-hisilicon/configs/hi3516dv100_ultimate_defconfig b/br-ext-chip-hisilicon/configs/hi3516dv100_ultimate_defconfig index 6e99a462..f7bbefc2 100644 --- a/br-ext-chip-hisilicon/configs/hi3516dv100_ultimate_defconfig +++ b/br-ext-chip-hisilicon/configs/hi3516dv100_ultimate_defconfig @@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -131,6 +131,7 @@ BR2_PACKAGE_ZEROTIER_ONE=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # External BR2_TOOLCHAIN_EXTERNAL=y diff --git a/br-ext-chip-hisilicon/configs/hi3516dv200_lite_defconfig b/br-ext-chip-hisilicon/configs/hi3516dv200_lite_defconfig index da8ca68f..359ed544 100644 --- a/br-ext-chip-hisilicon/configs/hi3516dv200_lite_defconfig +++ b/br-ext-chip-hisilicon/configs/hi3516dv200_lite_defconfig @@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -110,6 +110,7 @@ BR2_PACKAGE_WIREGUARD_TOOLS=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-hisilicon/configs/hi3516dv300_lite_defconfig b/br-ext-chip-hisilicon/configs/hi3516dv300_lite_defconfig index 2d0c0242..236ec005 100644 --- a/br-ext-chip-hisilicon/configs/hi3516dv300_lite_defconfig +++ b/br-ext-chip-hisilicon/configs/hi3516dv300_lite_defconfig @@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y BR2_TOOLCHAIN_USES_GLIBC=y BR2_TOOLCHAIN_BUILDROOT_GLIBC=y BR2_TOOLCHAIN_BUILDROOT_LIBC="glibc" @@ -105,6 +105,7 @@ BR2_PACKAGE_WIREGUARD_TOOLS=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-hisilicon/configs/hi3516ev100_lite_defconfig b/br-ext-chip-hisilicon/configs/hi3516ev100_lite_defconfig index eff23f5a..d804c4bd 100644 --- a/br-ext-chip-hisilicon/configs/hi3516ev100_lite_defconfig +++ b/br-ext-chip-hisilicon/configs/hi3516ev100_lite_defconfig @@ -9,7 +9,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_18=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -112,6 +112,7 @@ BR2_PACKAGE_MOSQUITTO=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-hisilicon/configs/hi3516ev200_fpv_defconfig b/br-ext-chip-hisilicon/configs/hi3516ev200_fpv_defconfig index 04396e30..a24a857f 100644 --- a/br-ext-chip-hisilicon/configs/hi3516ev200_fpv_defconfig +++ b/br-ext-chip-hisilicon/configs/hi3516ev200_fpv_defconfig @@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -107,7 +107,7 @@ BR2_PACKAGE_RTL8812AU_OPENIPC=y # FPV BR2_PACKAGE_DATALINK=y BR2_PACKAGE_WIFIBROADCAST=y -BR2_PACKAGE_MAVLINK_ROUTER=y +# BR2_PACKAGE_MAVLINK_ROUTER is not set BR2_PACKAGE_MAVFWD=y # DEBUG @@ -117,6 +117,7 @@ BR2_PACKAGE_MAVFWD=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_LIBZIP=y diff --git a/br-ext-chip-hisilicon/configs/hi3516ev200_lite_defconfig b/br-ext-chip-hisilicon/configs/hi3516ev200_lite_defconfig index bb4e3f70..6b912fef 100644 --- a/br-ext-chip-hisilicon/configs/hi3516ev200_lite_defconfig +++ b/br-ext-chip-hisilicon/configs/hi3516ev200_lite_defconfig @@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -110,6 +110,7 @@ BR2_PACKAGE_WIREGUARD_TOOLS=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-hisilicon/configs/hi3516ev200_lte_defconfig b/br-ext-chip-hisilicon/configs/hi3516ev200_lte_defconfig index 12ff8241..c85b38ea 100644 --- a/br-ext-chip-hisilicon/configs/hi3516ev200_lte_defconfig +++ b/br-ext-chip-hisilicon/configs/hi3516ev200_lte_defconfig @@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -120,6 +120,7 @@ BR2_PACKAGE_ZEROTIER_ONE=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_LIBZIP=y diff --git a/br-ext-chip-hisilicon/configs/hi3516ev200_ultimate_defconfig b/br-ext-chip-hisilicon/configs/hi3516ev200_ultimate_defconfig index 591a3250..7302f9fb 100644 --- a/br-ext-chip-hisilicon/configs/hi3516ev200_ultimate_defconfig +++ b/br-ext-chip-hisilicon/configs/hi3516ev200_ultimate_defconfig @@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -131,6 +131,7 @@ BR2_PACKAGE_ZEROTIER_ONE=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # External BR2_TOOLCHAIN_EXTERNAL=y diff --git a/br-ext-chip-hisilicon/configs/hi3516ev300_dev_defconfig b/br-ext-chip-hisilicon/configs/hi3516ev300_dev_defconfig index dc5ebbd5..43a417ba 100644 --- a/br-ext-chip-hisilicon/configs/hi3516ev300_dev_defconfig +++ b/br-ext-chip-hisilicon/configs/hi3516ev300_dev_defconfig @@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -116,6 +116,7 @@ BR2_PACKAGE_RTL8188EUS_OPENIPC=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-hisilicon/configs/hi3516ev300_fpv_defconfig b/br-ext-chip-hisilicon/configs/hi3516ev300_fpv_defconfig index 12e0657e..52bc263e 100644 --- a/br-ext-chip-hisilicon/configs/hi3516ev300_fpv_defconfig +++ b/br-ext-chip-hisilicon/configs/hi3516ev300_fpv_defconfig @@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -107,7 +107,7 @@ BR2_PACKAGE_RTL8812AU_OPENIPC=y # FPV BR2_PACKAGE_DATALINK=y BR2_PACKAGE_WIFIBROADCAST=y -BR2_PACKAGE_MAVLINK_ROUTER=y +# BR2_PACKAGE_MAVLINK_ROUTER is not set BR2_PACKAGE_MAVFWD=y # DEBUG @@ -117,6 +117,7 @@ BR2_PACKAGE_MAVFWD=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_LIBZIP=y diff --git a/br-ext-chip-hisilicon/configs/hi3516ev300_glibc_defconfig b/br-ext-chip-hisilicon/configs/hi3516ev300_glibc_defconfig index ce1cddf1..ba1d67c3 100644 --- a/br-ext-chip-hisilicon/configs/hi3516ev300_glibc_defconfig +++ b/br-ext-chip-hisilicon/configs/hi3516ev300_glibc_defconfig @@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -115,6 +115,7 @@ BR2_PACKAGE_WIREGUARD_TOOLS=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-hisilicon/configs/hi3516ev300_lite_defconfig b/br-ext-chip-hisilicon/configs/hi3516ev300_lite_defconfig index 00fcca7b..43f66955 100644 --- a/br-ext-chip-hisilicon/configs/hi3516ev300_lite_defconfig +++ b/br-ext-chip-hisilicon/configs/hi3516ev300_lite_defconfig @@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -113,6 +113,7 @@ BR2_PACKAGE_WIREGUARD_TOOLS=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-hisilicon/configs/hi3516ev300_lte_defconfig b/br-ext-chip-hisilicon/configs/hi3516ev300_lte_defconfig index da6a8a1e..ae0b3146 100644 --- a/br-ext-chip-hisilicon/configs/hi3516ev300_lte_defconfig +++ b/br-ext-chip-hisilicon/configs/hi3516ev300_lte_defconfig @@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -120,6 +120,7 @@ BR2_PACKAGE_ZEROTIER_ONE=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_LIBZIP=y diff --git a/br-ext-chip-hisilicon/configs/hi3516ev300_ultimate_defconfig b/br-ext-chip-hisilicon/configs/hi3516ev300_ultimate_defconfig index cc127935..b586f8da 100644 --- a/br-ext-chip-hisilicon/configs/hi3516ev300_ultimate_defconfig +++ b/br-ext-chip-hisilicon/configs/hi3516ev300_ultimate_defconfig @@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -136,6 +136,7 @@ BR2_PACKAGE_ZEROTIER_ONE=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # External BR2_TOOLCHAIN_EXTERNAL=y diff --git a/br-ext-chip-hisilicon/configs/hi3518cv100_lite_defconfig b/br-ext-chip-hisilicon/configs/hi3518cv100_lite_defconfig index 345dc763..73d21310 100644 --- a/br-ext-chip-hisilicon/configs/hi3518cv100_lite_defconfig +++ b/br-ext-chip-hisilicon/configs/hi3518cv100_lite_defconfig @@ -8,7 +8,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_0=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -109,6 +109,7 @@ BR2_PACKAGE_WIREGUARD_TOOLS=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-hisilicon/configs/hi3518ev100_lite_defconfig b/br-ext-chip-hisilicon/configs/hi3518ev100_lite_defconfig index 2f742d67..dc607f15 100644 --- a/br-ext-chip-hisilicon/configs/hi3518ev100_lite_defconfig +++ b/br-ext-chip-hisilicon/configs/hi3518ev100_lite_defconfig @@ -8,7 +8,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_0=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -113,6 +113,7 @@ BR2_PACKAGE_MOSQUITTO=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-hisilicon/configs/hi3518ev200_lite_defconfig b/br-ext-chip-hisilicon/configs/hi3518ev200_lite_defconfig index 7c8675dd..66c3c55b 100644 --- a/br-ext-chip-hisilicon/configs/hi3518ev200_lite_defconfig +++ b/br-ext-chip-hisilicon/configs/hi3518ev200_lite_defconfig @@ -9,7 +9,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -110,6 +110,7 @@ BR2_PACKAGE_WIREGUARD_TOOLS=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-hisilicon/configs/hi3518ev200_mini_defconfig b/br-ext-chip-hisilicon/configs/hi3518ev200_mini_defconfig index 4c8a8a73..b61d0d8f 100644 --- a/br-ext-chip-hisilicon/configs/hi3518ev200_mini_defconfig +++ b/br-ext-chip-hisilicon/configs/hi3518ev200_mini_defconfig @@ -9,7 +9,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -112,6 +112,7 @@ BR2_PACKAGE_WIREGUARD_TOOLS=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-hisilicon/configs/hi3518ev200_ultimate_defconfig b/br-ext-chip-hisilicon/configs/hi3518ev200_ultimate_defconfig index 9da3c04b..032f24c9 100644 --- a/br-ext-chip-hisilicon/configs/hi3518ev200_ultimate_defconfig +++ b/br-ext-chip-hisilicon/configs/hi3518ev200_ultimate_defconfig @@ -9,7 +9,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -131,6 +131,7 @@ BR2_PACKAGE_ZEROTIER_ONE=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # External BR2_TOOLCHAIN_EXTERNAL=y diff --git a/br-ext-chip-hisilicon/configs/hi3518ev201_lite_defconfig b/br-ext-chip-hisilicon/configs/hi3518ev201_lite_defconfig index 9c864d34..16e24a36 100644 --- a/br-ext-chip-hisilicon/configs/hi3518ev201_lite_defconfig +++ b/br-ext-chip-hisilicon/configs/hi3518ev201_lite_defconfig @@ -9,7 +9,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -109,6 +109,7 @@ BR2_PACKAGE_WIREGUARD_TOOLS=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-hisilicon/configs/hi3518ev300_lite_defconfig b/br-ext-chip-hisilicon/configs/hi3518ev300_lite_defconfig index e2486fcf..423f4e95 100644 --- a/br-ext-chip-hisilicon/configs/hi3518ev300_lite_defconfig +++ b/br-ext-chip-hisilicon/configs/hi3518ev300_lite_defconfig @@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -112,6 +112,7 @@ BR2_PACKAGE_WIREGUARD_TOOLS=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-hisilicon/configs/hi3518ev300_ultimate_defconfig b/br-ext-chip-hisilicon/configs/hi3518ev300_ultimate_defconfig index 3cfb293e..7e37f93d 100644 --- a/br-ext-chip-hisilicon/configs/hi3518ev300_ultimate_defconfig +++ b/br-ext-chip-hisilicon/configs/hi3518ev300_ultimate_defconfig @@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -134,6 +134,7 @@ BR2_PACKAGE_ZEROTIER_ONE=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # External BR2_TOOLCHAIN_EXTERNAL=y diff --git a/br-ext-chip-hisilicon/configs/hi3519v101_lite_defconfig b/br-ext-chip-hisilicon/configs/hi3519v101_lite_defconfig index 2404bf7c..29680cb9 100644 --- a/br-ext-chip-hisilicon/configs/hi3519v101_lite_defconfig +++ b/br-ext-chip-hisilicon/configs/hi3519v101_lite_defconfig @@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_18=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -108,6 +108,7 @@ BR2_PACKAGE_WIREGUARD_TOOLS=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-hisilicon/configs/hi3520dv200_lite_defconfig b/br-ext-chip-hisilicon/configs/hi3520dv200_lite_defconfig index 31fd59e7..f3775262 100644 --- a/br-ext-chip-hisilicon/configs/hi3520dv200_lite_defconfig +++ b/br-ext-chip-hisilicon/configs/hi3520dv200_lite_defconfig @@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_0=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -109,6 +109,7 @@ BR2_PACKAGE_LINUX_FIRMWARE_OPENIPC_MEDIATEK_MT7601U=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-hisilicon/configs/hi3536cv100_lite_defconfig b/br-ext-chip-hisilicon/configs/hi3536cv100_lite_defconfig index 7c509b0b..7dd30e92 100644 --- a/br-ext-chip-hisilicon/configs/hi3536cv100_lite_defconfig +++ b/br-ext-chip-hisilicon/configs/hi3536cv100_lite_defconfig @@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_18=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -110,6 +110,7 @@ BR2_PACKAGE_LINUX_FIRMWARE_OPENIPC_MEDIATEK_MT7601U=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-hisilicon/configs/hi3536dv100_fpv_defconfig b/br-ext-chip-hisilicon/configs/hi3536dv100_fpv_defconfig index 0eb543a3..377bbaf3 100644 --- a/br-ext-chip-hisilicon/configs/hi3536dv100_fpv_defconfig +++ b/br-ext-chip-hisilicon/configs/hi3536dv100_fpv_defconfig @@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y BR2_TOOLCHAIN_USES_GLIBC=y BR2_TOOLCHAIN_BUILDROOT_GLIBC=y BR2_TOOLCHAIN_BUILDROOT_LIBC="glibc" @@ -129,6 +129,7 @@ BR2_PACKAGE_ZEROTIER_ONE=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-hisilicon/configs/hi3536dv100_lite_defconfig b/br-ext-chip-hisilicon/configs/hi3536dv100_lite_defconfig index f0e5ec16..ecb7e083 100644 --- a/br-ext-chip-hisilicon/configs/hi3536dv100_lite_defconfig +++ b/br-ext-chip-hisilicon/configs/hi3536dv100_lite_defconfig @@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -111,6 +111,7 @@ BR2_PACKAGE_LINUX_FIRMWARE_OPENIPC_MEDIATEK_MT7601U=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-ingenic/board/t21/kernel/t21.generic.config b/br-ext-chip-ingenic/board/t21/kernel/t21.generic.config index 0ecd5401..ce7a0b7d 100644 --- a/br-ext-chip-ingenic/board/t21/kernel/t21.generic.config +++ b/br-ext-chip-ingenic/board/t21/kernel/t21.generic.config @@ -1140,8 +1140,8 @@ CONFIG_MFD_CORE=y # CONFIG_MFD_MC13XXX_I2C is not set # CONFIG_HTC_PASIC3 is not set # CONFIG_HTC_I2CPLD is not set -# CONFIG_MFD_JZ_SADC_V13 is not set -# CONFIG_MFD_JZ_SADC_AUX is not set +CONFIG_MFD_JZ_SADC_V13=y +CONFIG_MFD_JZ_SADC_AUX=y CONFIG_MFD_JZ_TCU=y # CONFIG_MFD_88PM800 is not set # CONFIG_MFD_88PM805 is not set diff --git a/br-ext-chip-ingenic/board/t31/kernel/t31.generic.config b/br-ext-chip-ingenic/board/t31/kernel/t31.generic.config index b5382a76..a6198a46 100644 --- a/br-ext-chip-ingenic/board/t31/kernel/t31.generic.config +++ b/br-ext-chip-ingenic/board/t31/kernel/t31.generic.config @@ -1170,8 +1170,8 @@ CONFIG_MFD_CORE=y # CONFIG_MFD_MC13XXX_I2C is not set # CONFIG_HTC_PASIC3 is not set # CONFIG_HTC_I2CPLD is not set -# CONFIG_MFD_JZ_SADC_V13 is not set -# CONFIG_MFD_JZ_SADC_AUX is not set +CONFIG_MFD_JZ_SADC_V13=y +CONFIG_MFD_JZ_SADC_AUX=y CONFIG_MFD_JZ_TCU=y # CONFIG_MFD_88PM800 is not set # CONFIG_MFD_88PM805 is not set diff --git a/br-ext-chip-ingenic/board/t40/kernel/t40.generic.config b/br-ext-chip-ingenic/board/t40/kernel/t40.generic.config index 39e248d7..d027af78 100644 --- a/br-ext-chip-ingenic/board/t40/kernel/t40.generic.config +++ b/br-ext-chip-ingenic/board/t40/kernel/t40.generic.config @@ -1267,8 +1267,8 @@ CONFIG_MFD_CORE=y # CONFIG_HTC_PASIC3 is not set # CONFIG_HTC_I2CPLD is not set # CONFIG_INTEL_SOC_PMIC is not set -# CONFIG_MFD_INGENIC_SADC_V13 is not set -# CONFIG_MFD_INGENIC_SADC_AUX is not set +CONFIG_MFD_INGENIC_SADC_V13=y +CONFIG_MFD_INGENIC_SADC_AUX=y CONFIG_MFD_INGENIC_TCU=y # CONFIG_MFD_KEMPLD is not set # CONFIG_MFD_88PM800 is not set diff --git a/br-ext-chip-ingenic/configs/t10_lite_defconfig b/br-ext-chip-ingenic/configs/t10_lite_defconfig index ee97ef54..356c0835 100644 --- a/br-ext-chip-ingenic/configs/t10_lite_defconfig +++ b/br-ext-chip-ingenic/configs/t10_lite_defconfig @@ -108,7 +108,6 @@ BR2_PACKAGE_WIREGUARD_LINUX_COMPAT=y BR2_PACKAGE_WIREGUARD_TOOLS=y # DEBUG -BR2_PACKAGE_INGENIC_PWM=y BR2_PACKAGE_LOGCAT_OPENIPC=y # BR2_PACKAGE_HOST_GDB is not set # BR2_PACKAGE_GDB is not set diff --git a/br-ext-chip-ingenic/configs/t20_lite_defconfig b/br-ext-chip-ingenic/configs/t20_lite_defconfig index c1882bae..af3e821b 100644 --- a/br-ext-chip-ingenic/configs/t20_lite_defconfig +++ b/br-ext-chip-ingenic/configs/t20_lite_defconfig @@ -108,7 +108,6 @@ BR2_PACKAGE_WIREGUARD_LINUX_COMPAT=y BR2_PACKAGE_WIREGUARD_TOOLS=y # DEBUG -BR2_PACKAGE_INGENIC_PWM=y BR2_PACKAGE_LOGCAT_OPENIPC=y # BR2_PACKAGE_HOST_GDB is not set # BR2_PACKAGE_GDB is not set diff --git a/br-ext-chip-ingenic/configs/t20_ultimate_defconfig b/br-ext-chip-ingenic/configs/t20_ultimate_defconfig index 62de2784..d81350cb 100644 --- a/br-ext-chip-ingenic/configs/t20_ultimate_defconfig +++ b/br-ext-chip-ingenic/configs/t20_ultimate_defconfig @@ -124,7 +124,6 @@ BR2_PACKAGE_ZEROTIER_ONE=y # DEBUG BR2_PACKAGE_LOGCAT_OPENIPC=y -BR2_PACKAGE_INGENIC_PWM=y # BR2_PACKAGE_HOST_GDB is not set # BR2_PACKAGE_GDB is not set diff --git a/br-ext-chip-ingenic/configs/t21_lite_defconfig b/br-ext-chip-ingenic/configs/t21_lite_defconfig index fcb9308f..acb0488c 100644 --- a/br-ext-chip-ingenic/configs/t21_lite_defconfig +++ b/br-ext-chip-ingenic/configs/t21_lite_defconfig @@ -108,7 +108,6 @@ BR2_PACKAGE_WIREGUARD_LINUX_COMPAT=y BR2_PACKAGE_WIREGUARD_TOOLS=y # DEBUG -BR2_PACKAGE_INGENIC_PWM=y BR2_PACKAGE_LOGCAT_OPENIPC=y # BR2_PACKAGE_HOST_GDB is not set # BR2_PACKAGE_GDB is not set diff --git a/br-ext-chip-ingenic/configs/t21_ultimate_defconfig b/br-ext-chip-ingenic/configs/t21_ultimate_defconfig index f2b35f03..243a7ccf 100644 --- a/br-ext-chip-ingenic/configs/t21_ultimate_defconfig +++ b/br-ext-chip-ingenic/configs/t21_ultimate_defconfig @@ -111,7 +111,6 @@ BR2_PACKAGE_WIREGUARD_LINUX_COMPAT=y BR2_PACKAGE_WIREGUARD_TOOLS=y # DEBUG -BR2_PACKAGE_INGENIC_PWM=y BR2_PACKAGE_LOGCAT_OPENIPC=y # BR2_PACKAGE_HOST_GDB is not set # BR2_PACKAGE_GDB is not set diff --git a/br-ext-chip-ingenic/configs/t30_lite_defconfig b/br-ext-chip-ingenic/configs/t30_lite_defconfig index 80284103..0433cccc 100644 --- a/br-ext-chip-ingenic/configs/t30_lite_defconfig +++ b/br-ext-chip-ingenic/configs/t30_lite_defconfig @@ -108,7 +108,6 @@ BR2_PACKAGE_WIREGUARD_LINUX_COMPAT=y BR2_PACKAGE_WIREGUARD_TOOLS=y # DEBUG -BR2_PACKAGE_INGENIC_PWM=y BR2_PACKAGE_LOGCAT_OPENIPC=y # BR2_PACKAGE_HOST_GDB is not set # BR2_PACKAGE_GDB is not set diff --git a/br-ext-chip-ingenic/configs/t31_fpv_defconfig b/br-ext-chip-ingenic/configs/t31_fpv_defconfig index b772d6ea..cab61b07 100644 --- a/br-ext-chip-ingenic/configs/t31_fpv_defconfig +++ b/br-ext-chip-ingenic/configs/t31_fpv_defconfig @@ -114,6 +114,7 @@ BR2_PACKAGE_WIFIBROADCAST=y BR2_PACKAGE_MAVFWD=y # DEBUG +BR2_PACKAGE_LOGCAT_OPENIPC=y # BR2_PACKAGE_HOST_GDB is not set # BR2_PACKAGE_GDB is not set diff --git a/br-ext-chip-ingenic/configs/t31_lite_defconfig b/br-ext-chip-ingenic/configs/t31_lite_defconfig index 000dc32e..53844389 100644 --- a/br-ext-chip-ingenic/configs/t31_lite_defconfig +++ b/br-ext-chip-ingenic/configs/t31_lite_defconfig @@ -111,9 +111,7 @@ BR2_PACKAGE_WIREGUARD_TOOLS=y # BR2_PACKAGE_ONVIF_SIMPLE_SERVER is not set # DEBUG -BR2_PACKAGE_INGENIC_PWM=y BR2_PACKAGE_LOGCAT_OPENIPC=y -BR2_PACKAGE_INGENIC_DIAG_TOOLS=y # BR2_PACKAGE_HOST_GDB is not set # BR2_PACKAGE_GDB is not set diff --git a/br-ext-chip-ingenic/configs/t31_ultimate_defconfig b/br-ext-chip-ingenic/configs/t31_ultimate_defconfig index 988ac2af..b215d404 100644 --- a/br-ext-chip-ingenic/configs/t31_ultimate_defconfig +++ b/br-ext-chip-ingenic/configs/t31_ultimate_defconfig @@ -130,8 +130,6 @@ BR2_PACKAGE_ZEROTIER_ONE=y # DEBUG BR2_PACKAGE_LOGCAT_OPENIPC=y -BR2_PACKAGE_INGENIC_PWM=y -BR2_PACKAGE_INGENIC_DIAG_TOOLS=y # BR2_PACKAGE_HOST_GDB is not set # BR2_PACKAGE_GDB is not set diff --git a/br-ext-chip-ingenic/configs/t40_lite_defconfig b/br-ext-chip-ingenic/configs/t40_lite_defconfig index 4dfcadf1..30d2c12a 100644 --- a/br-ext-chip-ingenic/configs/t40_lite_defconfig +++ b/br-ext-chip-ingenic/configs/t40_lite_defconfig @@ -108,7 +108,6 @@ BR2_PACKAGE_WIREGUARD_LINUX_COMPAT=y BR2_PACKAGE_WIREGUARD_TOOLS=y # DEBUG -BR2_PACKAGE_INGENIC_PWM=y BR2_PACKAGE_LOGCAT_OPENIPC=y # BR2_PACKAGE_HOST_GDB is not set # BR2_PACKAGE_GDB is not set diff --git a/br-ext-chip-ingenic/configs/t40_ultimate_defconfig b/br-ext-chip-ingenic/configs/t40_ultimate_defconfig index 9d01ca61..6cc91d89 100644 --- a/br-ext-chip-ingenic/configs/t40_ultimate_defconfig +++ b/br-ext-chip-ingenic/configs/t40_ultimate_defconfig @@ -121,7 +121,6 @@ BR2_PACKAGE_ZEROTIER_ONE=y # DEBUG BR2_PACKAGE_LOGCAT_OPENIPC=y -BR2_PACKAGE_INGENIC_PWM=y # BR2_PACKAGE_HOST_GDB is not set # BR2_PACKAGE_GDB is not set diff --git a/br-ext-chip-novatek/configs/nt98562_lite_defconfig b/br-ext-chip-novatek/configs/nt98562_lite_defconfig index 1fa99157..7ada3362 100644 --- a/br-ext-chip-novatek/configs/nt98562_lite_defconfig +++ b/br-ext-chip-novatek/configs/nt98562_lite_defconfig @@ -13,7 +13,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -111,6 +111,7 @@ BR2_PACKAGE_WIREGUARD_TOOLS=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-novatek/configs/nt98566_lite_defconfig b/br-ext-chip-novatek/configs/nt98566_lite_defconfig index 81e5a0a0..59146630 100644 --- a/br-ext-chip-novatek/configs/nt98566_lite_defconfig +++ b/br-ext-chip-novatek/configs/nt98566_lite_defconfig @@ -12,7 +12,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -110,6 +110,7 @@ BR2_PACKAGE_WIREGUARD_TOOLS=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-rockchip/configs/rv1109_lite_defconfig b/br-ext-chip-rockchip/configs/rv1109_lite_defconfig index dc5e63b8..e9b4faad 100644 --- a/br-ext-chip-rockchip/configs/rv1109_lite_defconfig +++ b/br-ext-chip-rockchip/configs/rv1109_lite_defconfig @@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y BR2_GCC_ENABLE_LTO=y BR2_GCC_ENABLE_OPENMP=y BR2_GCC_ENABLE_GRAPHITE=y @@ -123,6 +123,7 @@ BR2_PACKAGE_WIREGUARD_TOOLS=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y @@ -133,6 +134,7 @@ BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC=y BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX="arm-openipc-linux-gnueabihf" BR2_TOOLCHAIN_EXTERNAL_CXX=y +BR2_TOOLCHAIN_EXTERNAL_OPENMP=y BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_19=y # BR2_TOOLCHAIN_EXTERNAL_INET_RPC is not set diff --git a/br-ext-chip-rockchip/configs/rv1126_lite_defconfig b/br-ext-chip-rockchip/configs/rv1126_lite_defconfig index ad97d99d..d8e0d7a9 100644 --- a/br-ext-chip-rockchip/configs/rv1126_lite_defconfig +++ b/br-ext-chip-rockchip/configs/rv1126_lite_defconfig @@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y BR2_GCC_ENABLE_LTO=y BR2_GCC_ENABLE_OPENMP=y BR2_GCC_ENABLE_GRAPHITE=y @@ -122,6 +122,7 @@ BR2_PACKAGE_WIREGUARD_TOOLS=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y @@ -132,6 +133,7 @@ BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC=y BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX="arm-openipc-linux-gnueabihf" BR2_TOOLCHAIN_EXTERNAL_CXX=y +BR2_TOOLCHAIN_EXTERNAL_OPENMP=y BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_19=y # BR2_TOOLCHAIN_EXTERNAL_INET_RPC is not set diff --git a/br-ext-chip-sigmastar/board/infinity6/kernel/infinity6-ssc009a.config b/br-ext-chip-sigmastar/board/infinity6/kernel/infinity6-ssc009a.config index 2d06d5d7..30380e88 100644 --- a/br-ext-chip-sigmastar/board/infinity6/kernel/infinity6-ssc009a.config +++ b/br-ext-chip-sigmastar/board/infinity6/kernel/infinity6-ssc009a.config @@ -1326,7 +1326,7 @@ CONFIG_GPIO_SYSFS=y CONFIG_WATCHDOG=y CONFIG_WATCHDOG_CORE=y CONFIG_WATCHDOG_NOWAYOUT=y -# CONFIG_WATCHDOG_SYSFS is not set +CONFIG_WATCHDOG_SYSFS=y # # Watchdog Device Drivers diff --git a/br-ext-chip-sigmastar/board/infinity6/kernel/infinity6-ssc009b.config b/br-ext-chip-sigmastar/board/infinity6/kernel/infinity6-ssc009b.config index 215b11bb..ebcee2fa 100644 --- a/br-ext-chip-sigmastar/board/infinity6/kernel/infinity6-ssc009b.config +++ b/br-ext-chip-sigmastar/board/infinity6/kernel/infinity6-ssc009b.config @@ -1326,7 +1326,7 @@ CONFIG_GPIO_SYSFS=y CONFIG_WATCHDOG=y CONFIG_WATCHDOG_CORE=y CONFIG_WATCHDOG_NOWAYOUT=y -# CONFIG_WATCHDOG_SYSFS is not set +CONFIG_WATCHDOG_SYSFS=y # # Watchdog Device Drivers diff --git a/br-ext-chip-sigmastar/board/infinity6b0/kernel/infinity6b0-ssc009a.config b/br-ext-chip-sigmastar/board/infinity6b0/kernel/infinity6b0-ssc009a.config index 987bedf0..7bd4f5b1 100644 --- a/br-ext-chip-sigmastar/board/infinity6b0/kernel/infinity6b0-ssc009a.config +++ b/br-ext-chip-sigmastar/board/infinity6b0/kernel/infinity6b0-ssc009a.config @@ -1345,7 +1345,7 @@ CONFIG_GPIO_SYSFS=y CONFIG_WATCHDOG=y CONFIG_WATCHDOG_CORE=y CONFIG_WATCHDOG_NOWAYOUT=y -# CONFIG_WATCHDOG_SYSFS is not set +CONFIG_WATCHDOG_SYSFS=y # # Watchdog Device Drivers diff --git a/br-ext-chip-sigmastar/board/infinity6b0/kernel/infinity6b0-ssc009b.config b/br-ext-chip-sigmastar/board/infinity6b0/kernel/infinity6b0-ssc009b.config index c987b5da..ecc2fee1 100644 --- a/br-ext-chip-sigmastar/board/infinity6b0/kernel/infinity6b0-ssc009b.config +++ b/br-ext-chip-sigmastar/board/infinity6b0/kernel/infinity6b0-ssc009b.config @@ -1345,7 +1345,7 @@ CONFIG_GPIO_SYSFS=y CONFIG_WATCHDOG=y CONFIG_WATCHDOG_CORE=y CONFIG_WATCHDOG_NOWAYOUT=y -# CONFIG_WATCHDOG_SYSFS is not set +CONFIG_WATCHDOG_SYSFS=y # # Watchdog Device Drivers diff --git a/br-ext-chip-sigmastar/board/infinity6c/kernel/infinity6c-ssc027a.config b/br-ext-chip-sigmastar/board/infinity6c/kernel/infinity6c-ssc027a.config index c6049b07..124a1abf 100644 --- a/br-ext-chip-sigmastar/board/infinity6c/kernel/infinity6c-ssc027a.config +++ b/br-ext-chip-sigmastar/board/infinity6c/kernel/infinity6c-ssc027a.config @@ -1492,7 +1492,7 @@ CONFIG_WATCHDOG_CORE=y CONFIG_WATCHDOG_NOWAYOUT=y CONFIG_WATCHDOG_HANDLE_BOOT_ENABLED=y CONFIG_WATCHDOG_OPEN_TIMEOUT=0 -# CONFIG_WATCHDOG_SYSFS is not set +CONFIG_WATCHDOG_SYSFS=y # # Watchdog Pretimeout Governors diff --git a/br-ext-chip-sigmastar/board/infinity6e/kernel/infinity6e-ssc012b.config b/br-ext-chip-sigmastar/board/infinity6e/kernel/infinity6e-ssc012b.config index fc44f0ce..fa389aa4 100644 --- a/br-ext-chip-sigmastar/board/infinity6e/kernel/infinity6e-ssc012b.config +++ b/br-ext-chip-sigmastar/board/infinity6e/kernel/infinity6e-ssc012b.config @@ -1355,7 +1355,7 @@ CONFIG_GPIO_SYSFS=y CONFIG_WATCHDOG=y CONFIG_WATCHDOG_CORE=y CONFIG_WATCHDOG_NOWAYOUT=y -# CONFIG_WATCHDOG_SYSFS is not set +CONFIG_WATCHDOG_SYSFS=y # # Watchdog Device Drivers diff --git a/br-ext-chip-sigmastar/configs/ssc377_lite_defconfig b/br-ext-chip-sigmastar/configs/ssc377_lite_defconfig index b552c40c..42489829 100644 --- a/br-ext-chip-sigmastar/configs/ssc377_lite_defconfig +++ b/br-ext-chip-sigmastar/configs/ssc377_lite_defconfig @@ -95,7 +95,7 @@ BR2_PACKAGE_WPA_SUPPLICANT_CLI=y BR2_PACKAGE_WPA_SUPPLICANT_NL80211=y BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE=y # BR2_PACKAGE_RTL8188FU_OPENIPC is not set -BR2_PACKAGE_SSV6X5X_OPENIPC=y +BR2_PACKAGE_SSV635X_OPENIPC=y # Debug # BR2_PACKAGE_HOST_GDB is not set diff --git a/br-ext-chip-ti/configs/dm36x_lite_defconfig b/br-ext-chip-ti/configs/dm36x_lite_defconfig index a15e6879..01fc3c22 100644 --- a/br-ext-chip-ti/configs/dm36x_lite_defconfig +++ b/br-ext-chip-ti/configs/dm36x_lite_defconfig @@ -9,7 +9,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_9=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -114,6 +114,7 @@ BR2_PACKAGE_LINUX_FIRMWARE_OPENIPC_MEDIATEK_MT7601U=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-xiongmai/configs/xm510_lite_defconfig b/br-ext-chip-xiongmai/configs/xm510_lite_defconfig index 450f8c4d..8863d7cb 100644 --- a/br-ext-chip-xiongmai/configs/xm510_lite_defconfig +++ b/br-ext-chip-xiongmai/configs/xm510_lite_defconfig @@ -8,7 +8,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_0=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -108,6 +108,7 @@ BR2_PACKAGE_YAML_CLI=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-xiongmai/configs/xm530_lite_defconfig b/br-ext-chip-xiongmai/configs/xm530_lite_defconfig index 7d775c65..416adf38 100644 --- a/br-ext-chip-xiongmai/configs/xm530_lite_defconfig +++ b/br-ext-chip-xiongmai/configs/xm530_lite_defconfig @@ -8,7 +8,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_10=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -107,6 +107,7 @@ BR2_PACKAGE_LINUX_FIRMWARE_OPENIPC_MEDIATEK_MT7601U=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/br-ext-chip-xiongmai/configs/xm550_lite_defconfig b/br-ext-chip-xiongmai/configs/xm550_lite_defconfig index 12e4ca1a..158f8f99 100644 --- a/br-ext-chip-xiongmai/configs/xm550_lite_defconfig +++ b/br-ext-chip-xiongmai/configs/xm550_lite_defconfig @@ -8,7 +8,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_10=y # Toolchain BR2_PER_PACKAGE_DIRECTORIES=y -BR2_GCC_VERSION_12_X=y +BR2_GCC_VERSION_13_X=y # BR2_TOOLCHAIN_USES_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_UCLIBC is not set # BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" @@ -107,6 +107,7 @@ BR2_PACKAGE_LINUX_FIRMWARE_OPENIPC_MEDIATEK_MT7601U=y # CCACHE BR2_CCACHE=y BR2_CCACHE_DIR="$(HOME)/.ccache" +BR2_OPTIMIZE_S=y # Compression BR2_PACKAGE_ZLIB=y diff --git a/general/external.mk b/general/external.mk index 1394fe36..cb5caa65 100644 --- a/general/external.mk +++ b/general/external.mk @@ -9,4 +9,6 @@ EXTERNAL_VENDOR := $(BR2_EXTERNAL)/../br-ext-chip-$(OPENIPC_SOC_VENDOR) OPENIPC_TOOLCHAIN := latest/$(shell $(BR2_EXTERNAL)/scripts/show_toolchains.sh $(BR2_DEFCONFIG)) OPENIPC_KERNEL := $(OPENIPC_SOC_VENDOR)-$(OPENIPC_SOC_FAMILY) +export WGET := wget --show-progress --passive-ftp -nd -t5 -T5 + include $(sort $(wildcard $(BR2_EXTERNAL)/package/*/*.mk)) diff --git a/general/overlay/etc/init.d/S01syslogd b/general/overlay/etc/init.d/S01syslogd index a14c1b0b..d0c472f1 100755 --- a/general/overlay/etc/init.d/S01syslogd +++ b/general/overlay/etc/init.d/S01syslogd @@ -2,38 +2,27 @@ DAEMON="syslogd" PIDFILE="/var/run/$DAEMON.pid" - SYSLOGD_ARGS="-C64 -t" -# shellcheck source=/dev/null -[ -r "/etc/default/$DAEMON" ] && . "/etc/default/$DAEMON" - -# BusyBox' syslogd does not create a pidfile, so pass "-n" in the command line -# and use "-m" to instruct start-stop-daemon to create one. start() { - printf 'Starting %s: ' "$DAEMON" - # shellcheck disable=SC2086 # we need the word splitting + printf "Starting $DAEMON: " start-stop-daemon -b -m -S -q -p "$PIDFILE" -x "/sbin/$DAEMON" -- -n $SYSLOGD_ARGS - status=$? - if [ "$status" -eq 0 ]; then + if [ $? = 0 ]; then echo "OK" else echo "FAIL" fi - return "$status" } stop() { - printf 'Stopping %s: ' "$DAEMON" + printf "Stopping $DAEMON: " start-stop-daemon -K -q -p "$PIDFILE" - status=$? - if [ "$status" -eq 0 ]; then + if [ $? = 0 ]; then rm -f "$PIDFILE" echo "OK" else echo "FAIL" fi - return "$status" } case "$1" in diff --git a/general/overlay/etc/init.d/S21rngd b/general/overlay/etc/init.d/S21rngd index 2da62c66..02d1f515 100755 --- a/general/overlay/etc/init.d/S21rngd +++ b/general/overlay/etc/init.d/S21rngd @@ -1,27 +1,23 @@ #!/bin/sh -NAME="rngd" -DAEMON="/usr/sbin/${NAME}" -DAEMON_ARGS="-r /dev/urandom" -CFG_FILE="/etc/default/${NAME}" -PID_FILE="/var/run/${NAME}.pid" - -# Read configuration variable file if it is present -[ -r "${CFG_FILE}" ] && . "${CFG_FILE}" +DAEMON="rngd" +PIDFILE="/var/run/$DAEMON.pid" +RNGD_ARGS="-r /dev/urandom" start() { - printf "Starting ${NAME}: " - start-stop-daemon -S -q -x "${DAEMON}" -- ${DAEMON_ARGS} - [ $? = 0 ] && echo "OK" || echo "FAIL" + printf "Starting $DAEMON: " + start-stop-daemon -S -q -x "/usr/sbin/$DAEMON" -- $RNGD_ARGS + if [ $? = 0 ]; then + echo "OK" + else + echo "FAIL" + fi } stop() { - printf "Stopping ${NAME}: " - # This daemon does not exit properly with the default TERM signal unless - # it's forced to work by something reading /dev/random. Killing it and - # removing its PID file is more straightforward. - if start-stop-daemon -K -q -s KILL -p "${PID_FILE}" -n "${NAME}"; then - rm -f "${PID_FILE}" + printf "Stopping $DAEMON: " + start-stop-daemon -K -q -n "$DAEMON" + if [ $? = 0 ]; then echo "OK" else echo "FAIL" @@ -35,11 +31,12 @@ case "$1" in restart|reload) stop + sleep 1 start ;; *) - echo "Usage: $0 {start|stop|restart|reload}" >&2 + echo "Usage: $0 {start|stop|restart|reload}" exit 1 ;; esac diff --git a/general/overlay/etc/init.d/S30customizer b/general/overlay/etc/init.d/S30customizer index 225dea4a..4123b137 100755 --- a/general/overlay/etc/init.d/S30customizer +++ b/general/overlay/etc/init.d/S30customizer @@ -2,11 +2,16 @@ case "$1" in start) - system_fb - ;; + if [ ! -e /etc/system.ok ] && [ -e /usr/share/openipc/customizer.sh ]; then + echo "Run customizer script..." + sh /usr/share/openipc/customizer.sh + touch /etc/system.ok + fi - *) - echo "Usage: $0 {start}" - exit 1 + if [ ! -e /etc/network.ok ] && [ -e /usr/share/openipc/wireless.sh ]; then + echo "Run wireless script..." + sh /usr/share/openipc/wireless.sh + touch /etc/network.ok + fi ;; esac diff --git a/general/overlay/etc/init.d/S10modules b/general/overlay/etc/init.d/S35modules similarity index 66% rename from general/overlay/etc/init.d/S10modules rename to general/overlay/etc/init.d/S35modules index acc14423..47ae9d8c 100755 --- a/general/overlay/etc/init.d/S10modules +++ b/general/overlay/etc/init.d/S35modules @@ -2,9 +2,7 @@ case "$1" in start) - printf "Loading modules:" - # load modules for detected devices - # find /sys/ -name modalias -print0 | xargs -0 sort -u -z | xargs -0 modprobe -abq + echo "Loading modules..." # load modules from /etc/modules [ -r /etc/modules ] || exit 0 diff --git a/general/overlay/etc/init.d/S40mdev b/general/overlay/etc/init.d/S40mdev index 4591ab1b..7b55a9f8 100755 --- a/general/overlay/etc/init.d/S40mdev +++ b/general/overlay/etc/init.d/S40mdev @@ -6,11 +6,4 @@ case "$1" in echo /sbin/mdev > /proc/sys/kernel/hotplug /sbin/mdev -s ;; - - *) - echo "Usage: $0 {start}" - exit 1 - ;; esac - -exit $? diff --git a/general/overlay/etc/init.d/S40network b/general/overlay/etc/init.d/S40network index 1da04b7c..44579a10 100755 --- a/general/overlay/etc/init.d/S40network +++ b/general/overlay/etc/init.d/S40network @@ -46,5 +46,3 @@ case "$1" in exit 1 ;; esac - -exit 0 diff --git a/general/overlay/etc/init.d/S49ntpd b/general/overlay/etc/init.d/S49ntpd index 0caf7eb7..186e84ce 100755 --- a/general/overlay/etc/init.d/S49ntpd +++ b/general/overlay/etc/init.d/S49ntpd @@ -2,38 +2,27 @@ DAEMON="ntpd" PIDFILE="/var/run/$DAEMON.pid" - NTPD_ARGS="-n" -# shellcheck source=/dev/null -[ -r "/etc/default/$DAEMON" ] && . "/etc/default/$DAEMON" - -# BusyBox' ntpd does not create a pidfile, so pass "-n" in the command line -# and use "-m" to instruct start-stop-daemon to create one. start() { - printf 'Starting %s: ' "$DAEMON" - # shellcheck disable=SC2086 # we need the word splitting + printf "Starting $DAEMON: " start-stop-daemon -b -m -S -q -p "$PIDFILE" -x "/usr/sbin/$DAEMON" -- $NTPD_ARGS - status=$? - if [ "$status" -eq 0 ]; then + if [ $? = 0 ]; then echo "OK" else echo "FAIL" fi - return "$status" } stop() { - printf 'Stopping %s: ' "$DAEMON" + printf "Stopping $DAEMON: " start-stop-daemon -K -q -p "$PIDFILE" - status=$? - if [ "$status" -eq 0 ]; then + if [ $? = 0 ]; then rm -f "$PIDFILE" echo "OK" else echo "FAIL" fi - return "$status" } case "$1" in @@ -41,7 +30,7 @@ case "$1" in "$1" ;; - reload) + restart|reload) stop sleep 1 start diff --git a/general/overlay/etc/init.d/S50dropbear b/general/overlay/etc/init.d/S50dropbear index b3d9fb67..8da0769c 100755 --- a/general/overlay/etc/init.d/S50dropbear +++ b/general/overlay/etc/init.d/S50dropbear @@ -1,14 +1,10 @@ #!/bin/sh -# -# Starts dropbear sshd. -# -# Allow a few customizations from a config file -test -r /etc/default/dropbear && . /etc/default/dropbear +DAEMON="dropbear" +PIDFILE="/var/run/$DAEMON.pid" +DROPBEAR_ARGS="-R -B -k -p 22 -K 300" start() { - DROPBEAR_ARGS="$DROPBEAR_ARGS -R -B -k -p 22 -K 300" - # If /etc/dropbear is a symlink to /var/run/dropbear, and # - the filesystem is RO (i.e. we can not rm the symlink), # create the directory pointed to by the symlink. @@ -24,17 +20,25 @@ start() { fi fi - printf "Starting dropbear sshd: " + printf "Starting $DAEMON: " umask 077 - start-stop-daemon -S -q -p /var/run/dropbear.pid --exec /usr/sbin/dropbear -- $DROPBEAR_ARGS - [ $? = 0 ] && echo "OK" || echo "FAIL" + start-stop-daemon -S -q -p "$PIDFILE" -x "/usr/sbin/$DAEMON" -- $DROPBEAR_ARGS + if [ $? = 0 ]; then + echo "OK" + else + echo "FAIL" + fi } stop() { - printf "Stopping dropbear sshd: " - start-stop-daemon -K -q -p /var/run/dropbear.pid - [ $? = 0 ] && echo "OK" || echo "FAIL" + printf "Stopping $DAEMON: " + start-stop-daemon -K -q -p "$PIDFILE" + if [ $? = 0 ]; then + echo "OK" + else + echo "FAIL" + fi } case "$1" in @@ -44,6 +48,7 @@ case "$1" in restart|reload) stop + sleep 1 start ;; @@ -52,5 +57,3 @@ case "$1" in exit 1 ;; esac - -exit $? diff --git a/general/overlay/etc/init.d/S60crond b/general/overlay/etc/init.d/S60crond index 4402eed7..1f3a9850 100755 --- a/general/overlay/etc/init.d/S60crond +++ b/general/overlay/etc/init.d/S60crond @@ -2,40 +2,27 @@ DAEMON="crond" PIDFILE="/var/run/$DAEMON.pid" - CROND_ARGS="-f -c /etc/crontabs" -# shellcheck source=/dev/null -[ -r "/etc/default/$DAEMON" ] && . "/etc/default/$DAEMON" - -# The mini-snmpd does not create a pidfile, so pass "-n" in the command line -# and use "-m" to instruct start-stop-daemon to create one. start() { - printf 'Starting %s: ' "$DAEMON" - [ -f /usr/sbin/$DAEMON ] || echo -en "DISABLED, " - # shellcheck disable=SC2086 # we need the word splitting + printf "Starting $DAEMON: " start-stop-daemon -b -m -S -q -p "$PIDFILE" -x "/usr/sbin/$DAEMON" -- $CROND_ARGS - status=$? - if [ "$status" -eq 0 ]; then + if [ $? = 0 ]; then echo "OK" else echo "FAIL" fi - return "$status" } stop() { - printf 'Stopping %s: ' "$DAEMON" - [ -f /usr/sbin/$DAEMON ] || echo -en "DISABLED, " + printf "Stopping $DAEMON: " start-stop-daemon -K -q -p "$PIDFILE" - status=$? - if [ "$status" -eq 0 ]; then + if [ $? = 0 ]; then rm -f "$PIDFILE" echo "OK" else echo "FAIL" fi - return "$status" } case "$1" in diff --git a/general/overlay/etc/init.d/S70vendor b/general/overlay/etc/init.d/S70vendor index 515bb0ac..3e9ba069 100755 --- a/general/overlay/etc/init.d/S70vendor +++ b/general/overlay/etc/init.d/S70vendor @@ -1,6 +1,4 @@ #!/bin/sh - -# load vendor specific drivers vendor=$(ipcinfo -v) log_vendor() { @@ -11,7 +9,7 @@ case "$1" in start) [ "${vendor}" = "goke" ] || [ "${vendor}" = "hisilicon" ] && status=$(check_mac) [ -n "${status}" ] && log_vendor "${status}" - echo -e '\nLoading of kernel modules...' + echo -e "\nLoading vendor modules..." load_${vendor} -i ;; esac diff --git a/general/overlay/etc/init.d/S94rc.local b/general/overlay/etc/init.d/S99rc.local similarity index 100% rename from general/overlay/etc/init.d/S94rc.local rename to general/overlay/etc/init.d/S99rc.local diff --git a/general/overlay/etc/init.d/rcK b/general/overlay/etc/init.d/rcK new file mode 100755 index 00000000..47057217 --- /dev/null +++ b/general/overlay/etc/init.d/rcK @@ -0,0 +1,23 @@ +#!/bin/sh + +# Stop all init scripts in /etc/init.d executing them in reversed numerical order. +for i in $(ls -r /etc/init.d/S??*); do + # Ignore dangling symlinks (if any). + [ ! -f "$i" ] && continue + + case "$i" in + *.sh) + # Source shell script for speed. + ( + trap - INT QUIT TSTP + set stop + . $i + ) + ;; + + *) + # No sh extension, so fork subprocess. + $i stop + ;; + esac +done diff --git a/general/overlay/etc/init.d/rcS b/general/overlay/etc/init.d/rcS index 3b28ce57..b2c50e0d 100755 --- a/general/overlay/etc/init.d/rcS +++ b/general/overlay/etc/init.d/rcS @@ -7,8 +7,7 @@ export TZ=$(cat /etc/TZ) # Set the firmware creation time as the base system time /bin/date -s @$(stat -t /etc/os-release | cut -d" " -f12) -# Start all init scripts in /etc/init.d -# executing them in numerical order. +# Start all init scripts in /etc/init.d executing them in numerical order. for i in /etc/init.d/S??*; do # Ignore dangling symlinks (if any). [ ! -f "$i" ] && continue @@ -19,7 +18,7 @@ for i in /etc/init.d/S??*; do ( trap - INT QUIT TSTP set start - $i + . $i ) ;; diff --git a/general/overlay/etc/openipc_banner b/general/overlay/etc/openipc_banner index 7ba72ba6..baf889f5 100644 --- a/general/overlay/etc/openipc_banner +++ b/general/overlay/etc/openipc_banner @@ -1,12 +1,12 @@ - /###### /###### /####### /###### - /##__ ## |_ ##_/ | ##__ ## /##__ ## - | ## \ ## /###### /###### /####### | ## | ## \ ## | ## \__/ - | ## | ## /##__ ## /##__ ## | ##__ ## | ## | #######/ | ## - | ## | ## | ## \ ## | ######## | ## \ ## | ## | ##____/ | ## - | ## | ## | ## | ## | ##_____/ | ## | ## | ## | ## | ## ## - | ######/ | #######/ | ####### | ## | ## /###### | ## | ######/ - \______/ | ##____/ \_______/ |__/ |__/ |______/ |__/ \______/ - | ## - | ## build - |__/ + .d88888b. 8888888 8888888b. .d8888b. + d88P" "Y88b 888 888 Y88b d88P Y88b + 888 888 888 888 888 888 888 + 888 888 88888b. .d88b. 88888b. 888 888 d88P 888 + 888 888 888 "88b d8P Y8b 888 "88b 888 8888888P" 888 + 888 888 888 888 88888888 888 888 888 888 888 888 + Y88b. .d88P 888 d88P Y8b. 888 888 888 888 Y88b d88P + "Y88888P" 88888P" "Y8888 888 888 8888888 888 "Y8888P" + 888 + 888 + 888 diff --git a/general/overlay/etc/profile b/general/overlay/etc/profile index cca56b60..399687d8 100644 --- a/general/overlay/etc/profile +++ b/general/overlay/etc/profile @@ -12,7 +12,7 @@ echo_c() { if [ "$PS1" ]; then [ -f /etc/os-release ] && . /etc/os-release [ -f /etc/openipc_banner ] && echo_c 34 "$(cat /etc/openipc_banner)" - echo_c 32 "$(printf "%56s" "${GITHUB_VERSION}")" + echo_c 32 "$(printf "%51s" "${GITHUB_VERSION}")" [ -f /etc/openipc_donors ] && echo_c 37 "\n\n$(cat /etc/openipc_donors)\n\n" if [ "$(id -u)" -eq 0 ]; then export PS1='\u@\h:\w\# ' @@ -46,13 +46,15 @@ show_help() { } show_gain() { - while sleep 1; do wget -T1 -q -O - http://127.0.0.1/metrics/isp | grep ^isp_again; done + while sleep 1; do wget -T1 -q -O - localhost/metrics/isp | grep ^isp_again; done } show_gpio() { - mount -t debugfs none /sys/kernel/debug - cat /sys/kernel/debug/gpio - umount /sys/kernel/debug + if [ -e /sys/kernel/debug ]; then + mount -t debugfs none /sys/kernel/debug + cat /sys/kernel/debug/gpio + umount /sys/kernel/debug + fi } show_modules() { diff --git a/general/overlay/etc/wireless/usb b/general/overlay/etc/wireless/usb index 0d787e6d..c383a9ca 100755 --- a/general/overlay/etc/wireless/usb +++ b/general/overlay/etc/wireless/usb @@ -106,6 +106,13 @@ if [ "$1" = "rtl8188fu-hi3518ev300-unknown1" ]; then exit 0 fi +# HI3518EV300 t5810hct-m02 +if [ "$1" = "rtl8188fu-hi3518ev300-t5810hct-m02" ]; then + set_gpio 40 1 + modprobe 8188fu + exit 0 +fi + # SSC325DE IMOU C22EP-S2 if [ "$1" = "rtl8188fu-ssc325de-imou-c22ep-s2" ]; then set_gpio 62 1 @@ -217,6 +224,13 @@ if [ "$1" = "rtl8733bu-t31-camhipro" ]; then exit 0 fi +# T31 IFlytek +if [ "$1" = "ssv6155-t31-iflytek" ]; then + set_gpio 10 1 + modprobe ssv6155 + exit 0 +fi + # T31 ZTE K540 if [ "$1" = "atbm603x-t31-zte-k540" ]; then set_gpio 51 0 diff --git a/general/overlay/usr/sbin/extutils b/general/overlay/usr/sbin/extutils index 6d276a19..76b4a792 100755 --- a/general/overlay/usr/sbin/extutils +++ b/general/overlay/usr/sbin/extutils @@ -39,12 +39,6 @@ case "${CMD}" in fi ;; - system_fb) - if ! [ -f /etc/system.ok ]; then - [ -f /usr/share/openipc/customizer.sh ] && echo "Run customizer script..." && sh /usr/share/openipc/customizer.sh && touch /etc/system.ok || echo "Customizer script not present..." - fi - ;; - *) ;; esac diff --git a/general/overlay/usr/sbin/sysupgrade b/general/overlay/usr/sbin/sysupgrade index 651cee47..bd334478 100755 --- a/general/overlay/usr/sbin/sysupgrade +++ b/general/overlay/usr/sbin/sysupgrade @@ -3,7 +3,7 @@ # OpenIPC.org | 2024 # -scr_version=1.0.39 +scr_version=1.0.40 args=" $@" @@ -103,16 +103,18 @@ free_resources() { echo_c 37 "\nStop services, sync files, free up memory" if [ "$vendor" = "sigmastar" ] || [ "$vendor" = "ingenic" ]; then killall -q -3 majestic - sleep 1 else - kill_process majestic + killall -q majestic fi - for proc in crond klogd ntpd rngd syslogd; do - kill_process $proc - done + /etc/init.d/S60crond stop + /etc/init.d/S49ntpd stop + /etc/init.d/S21rngd stop + /etc/init.d/S02klogd stop + /etc/init.d/S01syslogd stop + sleep 1 + sync echo 3 > /proc/sys/vm/drop_caches - echo_c 34 "\nUptime:" uptime echo_c 34 "\nMemory:" @@ -121,16 +123,6 @@ free_resources() { ps | grep -v '\[' } -kill_process() { - echo -n "Killing $1 " - while [ -n "$(pidof $1)" ]; do - killall -q $1 - sleep 0.1 - echo -n "." - done - echo ". OK" -} - set_progress() { if [ "1" = "$silent_update" ]; then busybox "$@" | awk '{print NR, $1}' diff --git a/general/package/Config.in b/general/package/Config.in index 64052b0b..230742b6 100644 --- a/general/package/Config.in +++ b/general/package/Config.in @@ -2,7 +2,6 @@ source "$BR2_EXTERNAL_GENERAL_PATH/package/aic8800-openipc/Config.in" source "$BR2_EXTERNAL_GENERAL_PATH/package/allwinner-osdrv-v83x/Config.in" source "$BR2_EXTERNAL_GENERAL_PATH/package/ambarella-osdrv-s3l/Config.in" source "$BR2_EXTERNAL_GENERAL_PATH/package/atbm60xx/Config.in" -source "$BR2_EXTERNAL_GENERAL_PATH/package/atbm6441/Config.in" source "$BR2_EXTERNAL_GENERAL_PATH/package/aura-httpd/Config.in" source "$BR2_EXTERNAL_GENERAL_PATH/package/autonight/Config.in" source "$BR2_EXTERNAL_GENERAL_PATH/package/aws-producer/Config.in" @@ -36,14 +35,12 @@ source "$BR2_EXTERNAL_GENERAL_PATH/package/hisilicon-osdrv-hi3536dv100/Config.in source "$BR2_EXTERNAL_GENERAL_PATH/package/hisilicon-osdrv-serdes/Config.in" source "$BR2_EXTERNAL_GENERAL_PATH/package/hisilicon-osdrv1-sources/Config.in" source "$BR2_EXTERNAL_GENERAL_PATH/package/i2c-telemetry/Config.in" -source "$BR2_EXTERNAL_GENERAL_PATH/package/ingenic-diag-tools/Config.in" source "$BR2_EXTERNAL_GENERAL_PATH/package/ingenic-opensdk/Config.in" source "$BR2_EXTERNAL_GENERAL_PATH/package/ingenic-osdrv-t20/Config.in" source "$BR2_EXTERNAL_GENERAL_PATH/package/ingenic-osdrv-t21/Config.in" source "$BR2_EXTERNAL_GENERAL_PATH/package/ingenic-osdrv-t30/Config.in" source "$BR2_EXTERNAL_GENERAL_PATH/package/ingenic-osdrv-t31/Config.in" source "$BR2_EXTERNAL_GENERAL_PATH/package/ingenic-osdrv-t40/Config.in" -source "$BR2_EXTERNAL_GENERAL_PATH/package/ingenic-pwm/Config.in" source "$BR2_EXTERNAL_GENERAL_PATH/package/ipctool/Config.in" source "$BR2_EXTERNAL_GENERAL_PATH/package/jsonfilter/Config.in" source "$BR2_EXTERNAL_GENERAL_PATH/package/lame-openipc/Config.in" @@ -97,7 +94,8 @@ source "$BR2_EXTERNAL_GENERAL_PATH/package/sigmastar-osdrv-infinity6c/Config.in" source "$BR2_EXTERNAL_GENERAL_PATH/package/sigmastar-osdrv-infinity6e/Config.in" source "$BR2_EXTERNAL_GENERAL_PATH/package/sigmastar-osdrv-msc313e/Config.in" source "$BR2_EXTERNAL_GENERAL_PATH/package/sigmastar-osdrv-sensors/Config.in" -source "$BR2_EXTERNAL_GENERAL_PATH/package/ssv6x5x-openipc/Config.in" +source "$BR2_EXTERNAL_GENERAL_PATH/package/ssv615x-openipc/Config.in" +source "$BR2_EXTERNAL_GENERAL_PATH/package/ssv635x-openipc/Config.in" source "$BR2_EXTERNAL_GENERAL_PATH/package/ssw101b/Config.in" source "$BR2_EXTERNAL_GENERAL_PATH/package/uacme-openipc/Config.in" source "$BR2_EXTERNAL_GENERAL_PATH/package/uqmi-openipc/Config.in" diff --git a/general/package/all-patches/linux/0012-add-compiler-gcc12.patch b/general/package/all-patches/linux/0012-add-compiler-gcc12.patch deleted file mode 100644 index 2d4d18d5..00000000 --- a/general/package/all-patches/linux/0012-add-compiler-gcc12.patch +++ /dev/null @@ -1,131 +0,0 @@ -diff --git a/include/linux/compiler-gcc12.h b/include/linux/compiler-gcc12.h -new file mode 100644 ---- /dev/null -+++ a/include/linux/compiler-gcc12.h -@@ -0,0 +1,126 @@ -+/* gcc version specific checks */ -+ -+#ifndef GCC_VERSION -+#define GCC_VERSION (__GNUC__ * 10000 \ -+ + __GNUC_MINOR__ * 100 \ -+ + __GNUC_PATCHLEVEL__) -+#endif -+ -+#if GCC_VERSION < 30200 -+# error Sorry, your compiler is too old - please upgrade it. -+#endif -+ -+#if GCC_VERSION < 30300 -+# define __used __attribute__((__unused__)) -+#else -+# define __used __attribute__((__used__)) -+#endif -+ -+#ifdef CONFIG_GCOV_KERNEL -+# if GCC_VERSION < 30400 -+# error "GCOV profiling support for gcc versions below 3.4 not included" -+# endif /* __GNUC_MINOR__ */ -+#endif /* CONFIG_GCOV_KERNEL */ -+ -+#if GCC_VERSION >= 30400 -+#define __must_check __attribute__((warn_unused_result)) -+#endif -+ -+#if GCC_VERSION >= 40000 -+ -+/* GCC 4.1.[01] miscompiles __weak */ -+#ifdef __KERNEL__ -+# if GCC_VERSION >= 40100 && GCC_VERSION <= 40101 -+# error Your version of gcc miscompiles the __weak directive -+# endif -+#endif -+ -+#define __used __attribute__((__used__)) -+#define __compiler_offsetof(a, b) \ -+ __builtin_offsetof(a, b) -+ -+#if GCC_VERSION >= 40100 && GCC_VERSION < 40600 -+# define __compiletime_object_size(obj) __builtin_object_size(obj, 0) -+#endif -+ -+#if GCC_VERSION >= 40300 -+/* Mark functions as cold. gcc will assume any path leading to a call -+ * to them will be unlikely. This means a lot of manual unlikely()s -+ * are unnecessary now for any paths leading to the usual suspects -+ * like BUG(), printk(), panic() etc. [but let's keep them for now for -+ * older compilers] -+ * -+ * Early snapshots of gcc 4.3 don't support this and we can't detect this -+ * in the preprocessor, but we can live with this because they're unreleased. -+ * Maketime probing would be overkill here. -+ * -+ * gcc also has a __attribute__((__hot__)) to move hot functions into -+ * a special section, but I don't see any sense in this right now in -+ * the kernel context -+ */ -+#define __cold __attribute__((__cold__)) -+ -+#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) -+ -+#ifndef __CHECKER__ -+# define __compiletime_warning(message) __attribute__((warning(message))) -+# define __compiletime_error(message) __attribute__((error(message))) -+#endif /* __CHECKER__ */ -+#endif /* GCC_VERSION >= 40300 */ -+ -+#if GCC_VERSION >= 40500 -+/* -+ * Mark a position in code as unreachable. This can be used to -+ * suppress control flow warnings after asm blocks that transfer -+ * control elsewhere. -+ * -+ * Early snapshots of gcc 4.5 don't support this and we can't detect -+ * this in the preprocessor, but we can live with this because they're -+ * unreleased. Really, we need to have autoconf for the kernel. -+ */ -+#define unreachable() __builtin_unreachable() -+ -+/* Mark a function definition as prohibited from being cloned. */ -+#define __noclone __attribute__((__noclone__)) -+ -+#endif /* GCC_VERSION >= 40500 */ -+ -+#if GCC_VERSION >= 40600 -+/* -+ * Tell the optimizer that something else uses this function or variable. -+ */ -+#define __visible __attribute__((externally_visible)) -+#endif -+ -+/* -+ * GCC 'asm goto' miscompiles certain code sequences: -+ * -+ * http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58670 -+ * -+ * Work it around via a compiler barrier quirk suggested by Jakub Jelinek. -+ * -+ * (asm goto is automatically volatile - the naming reflects this.) -+ */ -+#define asm_volatile_goto(x...) do { asm goto(x); asm (""); } while (0) -+ -+#ifdef CONFIG_ARCH_USE_BUILTIN_BSWAP -+#if GCC_VERSION >= 40400 -+#define __HAVE_BUILTIN_BSWAP32__ -+#define __HAVE_BUILTIN_BSWAP64__ -+#endif -+#if GCC_VERSION >= 40800 || (defined(__powerpc__) && GCC_VERSION >= 40600) -+#define __HAVE_BUILTIN_BSWAP16__ -+#endif -+#endif /* CONFIG_ARCH_USE_BUILTIN_BSWAP */ -+ -+#if GCC_VERSION >= 50000 -+#define KASAN_ABI_VERSION 4 -+#elif GCC_VERSION >= 40902 -+#define KASAN_ABI_VERSION 3 -+#endif -+ -+#endif /* gcc version >= 40000 specific checks */ -+ -+#ifndef OPTIMIZER_HIDE_VAR -+#define OPTIMIZER_HIDE_VAR(var) __asm__ ("" : "=r" (var) : "0" (var)) -+#endif diff --git a/general/package/atbm6441/Config.in b/general/package/atbm6441/Config.in deleted file mode 100644 index 086ed245..00000000 --- a/general/package/atbm6441/Config.in +++ /dev/null @@ -1,5 +0,0 @@ -config BR2_PACKAGE_ATBM6441 - bool "atbm6441" - depends on BR2_LINUX_KERNEL - help - Wireless driver atbm6441 diff --git a/general/package/atbm6441/atbm6441.mk b/general/package/atbm6441/atbm6441.mk deleted file mode 100644 index d077beb6..00000000 --- a/general/package/atbm6441/atbm6441.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# atbm6441 -# -################################################################################ - -ATBM6441_SITE = $(call github,gtxaspec,atbm6441,$(ATBM6441_VERSION)) -ATBM6441_VERSION = HEAD - -ATBM6441_LICENSE = GPL-2.0 -ATBM6441_MODULE_MAKE_OPTS = \ - KSRC=$(LINUX_DIR) - -$(eval $(kernel-module)) -$(eval $(generic-package)) diff --git a/general/package/autonight/Config.in b/general/package/autonight/Config.in index e02ccf66..c9c3cb41 100644 --- a/general/package/autonight/Config.in +++ b/general/package/autonight/Config.in @@ -1,4 +1,4 @@ config BR2_PACKAGE_AUTONIGHT bool "autonight" help - autonight - automatic switching of day/night modes depending on the readings of the IR Sensor + Automatic day/night mode switcher for Ingenic devices. diff --git a/general/package/autonight/autonight.mk b/general/package/autonight/autonight.mk index 0ddb81c1..ce4a72cc 100644 --- a/general/package/autonight/autonight.mk +++ b/general/package/autonight/autonight.mk @@ -4,22 +4,18 @@ # ################################################################################ +AUTONIGHT_SITE_METHOD = local +AUTONIGHT_SITE = $(AUTONIGHT_PKGDIR)/src + AUTONIGHT_LICENSE = MIT AUTONIGHT_LICENSE_FILES = LICENSE -define AUTONIGHT_EXTRACT_CMDS - cp -avr $(AUTONIGHT_PKGDIR)/src/* $(@D)/ -endef - -AUTONIGHT_MAKE_OPTS = \ - CC="$(TARGET_CC)" - define AUTONIGHT_BUILD_CMDS - $(MAKE) $(AUTONIGHT_MAKE_OPTS) -C $(@D) + $(TARGET_CC) $(@D)/autonight.c -o $(@D)/autonight -s endef define AUTONIGHT_INSTALL_TARGET_CMDS - install -m 0755 -D $(@D)/autonight $(TARGET_DIR)/usr/bin/autonight + $(INSTALL) -m 0755 -t $(TARGET_DIR)/usr/bin $(@D)/autonight endef $(eval $(generic-package)) diff --git a/general/package/autonight/src/Makefile b/general/package/autonight/src/Makefile deleted file mode 100644 index 2a224607..00000000 --- a/general/package/autonight/src/Makefile +++ /dev/null @@ -1,9 +0,0 @@ -.PHONY: all clean - -all: autonight - -autonight: autonight.o - $(CC) -o $@ $^ - -clean: - -rm -rf *.o diff --git a/general/package/autonight/src/autonight.c b/general/package/autonight/src/autonight.c index 241abe90..35d3eeca 100644 --- a/general/package/autonight/src/autonight.c +++ b/general/package/autonight/src/autonight.c @@ -9,107 +9,104 @@ #define BUF_SIZE 256 const char *device = "/dev/jz_adc_aux_0"; -const char *nightModeCmd = "curl localhost/night/"; +const char *nightModeCmd = "curl localhost/night"; int delayBetweenReads = 3; -int thresholdOn = 900; -int thresholdOff = 1000; +int thresholdOn = 800; +int thresholdOff = 1200; bool nightModeEnabled = false; -void -jzAuxRead(const char *device, int *value) -{ +void jzAuxRead(const char *device, int *value) { int fd, size, count; fd = open(device, O_RDONLY); - if(fd < 0){ + if (fd < 0) { perror(device); exit(EXIT_FAILURE); } + size = sizeof(*value); count = read(fd, (void *)value, size); close(fd); - if(count != size){ + + if (count != size) { perror("read()"); exit(EXIT_FAILURE); } } -void -updateNightMode() -{ +void updateNightMode() { int ret; char buf[BUF_SIZE]; - printf("Night Mode %s\n", nightModeEnabled ? "Enabled" : "Disabled"); - snprintf(buf, BUF_SIZE, "%s%s\n", nightModeCmd, nightModeEnabled ? "on" : "off"); + printf("> Mode: %s\n", nightModeEnabled ? "Night" : "Day"); + snprintf(buf, BUF_SIZE, "%s/%s\n", nightModeCmd, nightModeEnabled ? "on" : "off"); + ret = system(buf); - if(ret != 0){ + if (ret != 0) { perror("system()"); exit(EXIT_FAILURE); } } -void -usage(const char *argv0) -{ - fprintf(stderr, "\nusage: %s [options]\n\n" - "options:\n" - " -D sets jz_adc_aux device (default: %s)\n" - " -c sets the command to call to set night mode (default: %s)\n" - " -d delay (in seconds) between ADC reads (default: %d)\n" - " -O turn on night mode when ADC value drops below this threshold (default: %d)\n" - " -F turn off night mode when ADC value goes above this threshold (default: %d)\n" - " -h print this usage statement and exit\n\n", argv0, device, nightModeCmd, delayBetweenReads, thresholdOn, thresholdOff); +void usage(const char *argv) { + fprintf(stderr, "Usage: %s [option]\n\n" + "Options:\n" + " -D sets jz_adc_aux device (default: %s)\n" + " -c sets the command to call to set night mode (default: %s)\n" + " -d delay (in seconds) between ADC reads (default: %d)\n" + " -O turn on night mode when ADC drops below threshold (default: %d)\n" + " -F turn off night mode when ADC goes above threshold (default: %d)\n" + " -h print this usage statement and exit\n\n", + argv, device, nightModeCmd, delayBetweenReads, thresholdOn, thresholdOff); } -int -main(int argc, char *argv[]) -{ +int main(int argc, char **argv) { int opt, value; - while((opt = getopt(argc, argv, "D:c:d:O:F:h:")) != -1){ - switch(opt){ + while ((opt = getopt(argc, argv, "D:c:d:O:F:h:")) != -1) { + switch (opt) { case 'D': device = optarg; break; + case 'c': nightModeCmd = optarg; break; + case 'd': delayBetweenReads = atoi(optarg); break; + case 'O': thresholdOn = atoi(optarg); break; + case 'F': thresholdOff = atoi(optarg); break; + case 'h': usage(argv[0]); exit(EXIT_SUCCESS); + default: usage(argv[0]); exit(EXIT_FAILURE); } } - if(daemon(0, 0) < 0){ - perror("daemon()"); - exit(EXIT_FAILURE); - } - - sleep(5); - - while(true){ + while (true) { jzAuxRead(device, &value); - printf("Current value: %d\n", value); - if(!nightModeEnabled && value >= thresholdOn){ + printf("> Value: %d\n", value); + + if (!nightModeEnabled && value >= thresholdOn) { nightModeEnabled = true; updateNightMode(); - } else if(nightModeEnabled && value < thresholdOff){ + } else if (nightModeEnabled && value < thresholdOff) { nightModeEnabled = false; updateNightMode(); } + sleep(delayBetweenReads); } diff --git a/general/package/aws-producer/aws-producer.mk b/general/package/aws-producer/aws-producer.mk index 8821ddea..c7804578 100644 --- a/general/package/aws-producer/aws-producer.mk +++ b/general/package/aws-producer/aws-producer.mk @@ -5,7 +5,7 @@ ################################################################################ AWS_PRODUCER_SITE = $(call github,awslabs,amazon-kinesis-video-streams-producer-c,$(AWS_PRODUCER_VERSION)) -AWS_PRODUCER_VERSION = HEAD +AWS_PRODUCER_VERSION = 3e519b7670e39031375d227f983ad2cde888078e AWS_PRODUCER_INSTALL_STAGING = YES AWS_PRODUCER_LICENSE = Apache-2.0 diff --git a/general/package/aws-webrtc/aws-webrtc.mk b/general/package/aws-webrtc/aws-webrtc.mk index e581e5f3..9b07b927 100644 --- a/general/package/aws-webrtc/aws-webrtc.mk +++ b/general/package/aws-webrtc/aws-webrtc.mk @@ -5,7 +5,7 @@ ################################################################################ AWS_WEBRTC_SITE = $(call github,OpenIPC,webrtc-c,$(AWS_WEBRTC_VERSION)) -AWS_WEBRTC_VERSION = master +AWS_WEBRTC_VERSION = develop AWS_WEBRTC_INSTALL_STAGING = YES AWS_WEBRTC_LICENSE = Apache-2.0 diff --git a/general/package/busybox/busybox.config b/general/package/busybox/busybox.config index 83d21881..73a40179 100644 --- a/general/package/busybox/busybox.config +++ b/general/package/busybox/busybox.config @@ -778,7 +778,7 @@ CONFIG_CROND=y # CONFIG_FEATURE_CROND_D is not set # CONFIG_FEATURE_CROND_CALL_SENDMAIL is not set CONFIG_FEATURE_CROND_SPECIAL_TIMES=y -CONFIG_FEATURE_CROND_DIR="/var/spool/cron" +CONFIG_FEATURE_CROND_DIR="/etc" CONFIG_CRONTAB=y # CONFIG_DEVFSD is not set # CONFIG_DEVFSD_MODLOAD is not set diff --git a/general/package/ingenic-audiodaemon/Config.in b/general/package/ingenic-audiodaemon/Config.in deleted file mode 100644 index bbbcd9d7..00000000 --- a/general/package/ingenic-audiodaemon/Config.in +++ /dev/null @@ -1,4 +0,0 @@ -config BR2_PACKAGE_INGENIC_AUDIODAEMON - bool "ingenic-audiodaemon" - help - Userspace program for interfacing with Audio on the Ingenic platform using IMP diff --git a/general/package/ingenic-audiodaemon/ingenic-audiodaemon.mk b/general/package/ingenic-audiodaemon/ingenic-audiodaemon.mk deleted file mode 100644 index a34ba54c..00000000 --- a/general/package/ingenic-audiodaemon/ingenic-audiodaemon.mk +++ /dev/null @@ -1,21 +0,0 @@ -################################################################################ -# -# ingenic-audiodaemon -# -################################################################################ - -INGENIC_AUDIODAEMON_VERSION = HEAD -INGENIC_AUDIODAEMON_SITE = $(call github,gtxaspec,ingenic_audiodaemon,$(INGENIC_AUDIODAEMON_VERSION)) -INGENIC_AUDIODAEMON_LICENSE = GPL-2.0 -INGENIC_AUDIODAEMON_LICENSE_FILES = COPYING - -define INGENIC_AUDIODAEMON_BUILD_CMDS - $(MAKE) CROSS_COMPILE=$(TARGET_CROSS) deps -C $(@D) - $(MAKE) CROSS_COMPILE=$(TARGET_CROSS) all -C $(@D) -endef - -define INGENIC_AUDIODAEMON_INSTALL_TARGET_CMDS - cp -a $(@D)/build/bin/. $(TARGET_DIR)/usr/bin/ -endef - -$(eval $(generic-package)) diff --git a/general/package/ingenic-diag-tools/Config.in b/general/package/ingenic-diag-tools/Config.in deleted file mode 100644 index 498c9ccf..00000000 --- a/general/package/ingenic-diag-tools/Config.in +++ /dev/null @@ -1,4 +0,0 @@ -config BR2_PACKAGE_INGENIC_DIAG_TOOLS - bool "ingenic-diag-tools" - help - Userspace program for manipulating GPIOs diff --git a/general/package/ingenic-diag-tools/ingenic-diag-tools.mk b/general/package/ingenic-diag-tools/ingenic-diag-tools.mk deleted file mode 100644 index 0e9e43f3..00000000 --- a/general/package/ingenic-diag-tools/ingenic-diag-tools.mk +++ /dev/null @@ -1,18 +0,0 @@ -################################################################################ -# -# ingenic-diag-tools -# -################################################################################ - -INGENIC_DIAG_TOOLS_SITE = $(call github,gtxaspec,jz-diag-tools,$(INGENIC_DIAG_TOOLS_VERSION)) -INGENIC_DIAG_TOOLS_VERSION = HEAD - -define INGENIC_DIAG_TOOLS_BUILD_CMDS - $(MAKE) CROSS_COMPILE=$(TARGET_CROSS) -C $(@D) -endef - -define INGENIC_DIAG_TOOLS_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 0755 $(@D)/ingenic-gpio $(TARGET_DIR)/usr/bin/ -endef - -$(eval $(generic-package)) diff --git a/general/package/ingenic-osdrv-t21/files/script/load_ingenic b/general/package/ingenic-osdrv-t21/files/script/load_ingenic index bec5b32b..c404636f 100755 --- a/general/package/ingenic-osdrv-t21/files/script/load_ingenic +++ b/general/package/ingenic-osdrv-t21/files/script/load_ingenic @@ -64,6 +64,10 @@ case ${SENSOR} in ISP_PARAM="isp_clk=90000000" SENSOR_PARAM="" ;; + "sc2235") + ISP_PARAM="" + SENSOR_PARAM="" + ;; "sc2332") ISP_PARAM="" SENSOR_PARAM="sensor_gpio_func=0" diff --git a/general/package/ingenic-osdrv-t21/files/sensor/params/sc2235-t21.bin b/general/package/ingenic-osdrv-t21/files/sensor/params/sc2235-t21.bin new file mode 100644 index 00000000..43b71157 Binary files /dev/null and b/general/package/ingenic-osdrv-t21/files/sensor/params/sc2235-t21.bin differ diff --git a/general/package/ingenic-osdrv-t21/files/sensor/sc2235.yaml b/general/package/ingenic-osdrv-t21/files/sensor/sc2235.yaml new file mode 100644 index 00000000..0c6a730c --- /dev/null +++ b/general/package/ingenic-osdrv-t21/files/sensor/sc2235.yaml @@ -0,0 +1,6 @@ +sensor: + name: sc2235 + address: 0x30 + width: 1920 + height: 1080 + bus: i2c diff --git a/general/package/ingenic-pwm/Config.in b/general/package/ingenic-pwm/Config.in deleted file mode 100644 index 81e36570..00000000 --- a/general/package/ingenic-pwm/Config.in +++ /dev/null @@ -1,4 +0,0 @@ -config BR2_PACKAGE_INGENIC_PWM - bool "ingenic-pwm" - help - Userspace program for controlling PWM channels on the Ingenic platform diff --git a/general/package/ingenic-pwm/ingenic-pwm.mk b/general/package/ingenic-pwm/ingenic-pwm.mk deleted file mode 100644 index 7feb4688..00000000 --- a/general/package/ingenic-pwm/ingenic-pwm.mk +++ /dev/null @@ -1,18 +0,0 @@ -################################################################################ -# -# ingenic-pwm -# -################################################################################ - -INGENIC_PWM_SITE = $(call github,gtxaspec,ingenic-pwm,$(INGENIC_PWM_VERSION)) -INGENIC_PWM_VERSION = HEAD - -define INGENIC_PWM_BUILD_CMDS - $(MAKE) CROSS_COMPILE=$(TARGET_CROSS) -C $(@D) -endef - -define INGENIC_PWM_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 0755 $(@D)/ingenic-pwm $(TARGET_DIR)/usr/bin/ -endef - -$(eval $(generic-package)) diff --git a/general/package/logcat-openipc/Config.in b/general/package/logcat-openipc/Config.in index 68c7ed7e..2ba85069 100644 --- a/general/package/logcat-openipc/Config.in +++ b/general/package/logcat-openipc/Config.in @@ -1,4 +1,4 @@ config BR2_PACKAGE_LOGCAT_OPENIPC bool "logcat-openipc" help - Userspace programs for reading the Android logging facility, which is used by Ingenic IMP libraries + Logcat tool for Ingenic diff --git a/general/package/logcat-openipc/logcat-openipc.mk b/general/package/logcat-openipc/logcat-openipc.mk index 3a34f7e4..992bc028 100644 --- a/general/package/logcat-openipc/logcat-openipc.mk +++ b/general/package/logcat-openipc/logcat-openipc.mk @@ -4,12 +4,15 @@ # ################################################################################ -LOGCAT_OPENIPC_SITE = $(call github,gtxaspec,linux_logcat,$(LOGCAT_OPENIPC_VERSION)) -LOGCAT_OPENIPC_VERSION = HEAD +LOGCAT_OPENIPC_SITE_METHOD = local +LOGCAT_OPENIPC_SITE = $(LOGCAT_OPENIPC_PKGDIR)/src -LOGCAT_OPENIPC_LICENSE = GPL-2.0 -LOGCAT_OPENIPC_LICENSE_FILES = COPYING +define LOGCAT_OPENIPC_BUILD_CMDS + $(TARGET_CC) $(@D)/logcat.c -o $(@D)/logcat -s +endef -LOGCAT_OPENIPC_INSTALL_STAGING = YES +define LOGCAT_OPENIPC_INSTALL_TARGET_CMDS + $(INSTALL) -m 755 -t $(TARGET_DIR)/usr/bin $(@D)/logcat +endef -$(eval $(cmake-package)) +$(eval $(generic-package)) diff --git a/general/package/logcat-openipc/src/logcat.c b/general/package/logcat-openipc/src/logcat.c new file mode 100644 index 00000000..d1003093 --- /dev/null +++ b/general/package/logcat-openipc/src/logcat.c @@ -0,0 +1,125 @@ +#include +#include +#include +#include +#include +#include +#include +#include + +#define LOGGER_ENTRY_MAX_LEN (4 * 1024) +#define LOGGER_FLUSH_LOG _IO(__LOGGERIO, 4) +#define __LOGGERIO 0xAE + +struct logger_entry { + uint16_t len; + uint16_t __pad; + int32_t pid; + int32_t tid; + int32_t sec; + int32_t nsec; + char msg[4096]; +} entry; + +enum android_LogPriority { + ANDROID_LOG_UNKNOWN = 0, + ANDROID_LOG_DEFAULT, + ANDROID_LOG_VERBOSE, + ANDROID_LOG_DEBUG, + ANDROID_LOG_INFO, + ANDROID_LOG_WARN, + ANDROID_LOG_ERROR, + ANDROID_LOG_FATAL, + ANDROID_LOG_SILENT, +}; + +int main(int argc, char *argv[]) { + int fd; + int msize; + int readsize; + int numread; + + if (argc > 1) { + if (strcmp(argv[1], "-c") == 0) { + fd = open("/dev/log_main", O_WRONLY); + if (fd < 0) { + perror("Error opening /dev/log_main\n"); + return -1; + } + ioctl(fd, LOGGER_FLUSH_LOG); + close(fd); + return 0; + } else { + printf("Usage: %s [-c] [-h]\n", argv[0]); + printf("Options:\n"); + printf(" -c Clear the log\n"); + printf(" -h Show this help\n"); + return 0; + } + } + + fd = open("/dev/log_main", O_RDONLY); + if (fd < 0) { + perror("Error opening /dev/log_main\n"); + return -1; + } + + int pos; + while (1) { + numread = read(fd, &entry, LOGGER_ENTRY_MAX_LEN); + if (numread < 1) { + perror("Error: "); + strerror(errno); + return -1; + } + + char *tag = entry.msg; + char *prog = entry.msg + 1; + char *msg = entry.msg + strlen(entry.msg) + 1; + char tagbyte; + + switch (*tag) { + case ANDROID_LOG_UNKNOWN: + tagbyte = 'U'; + break; + + case ANDROID_LOG_DEFAULT: + tagbyte = '*'; + break; + + case ANDROID_LOG_VERBOSE: + tagbyte = 'V'; + break; + + case ANDROID_LOG_DEBUG: + tagbyte = 'D'; + break; + + case ANDROID_LOG_INFO: + tagbyte = 'I'; + break; + + case ANDROID_LOG_WARN: + tagbyte = 'W'; + break; + + case ANDROID_LOG_ERROR: + tagbyte = 'E'; + break; + + case ANDROID_LOG_FATAL: + tagbyte = 'F'; + break; + + case ANDROID_LOG_SILENT: + tagbyte = 'S'; + break; + + default: + tagbyte = '?'; + break; + } + + printf("%c/%s(%5d): %s", tagbyte, prog, entry.pid, msg); + } +} diff --git a/general/package/majestic/files/S95majestic b/general/package/majestic/files/S95majestic index 06629253..9e12bc48 100755 --- a/general/package/majestic/files/S95majestic +++ b/general/package/majestic/files/S95majestic @@ -2,7 +2,7 @@ DAEMON="majestic" PIDFILE="/var/run/$DAEMON.pid" -DAEMON_ARGS="-s" +MAJESTIC_ARGS="-s" debug_majestic() { [ -f /etc/coredump.conf ] && . /etc/coredump.conf @@ -13,9 +13,8 @@ debug_majestic() { load_majestic() { printf "Starting $DAEMON: " - start-stop-daemon -b -S -m -q -p "$PIDFILE" -x "/usr/bin/$DAEMON" -- $DAEMON_ARGS - status=$? - if [ "$status" -eq 0 ]; then + start-stop-daemon -b -S -m -q -p "$PIDFILE" -x "/usr/bin/$DAEMON" -- $MAJESTIC_ARGS + if [ $? = 0 ]; then echo "OK" else echo "FAIL" @@ -23,7 +22,7 @@ load_majestic() { } start() { - logger -s -p daemon.info -t $(ipcinfo -v) "Loading video system has started..." + logger -s -p daemon.info -t $(ipcinfo -v) "Loading video system..." export SENSOR=$(fw_printenv -n sensor) debug_majestic load_majestic @@ -32,8 +31,7 @@ start() { stop() { printf "Stopping $DAEMON: " start-stop-daemon -K -q -p "$PIDFILE" - status=$? - if [ "$status" -eq 0 ]; then + if [ $? = 0 ]; then rm -f "$PIDFILE" echo "OK" else diff --git a/general/package/memdump/src/memdump.c b/general/package/memdump/src/memdump.c deleted file mode 100644 index 9a0886bc..00000000 --- a/general/package/memdump/src/memdump.c +++ /dev/null @@ -1,112 +0,0 @@ -#include -#include -#include - -#include -#include -#include -#include -#include - -unsigned long parse_int (char *str); - -void dumphex(const void* data, size_t size) { - char ascii[17]; - size_t i, j; - ascii[16] = '\0'; - for (i = 0; i < size; ++i) { - printf("%02X ", ((unsigned char*)data)[i]); - if (((unsigned char*)data)[i] >= ' ' && ((unsigned char*)data)[i] <= '~') { - ascii[i % 16] = ((unsigned char*)data)[i]; - } else { - ascii[i % 16] = '.'; - } - if ((i+1) % 8 == 0 || i+1 == size) { - printf(" "); - if ((i+1) % 16 == 0) { - printf("| %s \n", ascii); - } else if (i+1 == size) { - ascii[(i+1) % 16] = '\0'; - if ((i+1) % 16 <= 8) { - printf(" "); - } - for (j = (i+1) % 16; j < 16; ++j) { - printf(" "); - } - printf("| %s \n", ascii); - } - } - } -} - -int main (int argc, char *argv[]) { - unsigned long addr, length; - - int devmem; - void *mapping; - - long page_size; - off_t map_base, extra_bytes; - - char *buf; - ssize_t ret; - - if (argc != 3) { - fprintf(stderr, "Usage: %s ADDR LENGTH\n", argv[0]); - exit(EXIT_FAILURE); - } - - addr = parse_int(argv[1]); - length = parse_int(argv[2]); - - devmem = open("/dev/mem", O_RDONLY); - if (devmem == -1) { - perror("Could not open /dev/mem"); - goto open_fail; - } - - page_size = sysconf(_SC_PAGE_SIZE); - map_base = addr & ~(page_size - 1); - extra_bytes = addr - map_base; - - mapping = mmap(NULL, length + extra_bytes, PROT_READ, MAP_SHARED, - devmem, map_base); - if (mapping == MAP_FAILED) { - perror("Could not map memory"); - goto map_fail; - } - - buf = malloc(length); - if (buf == NULL) { - fprintf(stderr, "Failed to allocate memory\n"); - goto alloc_fail; - } - - memcpy(buf, (char *)mapping + extra_bytes, length); - - dumphex(buf,length); - - free(buf); - -alloc_fail: - munmap(mapping, length + extra_bytes); - -map_fail: - close(devmem); - -open_fail: - return EXIT_SUCCESS; -} - -unsigned long parse_int (char *str) { - long long result; - char *endptr; - - result = strtoll(str, &endptr, 0); - if (str == '\0' || *endptr != '\0') { - fprintf(stderr, "\"%s\" is not a valid number\n", str); - exit(EXIT_FAILURE); - } - - return (unsigned long)result; -} diff --git a/general/package/rtl8812au-openipc/rtl8812au-openipc.mk b/general/package/rtl8812au-openipc/rtl8812au-openipc.mk index a4dc72ef..00e0f1ee 100644 --- a/general/package/rtl8812au-openipc/rtl8812au-openipc.mk +++ b/general/package/rtl8812au-openipc/rtl8812au-openipc.mk @@ -5,7 +5,7 @@ ################################################################################ RTL8812AU_OPENIPC_SITE = $(call github,svpcom,rtl8812au,$(RTL8812AU_OPENIPC_VERSION)) -RTL8812AU_OPENIPC_VERSION = HEAD +RTL8812AU_OPENIPC_VERSION = dc9993dd6e7de738de8437add043747a6bfc475c RTL8812AU_OPENIPC_LICENSE = GPL-2.0 RTL8812AU_OPENIPC_LICENSE_FILES = COPYING diff --git a/general/package/rubyfpv/files/S73ruby b/general/package/rubyfpv/files/S73ruby index fd213913..55a0e194 100755 --- a/general/package/rubyfpv/files/S73ruby +++ b/general/package/rubyfpv/files/S73ruby @@ -17,7 +17,7 @@ case "$1" in fi echo "Starting Ruby..." >> /tmp/ruby_boot.log - /usr/sbin/ruby_start -noop + /usr/sbin/ruby_start & ;; stop) echo "Stopping Ruby..." >> /tmp/ruby_boot.log diff --git a/general/package/rubyfpv/rubyfpv.mk b/general/package/rubyfpv/rubyfpv.mk index 58a08d5e..d2e49299 100644 --- a/general/package/rubyfpv/rubyfpv.mk +++ b/general/package/rubyfpv/rubyfpv.mk @@ -1,6 +1,6 @@ RUBYFPV_SITE_METHOD = git RUBYFPV_SITE = https://github.com/PetruSoroaga/RubyFPV -RUBYFPV_VERSION = 457e26be5061ed36f16d8b312cef4b98361f5d97 +RUBYFPV_VERSION = ae681b04cef5b45f4f95f2d3595b293f1fe4aa5a RUBYFPV_DEPENDENCIES += libpcap iw diff --git a/general/package/sigmastar-motors/src/motor.c b/general/package/sigmastar-motors/src/motor.c index 3bf7a28b..ac945238 100644 --- a/general/package/sigmastar-motors/src/motor.c +++ b/general/package/sigmastar-motors/src/motor.c @@ -13,19 +13,24 @@ #define STEP_COUNT 20 #define SEQ_COUNT 8 -int device_x5[] = {01, 02, 12, 13, 62, 63, 64, 65}; +typedef struct { + const char *name; + int gpio_x[4]; + int gpio_y[4]; +} config; -int gpio_x[4]; -int gpio_y[4]; - -int sequence[][4] = { - {1, 0, 0, 0}, {1, 1, 0, 0}, {0, 1, 0, 0}, {0, 1, 1, 0}, - {0, 0, 1, 0}, {0, 0, 1, 1}, {0, 0, 0, 1}, {1, 0, 0, 1}, - {1, 0, 0, 1}, {0, 0, 0, 1}, {0, 0, 1, 1}, {0, 0, 1, 0}, - {0, 1, 1, 0}, {0, 1, 0, 0}, {1, 1, 0, 0}, {1, 0, 0, 0}, +static config list[] = { + { "rtl8188fu-ssc337de-foscam", { 01, 02, 12, 13 }, { 62, 63, 64, 65 }, }, }; -int write_gpio(int pin, int val) { +static int sequence[][4] = { + { 1, 0, 0, 0 }, { 1, 1, 0, 0 }, { 0, 1, 0, 0 }, { 0, 1, 1, 0 }, + { 0, 0, 1, 0 }, { 0, 0, 1, 1 }, { 0, 0, 0, 1 }, { 1, 0, 0, 1 }, + { 1, 0, 0, 1 }, { 0, 0, 0, 1 }, { 0, 0, 1, 1 }, { 0, 0, 1, 0 }, + { 0, 1, 1, 0 }, { 0, 1, 0, 0 }, { 1, 1, 0, 0 }, { 1, 0, 0, 0 }, +}; + +static int write_gpio(int pin, int val) { struct gpiohandle_request rq; struct gpiohandle_data data; @@ -57,7 +62,7 @@ int write_gpio(int pin, int val) { return 0; } -int motor_control(int *gpio, int count) { +static int motor_control(int *gpio, int count) { for (int i = count; i < count + SEQ_COUNT; i++) { for (int j = 0; j < 4; j++) { if (write_gpio(gpio[j], sequence[i][j])) { @@ -71,7 +76,7 @@ int motor_control(int *gpio, int count) { return 0; } -int gpio_export(int *gpio) { +static int gpio_export(int *gpio) { for (int i = 0; i < 4; i++) { if (write_gpio(gpio[i], 0)) { return 1; @@ -81,25 +86,52 @@ int gpio_export(int *gpio) { return 0; } +static void print_list(void) { + char buffer[1024]; + + int len = 0; + for (int i = 0; i < sizeof(list) / sizeof(config); i++) { + len += snprintf(buffer + len, + sizeof(buffer) - len, "%s\n", list[i].name); + } + + printf("%s", buffer); +} + int main(int argc, char **argv) { + if (argc > 1 && strstr(argv[1], "list")) { + print_list(); + return -1; + } else if (argc < 3 || argc > 4) { + printf("Usage: %s [device] [x_step] [y_step]\n", argv[0]); + return -1; + } + + int dev = -1; + for (int i = 0; i < sizeof(list) / sizeof(config); i++) { + if (strstr(argv[1], list[i].name)) { + dev = i; + break; + } + } + + if (dev < 0) { + printf("Device not supported\n"); + return -1; + } + int pid = open("/var/run/motor.pid", O_RDWR | O_CREAT, 0644); if (flock(pid, LOCK_EX | LOCK_NB)) { printf("Control in progress\n"); + close(pid); return -1; } - if (argc < 2 || argc > 3) { - printf("Usage: %s [x_step] [y_step]\n", argv[0]); - return -1; - } + int x = argv[2] ? atoi(argv[2]) : 0; + int y = argv[3] ? atoi(argv[3]) : 0; - int x = argv[1] ? atoi(argv[1]) : 0; - int y = argv[2] ? atoi(argv[2]) : 0; - - memcpy(gpio_x, device_x5 + 0, sizeof(gpio_x)); - memcpy(gpio_y, device_x5 + 4, sizeof(gpio_y)); - - if (gpio_export(gpio_x) || gpio_export(gpio_y)) { + if (gpio_export(list[dev].gpio_x) || gpio_export(list[dev].gpio_y)) { + close(pid); return -1; } @@ -108,7 +140,7 @@ int main(int argc, char **argv) { while (count_x || count_y) { if (count_x) { - if (motor_control(gpio_x, (x < 0) ? SEQ_COUNT : 0)) { + if (motor_control(list[dev].gpio_x, (x < 0) ? SEQ_COUNT : 0)) { goto reset; } @@ -116,7 +148,7 @@ int main(int argc, char **argv) { } if (count_y) { - if (motor_control(gpio_y, (y < 0) ? 0 : SEQ_COUNT)) { + if (motor_control(list[dev].gpio_y, (y < 0) ? 0 : SEQ_COUNT)) { goto reset; } @@ -125,8 +157,9 @@ int main(int argc, char **argv) { } reset: - gpio_export(gpio_x); - gpio_export(gpio_y); + gpio_export(list[dev].gpio_x); + gpio_export(list[dev].gpio_y); + close(pid); return 0; } diff --git a/general/package/sigmastar-osdrv-infinity6b0/files/script/load_sigmastar b/general/package/sigmastar-osdrv-infinity6b0/files/script/load_sigmastar index 1aecb32e..2c4f7af1 100755 --- a/general/package/sigmastar-osdrv-infinity6b0/files/script/load_sigmastar +++ b/general/package/sigmastar-osdrv-infinity6b0/files/script/load_sigmastar @@ -22,7 +22,7 @@ set_sensor() { gc2053|gc2083|gc4023|gc4653|imx307|imx335|jxf37|jxq03|os02g10) insmod ${PATH_SENSOR}/sensor_${SENSOR}_mipi.ko chmap=1 ;; - sc200ai|sc401ai|sc2239|sc223a|sc2335|sc3335|sc3338) + sc200ai|sc401ai|sc2239|sc223a|sc2335|sc2336|sc3335|sc3338) insmod ${PATH_SENSOR}/sensor_${SENSOR}_mipi.ko chmap=1 ;; *) diff --git a/general/package/ssv615x-openipc/Config.in b/general/package/ssv615x-openipc/Config.in new file mode 100644 index 00000000..7cfad3ce --- /dev/null +++ b/general/package/ssv615x-openipc/Config.in @@ -0,0 +1,4 @@ +config BR2_PACKAGE_SSV615X_OPENIPC + bool "ssv615x-openipc" + help + SV615X wireless driver diff --git a/general/package/ssv615x-openipc/ssv615x-openipc.mk b/general/package/ssv615x-openipc/ssv615x-openipc.mk new file mode 100644 index 00000000..c8574ab0 --- /dev/null +++ b/general/package/ssv615x-openipc/ssv615x-openipc.mk @@ -0,0 +1,17 @@ +################################################################################ +# +# ssv615x-openipc +# +################################################################################ + +SSV615X_OPENIPC_SITE = $(call github,openipc,ssv6x5x,$(SSV615X_OPENIPC_VERSION)) +SSV615X_OPENIPC_VERSION = ssv615x + +SSV615X_OPENIPC_LICENSE = GPL-2.0 +SSV615X_OPENIPC_LICENSE_FILES = COPYING + +SSV615X_OPENIPC_MODULE_MAKE_OPTS = \ + KSRC=$(LINUX_DIR) + +$(eval $(kernel-module)) +$(eval $(generic-package)) diff --git a/general/package/ssv635x-openipc/Config.in b/general/package/ssv635x-openipc/Config.in new file mode 100644 index 00000000..3106d121 --- /dev/null +++ b/general/package/ssv635x-openipc/Config.in @@ -0,0 +1,4 @@ +config BR2_PACKAGE_SSV635X_OPENIPC + bool "ssv635x-openipc" + help + SV635X wireless driver diff --git a/general/package/ssv6x5x-openipc/ssv6x5x-openipc.mk b/general/package/ssv635x-openipc/ssv635x-openipc.mk similarity index 53% rename from general/package/ssv6x5x-openipc/ssv6x5x-openipc.mk rename to general/package/ssv635x-openipc/ssv635x-openipc.mk index 116aa325..a80b18f0 100644 --- a/general/package/ssv6x5x-openipc/ssv6x5x-openipc.mk +++ b/general/package/ssv635x-openipc/ssv635x-openipc.mk @@ -1,16 +1,16 @@ ################################################################################ # -# ssv6x5x-openipc +# ssv635x-openipc # ################################################################################ -SSV6X5X_OPENIPC_SITE = $(call github,openipc,ssv6x5x,$(SSV6X5X_OPENIPC_VERSION)) -SSV6X5X_OPENIPC_VERSION = HEAD +SSV635X_OPENIPC_SITE = $(call github,openipc,ssv6x5x,$(SSV635X_OPENIPC_VERSION)) +SSV635X_OPENIPC_VERSION = HEAD -SSV6X5X_OPENIPC_LICENSE = GPL-2.0 -SSV6X5X_OPENIPC_LICENSE_FILES = COPYING +SSV635X_OPENIPC_LICENSE = GPL-2.0 +SSV635X_OPENIPC_LICENSE_FILES = COPYING -SSV6X5X_OPENIPC_MODULE_MAKE_OPTS = \ +SSV635X_OPENIPC_MODULE_MAKE_OPTS = \ KSRC=$(LINUX_DIR) $(eval $(kernel-module)) diff --git a/general/package/ssv6x5x-openipc/Config.in b/general/package/ssv6x5x-openipc/Config.in deleted file mode 100644 index 257cfadb..00000000 --- a/general/package/ssv6x5x-openipc/Config.in +++ /dev/null @@ -1,5 +0,0 @@ -config BR2_PACKAGE_SSV6X5X_OPENIPC - bool "ssv6x5x-openipc" - depends on BR2_LINUX_KERNEL - help - SV6X5X wireless driver diff --git a/general/package/wireguard-openipc/.dot b/general/package/wireguard-openipc/.dot deleted file mode 100644 index e69de29b..00000000 diff --git a/general/overlay/etc/init.d/S50snmpd b/general/scripts/legacy/init.d/S50snmpd similarity index 100% rename from general/overlay/etc/init.d/S50snmpd rename to general/scripts/legacy/init.d/S50snmpd