├── .github └── workflows │ ├── armv8懒人版.yml │ ├── armv8精简版.yml │ ├── main.yml │ ├── toolchain.yml │ ├── update-checker.yml │ ├── x64懒人版.yml │ └── x64精简版.yml ├── README.md └── scripts ├── apt ├── armv8 ├── docs ├── 1.JPG └── 2.JPG └── x64 /.github/workflows/armv8懒人版.yml: -------------------------------------------------------------------------------- 1 | name: armv8懒人版 2 | 3 | on: 4 | repository_dispatch: 5 | types: larmv8 6 | workflow_dispatch: 7 | #schedule: 8 | # - cron: 00 16 * * * 9 | 10 | #CI权限 11 | permissions: write-all 12 | 13 | jobs: 14 | build: 15 | #调用公用编译核心main.yml 16 | uses: ./.github/workflows/main.yml 17 | secrets: inherit 18 | with: 19 | FIRENAME: larmv8 20 | FIRENAME1: armv8 21 | REPO_URL: https://github.com/coolsnowwolf/lede 22 | REPO_BRANCH: master 23 | UPLOAD_RELEASE: true 24 | -------------------------------------------------------------------------------- /.github/workflows/armv8精简版.yml: -------------------------------------------------------------------------------- 1 | name: armv8精简版 2 | 3 | on: 4 | repository_dispatch: 5 | types: jarmv8 6 | workflow_dispatch: 7 | #schedule: 8 | # - cron: 00 16 * * * 9 | 10 | #CI权限 11 | permissions: write-all 12 | 13 | jobs: 14 | build: 15 | #调用公用编译核心main.yml 16 | uses: ./.github/workflows/main.yml 17 | secrets: inherit 18 | with: 19 | FIRENAME: jarmv8 20 | FIRENAME1: armv8 21 | REPO_URL: https://github.com/coolsnowwolf/lede 22 | REPO_BRANCH: master 23 | UPLOAD_RELEASE: true 24 | -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- 1 | # 公用编译核心 2 | name: main 3 | 4 | on: 5 | workflow_call: 6 | inputs: 7 | FIRENAME: 8 | required: true 9 | type: string 10 | FIRENAME1: 11 | required: true 12 | type: string 13 | REPO_URL: 14 | required: true 15 | type: string 16 | REPO_BRANCH: 17 | required: true 18 | type: string 19 | UPLOAD_RELEASE: 20 | required: true 21 | type: string 22 | 23 | env: 24 | FIRENAME: ${{inputs.FIRENAME}} 25 | FIRENAME1: ${{inputs.FIRENAME1}} 26 | REPO_URL: ${{inputs.REPO_URL}} 27 | REPO_BRANCH: ${{inputs.REPO_BRANCH}} 28 | UPLOAD_RELEASE: ${{inputs.UPLOAD_RELEASE}} 29 | 30 | jobs: 31 | builds: 32 | runs-on: ubuntu-24.04 33 | steps: 34 | - name: Checkout 35 | uses: actions/checkout@main 36 | - name: 检查服务器配置 37 | run: | 38 | echo "已知CPU型号(降序):7763,8370C,8272CL,8171M,E5系列" 39 | echo "--------------------------CPU信息--------------------------" 40 | echo "CPU物理数量:$(cat /proc/cpuinfo| grep "physical id"| sort| uniq| wc -l)" 41 | echo -e "CPU核心及版本信息:$(cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c) \n" 42 | echo "--------------------------硬盘信息--------------------------" 43 | echo -e "$(df -hT)" 44 | - name: 清理系统 45 | uses: jlumbroso/free-disk-space@main 46 | with: 47 | tool-cache: true 48 | android: true 49 | dotnet: true 50 | haskell: true 51 | large-packages: true 52 | docker-images: true 53 | swap-storage: true 54 | - name: 搭建编译环境 55 | env: 56 | DEBIAN_FRONTEND: noninteractive 57 | run: | 58 | sudo apt-get update 59 | sudo -E apt-get -y full-upgrade 60 | sudo -E apt-get -y install $(cat scripts/apt) 61 | sudo -E systemctl daemon-reload 62 | sudo -E apt-get -y autoremove --purge 63 | sudo -E apt-get clean 64 | sudo ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime 65 | echo "Asia/Shanghai" | sudo tee /etc/timezone 66 | sudo dpkg-reconfigure --frontend noninteractive tzdata 67 | - name: 拉取源码及配置文件 68 | run: | 69 | git clone --depth 1 $REPO_URL -b $REPO_BRANCH openwrt 70 | wget --no-check-certificate https://ac.cxw28.cn/diy.sh 71 | chmod +x diy.sh && mv -f diy.sh openwrt/diy.sh 72 | - name: 缓存 73 | id: cache 74 | uses: stupidloud/cachewrtbuild@main 75 | with: 76 | skip_saving: 'true' 77 | ccache: 'true' 78 | mixkey: '${{ env.FIRENAME1 }}' 79 | prefix: '${{ github.workspace }}/openwrt' 80 | - name: 自定义配置 81 | run: | 82 | cd openwrt 83 | . diy.sh 84 | - name: 下载软件包 85 | run: | 86 | cd openwrt 87 | make defconfig 88 | make download -j16 89 | find dl -size -1024c -exec ls -l {} \; 90 | find dl -size -1024c -exec rm -f {} \; 91 | - name: 编译 92 | run: | 93 | cd openwrt 94 | echo -e "$(nproc) thread compile" 95 | make -j$[`nproc`+1] || make -j1 V=s 96 | echo "compile=success" >> $GITHUB_ENV 97 | - name: 检查剩余空间 98 | if: always() 99 | run: | 100 | echo "--------------------------硬盘信息--------------------------" 101 | echo -e "$(df -hT)" 102 | rm -rf openwrt/build_dir openwrt/staging_dir openwrt/tmp openwrt/dl openwrt/package openwrt/feeds 103 | - name: armv8打包镜像 104 | if: env.compile == 'success' && env.FIRENAME1 == 'armv8' 105 | uses: unifreq/openwrt_packit@master 106 | env: 107 | OPENWRT_ARMVIRT: openwrt/bin/targets/*/*/*.tar.gz 108 | KERNEL_VERSION_NAME: 6.1.2_6.6.2 109 | OPENWRT_VER: R"$(date +%y.%m.%d)" 110 | WHOAMI: Bin 111 | DISTRIB_DESCRIPTION: OP 112 | - name: 整理编译文件 113 | if: always() 114 | run: | 115 | if [ "${{ env.compile }}" != "success" ]; then 116 | echo "STATUS=${{ env.FIRENAME2 }}编译失败" >> $GITHUB_ENV 117 | else 118 | if [ "${{ env.FIRENAME1 }}" = "x64" ]; then 119 | rm -rf openwrt/bin/targets/*/*/packages 120 | echo "PACKAGED_OUTPUTPATH=openwrt/bin/targets/*/*" >> $GITHUB_ENV 121 | echo "STATUS=${{ env.FIRENAME2 }}编译成功" >> $GITHUB_ENV 122 | elif [ "${{ env.FIRENAME1 }}" = "armv8" ]; then 123 | cp openwrt/bin/targets/*/*/config.buildinfo ${{ env.PACKAGED_OUTPUTPATH }} 124 | echo "STATUS=${{ env.FIRENAME2 }}编译成功" >> $GITHUB_ENV 125 | if [ "${{ env.PACKAGED_STATUS }}" = "success" ]; then 126 | echo "STATUS1=\n \${{ env.FIRENAME2 }}打包成功" >> $GITHUB_ENV 127 | else 128 | echo "STATUS1=\n \${{ env.FIRENAME2 }}打包失败" >> $GITHUB_ENV 129 | fi 130 | fi 131 | fi 132 | - name: 发布release 133 | if: env.UPLOAD_RELEASE == 'true' && env.compile == 'success' 134 | uses: ncipollo/release-action@main 135 | with: 136 | name: ${{ env.DATE }} 🚀 ${{ env.FIRENAME2 }} | 自动编译 137 | allowUpdates: true 138 | removeArtifacts: true 139 | tag: ${{ env.FIRENAME3 }} 140 | commit: master 141 | token: ${{ secrets.RELEASES_TOKEN }} 142 | body: | 143 | ${{ env.Info }} 144 | artifacts: ${{ env.PACKAGED_OUTPUTPATH }}/* 145 | - name: 企业微信应用消息推送 146 | if: always() 147 | env: 148 | CORP_ID: ${{ secrets.CORP_ID }} 149 | CORP_SECRET: ${{ secrets.CORP_SECRET }} 150 | AGENT_ID: ${{ secrets.AGENT_ID }} 151 | TEXT: | 152 | 🚀GitHub Action 通知 153 | 154 | 仓库: ${{ github.repository }} 155 | 状态: ${{ env.STATUS }}${{ env.STATUS1 }} 156 | PROXY_URL: ${{ secrets.PROXY_URL }} # 代理(可选) 157 | run: | 158 | wget --no-check-certificate https://ac.cxw28.cn/notify.py && chmod +x notify.py 159 | python3 notify.py 160 | -------------------------------------------------------------------------------- /.github/workflows/toolchain.yml: -------------------------------------------------------------------------------- 1 | name: Toolchain 2 | 3 | on: 4 | repository_dispatch: 5 | types: Toolchain 6 | workflow_dispatch: 7 | #schedule: 8 | # - cron: 00 13 * * * 9 | 10 | env: 11 | REPO_URL: https://github.com/coolsnowwolf/lede 12 | REPO_BRANCH: master 13 | APT: scripts/apt 14 | 15 | jobs: 16 | build: 17 | runs-on: ubuntu-24.04 18 | strategy: 19 | fail-fast: false 20 | matrix: 21 | PLATFORM: [x64, armv8] 22 | steps: 23 | - name: 签出 24 | uses: actions/checkout@main 25 | - name: 拉取源码 26 | run: | 27 | git clone --depth 1 $REPO_URL -b $REPO_BRANCH openwrt 28 | - name: 缓存 29 | id: cache 30 | env: 31 | PLATFORM: ${{ matrix.PLATFORM }} 32 | uses: stupidloud/cachewrtbuild@main 33 | with: 34 | ccache: 'true' 35 | mixkey: '${{ env.PLATFORM }}' 36 | prefix: '${{ github.workspace }}/openwrt' 37 | - name: 搭建编译环境 38 | if: steps.cache.outputs.hit != '1' 39 | env: 40 | DEBIAN_FRONTEND: noninteractive 41 | run: | 42 | sudo apt-get update 43 | sudo -E apt-get -y full-upgrade 44 | sudo -E apt-get -y install $(cat $APT) 45 | sudo -E systemctl daemon-reload 46 | sudo -E apt-get -y autoremove --purge 47 | sudo -E apt-get clean 48 | sudo -E timedatectl set-timezone "Asia/Shanghai" 49 | - name: 更新Feeds 50 | if: steps.cache.outputs.hit != '1' 51 | run: | 52 | cd openwrt 53 | ./scripts/feeds update -a 54 | ./scripts/feeds install -a 55 | - name: 下载Packages 56 | if: steps.cache.outputs.hit != '1' 57 | env: 58 | PLATFORM: ${{ matrix.PLATFORM }} 59 | run: | 60 | cp -p scripts/${{ env.PLATFORM }} openwrt/.config 61 | cd openwrt 62 | make defconfig 63 | make download -j16 64 | find dl -size -1024c -exec ls -l {} \; 65 | find dl -size -1024c -exec rm -f {} \; 66 | - name: 编译 67 | if: steps.cache.outputs.hit != '1' 68 | run: | 69 | cd openwrt 70 | echo -e "$(nproc) thread compile" 71 | make tools/compile -j$[`nproc`+1] || make tools/compile -j1 V=s 72 | make toolchain/compile -j$[`nproc`+1] || make toolchain/compile -j1 V=s 73 | echo "compile=success" >> $GITHUB_ENV 74 | - name: 触发是否编译,设置微信推送变量 75 | if: always() 76 | env: 77 | PLATFORM: ${{ matrix.PLATFORM }} 78 | run: | 79 | if [ "${{ env.compile }}" = "success" ];then 80 | echo "STATUS=${{ env.PLATFORM }}缓存成功,开始编译" >> $GITHUB_ENV 81 | curl -X POST https://api.github.com/repos/binge8/op/dispatches -H "Accept: application/vnd.github.everest-preview+json" -H "Authorization: token ${{ secrets.RELEASES_TOKEN }}" --data '{"event_type": "j${{ env.PLATFORM }}"}' 82 | curl -X POST https://api.github.com/repos/binge8/op/dispatches -H "Accept: application/vnd.github.everest-preview+json" -H "Authorization: token ${{ secrets.RELEASES_TOKEN }}" --data '{"event_type": "l${{ env.PLATFORM }}"}' 83 | else 84 | if [ -n "${{ steps.cache.outputs.hit }}" ];then 85 | echo "STATUS=${{ env.PLATFORM }}缓存未改变,开始编译" >> $GITHUB_ENV 86 | curl -X POST https://api.github.com/repos/binge8/op/dispatches -H "Accept: application/vnd.github.everest-preview+json" -H "Authorization: token ${{ secrets.RELEASES_TOKEN }}" --data '{"event_type": "j${{ env.PLATFORM }}"}' 87 | curl -X POST https://api.github.com/repos/binge8/op/dispatches -H "Accept: application/vnd.github.everest-preview+json" -H "Authorization: token ${{ secrets.RELEASES_TOKEN }}" --data '{"event_type": "l${{ env.PLATFORM }}"}' 88 | else 89 | echo "STATUS=${{ env.PLATFORM }}缓存失败" >> $GITHUB_ENV 90 | fi 91 | fi 92 | - name: 企业微信应用消息推送 93 | if: always() 94 | env: 95 | CORP_ID: ${{ secrets.CORP_ID }} 96 | CORP_SECRET: ${{ secrets.CORP_SECRET }} 97 | AGENT_ID: ${{ secrets.AGENT_ID }} 98 | TEXT: | 99 | 🚀GitHub Action 通知 100 | 101 | 仓库: ${{ github.repository }} 102 | 状态: ${{ env.STATUS }} 103 | PROXY_URL: ${{ secrets.PROXY_URL }} # 代理(可选) 104 | run: | 105 | wget --no-check-certificate https://ac.cxw28.cn/notify.py && chmod +x notify.py 106 | python3 notify.py 107 | -------------------------------------------------------------------------------- /.github/workflows/update-checker.yml: -------------------------------------------------------------------------------- 1 | name: Update Checker 2 | 3 | env: 4 | # Lean源码 5 | REPO_URL_lede: https://github.com/coolsnowwolf/lede 6 | REPO_BRANCH_lede: master 7 | REPO_PATH_lede: "lede" 8 | REPO_URL_packages: https://github.com/coolsnowwolf/packages 9 | REPO_BRANCH_packages: master 10 | REPO_PATH_packages: "packages" 11 | REPO_URL_luci: https://github.com/coolsnowwolf/luci 12 | REPO_BRANCH_luci: openwrt-23.05 13 | REPO_PATH_luci: "luci" 14 | REPO_URL_pw: https://github.com/xiaorouji/openwrt-passwall 15 | REPO_BRANCH_pw: main 16 | REPO_PATH_pw: "openwrt-passwall/luci-app-passwall" 17 | 18 | on: 19 | repository_dispatch: 20 | types: Update-Lean 21 | workflow_dispatch: 22 | #schedule: 23 | # - cron: 58 15 * * * 24 | 25 | jobs: 26 | check: 27 | runs-on: ubuntu-24.04 28 | steps: 29 | - name: Checkout 30 | uses: actions/checkout@main 31 | - name: 获取Hash 32 | id: getHash 33 | run: | 34 | # 获取lede_Hash 35 | git clone --depth 1 $REPO_URL_lede -b $REPO_BRANCH_lede $REPO_PATH_lede 36 | cd $REPO_PATH_lede 37 | echo "commitHash_lede=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT 38 | cd .. 39 | # 获取packages_Hash 40 | git clone --depth 1 $REPO_URL_packages -b $REPO_BRANCH_packages $REPO_PATH_packages 41 | cd $REPO_PATH_packages 42 | echo "commitHash_packages=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT 43 | cd .. 44 | # 获取luci_Hash 45 | git clone --depth 1 $REPO_URL_luci -b $REPO_BRANCH_luci $REPO_PATH_luci 46 | cd $REPO_PATH_luci 47 | echo "commitHash_luci=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT 48 | cd .. 49 | # 获取pw_Hash 50 | git clone --depth 1 $REPO_URL_pw -b $REPO_BRANCH_pw $REPO_PATH_pw 51 | cd $REPO_PATH_pw 52 | echo "commitHash_pw=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT 53 | - name: 整理Hash 54 | id: setHash 55 | run: | 56 | echo "commitHash=${{ steps.getHash.outputs.commitHash_lede }}-${{ steps.getHash.outputs.commitHash_packages }}-${{ steps.getHash.outputs.commitHash_luci }}-${{ steps.getHash.outputs.commitHash_pw }}" >> $GITHUB_OUTPUT 57 | - name: 比较Hash 58 | id: cacheHash 59 | uses: actions/cache@main 60 | with: 61 | path: .commitHash 62 | key: HEAD-${{ steps.setHash.outputs.commitHash }} 63 | - name: 保存Hash,设置微信推送变量 64 | run: | 65 | if [ "${{ steps.cacheHash.outputs.cache-hit }}" = "true" ]; then 66 | echo "STATUS=Lean无更新,暂停缓存" >> $GITHUB_ENV 67 | else 68 | if [ -n "${{ steps.setHash.outputs.commitHash }}" ]; then 69 | echo "STATUS=Lean有更新,开始缓存" >> $GITHUB_ENV 70 | curl -X POST https://api.github.com/repos/binge8/op/dispatches -H "Accept: application/vnd.github.everest-preview+json" -H "Authorization: token ${{ secrets.RELEASES_TOKEN }}" --data '{"event_type": "Toolchain"}' 71 | echo ${{ steps.setHash.outputs.commitHash }} | tee .commitHash 72 | else 73 | echo "STATUS=Lean更新检测失败" >> $GITHUB_ENV 74 | fi 75 | fi 76 | - name: 删除运行记录 77 | if: always() 78 | uses: Mattraks/delete-workflow-runs@v2 79 | with: 80 | token: ${{ secrets.RELEASES_TOKEN }} 81 | repository: ${{ github.repository }} 82 | retain_days: 3 83 | keep_minimum_runs: 0 84 | - name: 企业微信应用消息推送 85 | if: always() 86 | env: 87 | CORP_ID: ${{ secrets.CORP_ID }} 88 | CORP_SECRET: ${{ secrets.CORP_SECRET }} 89 | AGENT_ID: ${{ secrets.AGENT_ID }} 90 | TEXT: | 91 | 🚀GitHub Action 通知 92 | 93 | 仓库: ${{ github.repository }} 94 | 状态: ${{ env.STATUS }} 95 | PROXY_URL: ${{ secrets.PROXY_URL }} # 代理(可选) 96 | run: | 97 | wget --no-check-certificate https://ac.cxw28.cn/notify.py && chmod +x notify.py 98 | python3 notify.py 99 | -------------------------------------------------------------------------------- /.github/workflows/x64懒人版.yml: -------------------------------------------------------------------------------- 1 | name: x64懒人版 2 | 3 | on: 4 | repository_dispatch: 5 | types: lx64 6 | workflow_dispatch: 7 | #schedule: 8 | # - cron: 00 16 * * * 9 | 10 | #CI权限 11 | permissions: write-all 12 | 13 | jobs: 14 | build: 15 | #调用公用编译核心main.yml 16 | uses: ./.github/workflows/main.yml 17 | secrets: inherit 18 | with: 19 | FIRENAME: lx64 20 | FIRENAME1: x64 21 | REPO_URL: https://github.com/coolsnowwolf/lede 22 | REPO_BRANCH: master 23 | UPLOAD_RELEASE: true 24 | -------------------------------------------------------------------------------- /.github/workflows/x64精简版.yml: -------------------------------------------------------------------------------- 1 | name: x64精简版 2 | 3 | on: 4 | repository_dispatch: 5 | types: jx64 6 | workflow_dispatch: 7 | #schedule: 8 | # - cron: 00 16 * * * 9 | 10 | #CI权限 11 | permissions: write-all 12 | 13 | jobs: 14 | build: 15 | #调用公用编译核心main.yml 16 | uses: ./.github/workflows/main.yml 17 | secrets: inherit 18 | with: 19 | FIRENAME: jx64 20 | FIRENAME1: x64 21 | REPO_URL: https://github.com/coolsnowwolf/lede 22 | REPO_BRANCH: master 23 | UPLOAD_RELEASE: true -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | x64精简版 ![](https://img.shields.io/github/actions/workflow/status/binge8/op/x64精简版.yml?labelColor=blue) x64懒人版 ![](https://img.shields.io/github/actions/workflow/status/binge8/op/x64懒人版.yml?labelColor=blue) armv8精简版 ![](https://img.shields.io/github/actions/workflow/status/binge8/op/armv8精简版.yml?labelColor=blue) armv8懒人版 ![](https://img.shields.io/github/actions/workflow/status/binge8/op/armv8懒人版.yml?labelColor=blue) 2 | 3 | 4 | 5 | 6 | # Actions-OpenWrt 7 | 🚀 推荐本人[➦自用机场](https://xn--clouds-o43k.com/#/register?code=Eys6COZC) 便宜量大稳定10元1T每月。 8 | 本仓库默认每天自动编译。每天保持固件最新 9 | 10 | ## 注:所有固件默认管理IP为:192.168.7.1 密码:password 11 | 主仓库使用[➦L大佬](https://github.com/coolsnowwolf/lede),armv8系列打包库和内核使用[➦F大佬](https://github.com/unifreq) 12 | 默认编译luci24.10版本 13 | 14 | ## 固件特色: 15 | 1.各型号固件分为精简版(只具备基本上网功能和极少数插件)和懒人版(包含大部分插件的高大全版本) 16 | 2.armv8系列固件包含目前常用的电视盒子openwrt固件(N1、贝壳云等),F大发布的支持的盒子固件这里都有. 17 | 3.armv8系列固件内置晶晨宝盒,可以在线更新最新固件、内核等。 18 | 19 | ### 精简版自带插件 20 | ![精简版自带插件](scripts/docs/1.JPG) 21 | ![精简版自带插件](scripts/docs/2.JPG) 22 | ### 懒人版自带插件就不一一列举了,总之你想要的大部分都有 23 | 24 | ## 致谢 25 | 26 | - [P3TERX](https://github.com/P3TERX/Actions-OpenWrt) 27 | - [id77](https://github.com/id77/OpenWrt-K2P-firmware) 28 | - [Microsoft](https://www.microsoft.com) 29 | - [Microsoft Azure](https://azure.microsoft.com) 30 | - [GitHub](https://github.com) 31 | - [GitHub Actions](https://github.com/features/actions) 32 | - [tmate](https://github.com/tmate-io/tmate) 33 | - [mxschmitt/action-tmate](https://github.com/mxschmitt/action-tmate) 34 | - [csexton/debugger-action](https://github.com/csexton/debugger-action) 35 | - [Cisco](https://www.cisco.com/) 36 | - [OpenWrt](https://github.com/openwrt/openwrt) 37 | - [Lean's OpenWrt](https://github.com/coolsnowwolf/lede) 38 | - [ncipollo](https://github.com/ncipollo/release-action) 39 | -------------------------------------------------------------------------------- /scripts/apt: -------------------------------------------------------------------------------- 1 | ack antlr3 asciidoc autoconf automake autopoint binutils bison build-essential bzip2 ccache clang cmake cpio curl device-tree-compiler flex gawk gcc-multilib g++-multilib gettext genisoimage git gperf haveged help2man intltool libc6-dev-i386 libelf-dev libfuse-dev libglib2.0-dev libgmp3-dev libltdl-dev libmpc-dev libmpfr-dev libncurses5-dev libncursesw5-dev libpython3-dev libreadline-dev libssl-dev libtool llvm lrzsz msmtp ninja-build p7zip p7zip-full patch pkgconf python3 python3-pyelftools python3-setuptools qemu-utils rsync scons squashfs-tools subversion swig texinfo uglifyjs upx-ucl unzip vim wget xmlto xxd zlib1g-dev tzdata 2 | -------------------------------------------------------------------------------- /scripts/armv8: -------------------------------------------------------------------------------- 1 | CONFIG_MODULES=y 2 | CONFIG_HAVE_DOT_CONFIG=y 3 | CONFIG_HOST_OS_LINUX=y 4 | CONFIG_TARGET_armsr=y 5 | CONFIG_TARGET_armsr_armv8=y 6 | # CONFIG_TARGET_MULTI_PROFILE is not set 7 | CONFIG_TARGET_armsr_armv8_DEVICE_generic=y 8 | CONFIG_HAS_SUBTARGETS=y 9 | CONFIG_HAS_DEVICES=y 10 | CONFIG_TARGET_BOARD="armsr" 11 | CONFIG_TARGET_SUBTARGET="armv8" 12 | CONFIG_TARGET_PROFILE="DEVICE_generic" 13 | CONFIG_TARGET_ARCH_PACKAGES="aarch64_generic" 14 | CONFIG_DEFAULT_TARGET_OPTIMIZATION="-Os -pipe -mcpu=generic" 15 | CONFIG_CPU_TYPE="generic" 16 | CONFIG_LINUX_6_6=y 17 | CONFIG_HAS_FPU=y 18 | CONFIG_AUDIO_SUPPORT=y 19 | CONFIG_GPIO_SUPPORT=y 20 | CONFIG_PCI_SUPPORT=y 21 | CONFIG_PCIE_SUPPORT=y 22 | CONFIG_USB_SUPPORT=y 23 | CONFIG_RTC_SUPPORT=y 24 | CONFIG_USES_DEVICETREE=y 25 | CONFIG_USES_INITRAMFS=y 26 | CONFIG_USES_SQUASHFS=y 27 | CONFIG_USES_EXT4=y 28 | CONFIG_USES_TARGZ=y 29 | CONFIG_USES_CPIOGZ=y 30 | CONFIG_ARCH_64BIT=y 31 | CONFIG_VIRTIO_SUPPORT=y 32 | CONFIG_USES_ROOTFS_PART=y 33 | CONFIG_USES_BOOT_PART=y 34 | CONFIG_aarch64=y 35 | CONFIG_ARCH="aarch64" 36 | # 37 | # Target Images 38 | # 39 | # CONFIG_TARGET_ROOTFS_INITRAMFS is not set 40 | CONFIG_EXTERNAL_CPIO="" 41 | 42 | # 43 | # Root filesystem archives 44 | # 45 | # CONFIG_TARGET_ROOTFS_CPIOGZ is not set 46 | CONFIG_TARGET_ROOTFS_TARGZ=y 47 | 48 | # 49 | # Root filesystem images 50 | # 51 | # CONFIG_TARGET_ROOTFS_EXT4FS is not set 52 | # CONFIG_TARGET_ROOTFS_SQUASHFS is not set 53 | CONFIG_TARGET_UBIFS_FREE_SPACE_FIXUP=y 54 | CONFIG_TARGET_UBIFS_JOURNAL_SIZE="" 55 | CONFIG_TARGET_SERIAL="ttyS0" 56 | # CONFIG_TARGET_IMAGES_GZIP is not set 57 | 58 | # 59 | # Image Options 60 | # 61 | CONFIG_TARGET_KERNEL_PARTSIZE=128 62 | CONFIG_TARGET_ROOTFS_PARTSIZE=500 63 | # CONFIG_TARGET_ROOTFS_PERSIST_VAR is not set 64 | # end of Target Images -------------------------------------------------------------------------------- /scripts/docs/1.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binge8/op/4ac7a86965a913def7cd1168989b16c88464f5c6/scripts/docs/1.JPG -------------------------------------------------------------------------------- /scripts/docs/2.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binge8/op/4ac7a86965a913def7cd1168989b16c88464f5c6/scripts/docs/2.JPG -------------------------------------------------------------------------------- /scripts/x64: -------------------------------------------------------------------------------- 1 | CONFIG_MODULES=y 2 | CONFIG_HAVE_DOT_CONFIG=y 3 | CONFIG_HOST_OS_LINUX=y 4 | CONFIG_TARGET_x86=y 5 | CONFIG_TARGET_x86_64=y 6 | CONFIG_TARGET_x86_64_DEVICE_generic=y 7 | CONFIG_HAS_SUBTARGETS=y 8 | CONFIG_HAS_DEVICES=y 9 | CONFIG_TARGET_BOARD="x86" 10 | CONFIG_TARGET_SUBTARGET="64" 11 | CONFIG_TARGET_PROFILE="DEVICE_generic" 12 | CONFIG_TARGET_ARCH_PACKAGES="x86_64" 13 | CONFIG_DEFAULT_TARGET_OPTIMIZATION="-Os -pipe" 14 | CONFIG_CPU_TYPE=" " 15 | CONFIG_LINUX_6_12=y 16 | CONFIG_HAS_TESTING_KERNEL=y 17 | CONFIG_HAS_FPU=y 18 | CONFIG_AUDIO_SUPPORT=y 19 | CONFIG_GPIO_SUPPORT=y 20 | CONFIG_PCI_SUPPORT=y 21 | CONFIG_PCIE_SUPPORT=y 22 | CONFIG_PCMCIA_SUPPORT=y 23 | CONFIG_USB_SUPPORT=y 24 | CONFIG_RTC_SUPPORT=y 25 | CONFIG_USES_SQUASHFS=y 26 | CONFIG_ARCH_64BIT=y 27 | CONFIG_VIRTIO_SUPPORT=y 28 | CONFIG_USES_ROOTFS_PART=y 29 | CONFIG_USES_BOOT_PART=y 30 | CONFIG_x86_64=y 31 | CONFIG_ARCH="x86_64" 32 | # 33 | # Target Images 34 | # 35 | # CONFIG_TARGET_ROOTFS_INITRAMFS is not set 36 | CONFIG_EXTERNAL_CPIO="" 37 | 38 | # 39 | # Root filesystem archives 40 | # 41 | # CONFIG_TARGET_ROOTFS_CPIOGZ is not set 42 | # CONFIG_TARGET_ROOTFS_TARGZ is not set 43 | 44 | # 45 | # Root filesystem images 46 | # 47 | # CONFIG_TARGET_ROOTFS_EXT4FS is not set 48 | CONFIG_TARGET_ROOTFS_SQUASHFS=y 49 | CONFIG_TARGET_SQUASHFS_BLOCK_SIZE=256 50 | CONFIG_TARGET_UBIFS_FREE_SPACE_FIXUP=y 51 | CONFIG_TARGET_UBIFS_JOURNAL_SIZE="" 52 | CONFIG_GRUB_IMAGES=y 53 | CONFIG_GRUB_EFI_IMAGES=y 54 | CONFIG_GRUB_CONSOLE=y 55 | CONFIG_GRUB_BAUDRATE=115200 56 | # CONFIG_GRUB_FLOWCONTROL is not set 57 | CONFIG_GRUB_BOOTOPTS="" 58 | CONFIG_GRUB_TIMEOUT="0" 59 | CONFIG_GRUB_TITLE="LEDE" 60 | # CONFIG_ISO_IMAGES is not set 61 | # CONFIG_QCOW2_IMAGES is not set 62 | # CONFIG_VDI_IMAGES is not set 63 | # CONFIG_VMDK_IMAGES is not set 64 | # CONFIG_VHDX_IMAGES is not set 65 | CONFIG_TARGET_SERIAL="ttyS0" 66 | # CONFIG_TARGET_IMAGES_GZIP is not set 67 | 68 | # 69 | # Image Options 70 | # 71 | CONFIG_TARGET_KERNEL_PARTSIZE=16 72 | CONFIG_TARGET_ROOTFS_PARTSIZE=500 73 | CONFIG_TARGET_ROOTFS_PARTNAME="" 74 | # CONFIG_TARGET_ROOTFS_PERSIST_VAR is not set 75 | # end of Target Images --------------------------------------------------------------------------------