Device: add r1p-lts
This commit is contained in:
2
.github/workflows/dispatch.yml
vendored
2
.github/workflows/dispatch.yml
vendored
@@ -13,7 +13,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
device: [r1p, r1s, r1s-h3, r2c, r2s, r4s, x86]
|
device: [r1p, r1p-lts, r1s, r1s-h3, r2c, r2s, r4s, x86]
|
||||||
steps:
|
steps:
|
||||||
- name: Trigger Compile
|
- name: Trigger Compile
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ wget -qO- https://github.com/klever1988/nanopi-openwrt/raw/master/scripts/autoup
|
|||||||
因为本项目预编译了Image builder,生成固件仅需1-3分钟,如果有兴趣自定义固件可以Fork本项目,编辑设备对应的config.seed文件,例如r2s.config.seed, 去掉(整行删除)不需要的luci app软件包配置行,添加自己所需的软件,可用软件的列表可以在github actions构件输出处获取,例如
|
因为本项目预编译了Image builder,生成固件仅需1-3分钟,如果有兴趣自定义固件可以Fork本项目,编辑设备对应的config.seed文件,例如r2s.config.seed, 去掉(整行删除)不需要的luci app软件包配置行,添加自己所需的软件,可用软件的列表可以在github actions构件输出处获取,例如
|
||||||
<img src="https://user-images.githubusercontent.com/56048681/114531174-3beafb80-9c7e-11eb-8bcc-b098c3b1cee8.png" width="250" />
|
<img src="https://user-images.githubusercontent.com/56048681/114531174-3beafb80-9c7e-11eb-8bcc-b098c3b1cee8.png" width="250" />
|
||||||
<img src="https://user-images.githubusercontent.com/56048681/124495884-43d4ba80-ddeb-11eb-95e9-fb096dcfda45.png" width="250" />
|
<img src="https://user-images.githubusercontent.com/56048681/124495884-43d4ba80-ddeb-11eb-95e9-fb096dcfda45.png" width="250" />
|
||||||
完成之后进入Actions,点击左侧Build,点击右侧Run workflow输入设备名(r2s/r2c/r4s/r1s/r1s-h3/r1p)
|
完成之后进入Actions,点击左侧Build,点击右侧Run workflow输入设备名(r2s/r2c/r4s/r1s/r1s-h3/r1p/r1p-lts)
|
||||||
<img src="https://user-images.githubusercontent.com/56048681/114531768-c7648c80-9c7e-11eb-8d72-fe38f9df960d.png" width="250" />
|
<img src="https://user-images.githubusercontent.com/56048681/114531768-c7648c80-9c7e-11eb-8d72-fe38f9df960d.png" width="250" />
|
||||||
再点击Run即可获取自己所需的固件
|
再点击Run即可获取自己所需的固件
|
||||||
|
|
||||||
|
|||||||
40
r1p-lts.config.seed
Normal file
40
r1p-lts.config.seed
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
CONFIG_TARGET_rockchip=y
|
||||||
|
CONFIG_TARGET_rockchip_armv8=y
|
||||||
|
CONFIG_TARGET_rockchip_armv8_DEVICE_xunlong_orangepi-r1-plus-lts=y
|
||||||
|
CONFIG_TARGET_OPTIMIZATION="-O3 -pipe -march=armv8-a+crypto+crc -mcpu=cortex-a53+crypto+crc -mtune=cortex-a53"
|
||||||
|
CONFIG_TARGET_ROOTFS_PARTSIZE=600
|
||||||
|
|
||||||
|
|
||||||
|
CONFIG_PACKAGE_luci-app-adbyby-plus=y
|
||||||
|
CONFIG_PACKAGE_luci-app-ddnsto=y
|
||||||
|
CONFIG_PACKAGE_luci-app-dockerman=y
|
||||||
|
CONFIG_DOCKER_OPTIONAL_FEATURES=y
|
||||||
|
CONFIG_PACKAGE_luci-app-godproxy=y
|
||||||
|
CONFIG_PACKAGE_luci-app-netdata=y
|
||||||
|
CONFIG_PACKAGE_luci-app-openclash=y
|
||||||
|
CONFIG_PACKAGE_luci-app-cpufreq=y
|
||||||
|
CONFIG_PACKAGE_luci-app-passwall=y
|
||||||
|
CONFIG_PACKAGE_luci-app-qbittorrent=y
|
||||||
|
CONFIG_PACKAGE_luci-app-statistics=y
|
||||||
|
CONFIG_PACKAGE_luci-app-transmission=y
|
||||||
|
CONFIG_PACKAGE_luci-app-uugamebooster=y
|
||||||
|
CONFIG_PACKAGE_luci-theme-argon=y
|
||||||
|
CONFIG_PACKAGE_luci-theme-openwrt=y
|
||||||
|
CONFIG_PACKAGE_luci-theme-openwrt-2020=y
|
||||||
|
CONFIG_PACKAGE_collectd-mod-ping=y
|
||||||
|
CONFIG_PACKAGE_collectd-mod-thermal=y
|
||||||
|
|
||||||
|
|
||||||
|
CONFIG_PACKAGE_kmod-gpu-lima=y
|
||||||
|
CONFIG_PACKAGE_kmod-ath9k-htc=y
|
||||||
|
CONFIG_PACKAGE_kmod-mt76x0u=y
|
||||||
|
CONFIG_PACKAGE_kmod-mt76x2u=y
|
||||||
|
CONFIG_PACKAGE_kmod-r8125=y
|
||||||
|
CONFIG_PACKAGE_kmod-rtl8821cu=y
|
||||||
|
CONFIG_PACKAGE_kmod-rtl8812au-ac=y
|
||||||
|
CONFIG_PACKAGE_iw=y
|
||||||
|
CONFIG_PACKAGE_iwinfo=y
|
||||||
|
CONFIG_PACKAGE_wpad-wolfssl=y
|
||||||
|
CONFIG_DRIVER_11AC_SUPPORT=y
|
||||||
|
CONFIG_DRIVER_11N_SUPPORT=y
|
||||||
|
CONFIG_DRIVER_11W_SUPPORT=y
|
||||||
@@ -20,7 +20,7 @@ proceed_command losetup
|
|||||||
proceed_command resize2fs
|
proceed_command resize2fs
|
||||||
opkg install coreutils-truncate || true
|
opkg install coreutils-truncate || true
|
||||||
|
|
||||||
board_id=$(cat /etc/board.json | jsonfilter -e '@["model"].id' | sed 's/friendly.*,nanopi-//;s/xunlong,orangepi-//;s/^r1s-h5$/r1s/;s/^r1$/r1s-h3/;s/^r1-plus$/r1p/;s/default-string-default-string/x86/;s/vmware-inc-vmware7-1/x86/')
|
board_id=$(cat /etc/board.json | jsonfilter -e '@["model"].id' | sed 's/friendly.*,nanopi-//;s/xunlong,orangepi-//;s/^r1s-h5$/r1s/;s/^r1$/r1s-h3/;s/^r1-plus$/r1p/;s/^r1-plus-lts$/r1p-lts/;s/default-string-default-string/x86/;s/vmware-inc-vmware7-1/x86/')
|
||||||
mount -t tmpfs -o remount,size=850m tmpfs /tmp
|
mount -t tmpfs -o remount,size=850m tmpfs /tmp
|
||||||
rm -rf /tmp/upg && mkdir /tmp/upg && cd /tmp/upg
|
rm -rf /tmp/upg && mkdir /tmp/upg && cd /tmp/upg
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ wget -NP /tmp https://ghproxy.com/https://raw.githubusercontent.com/klever1988/n
|
|||||||
wget -NP /tmp https://ghproxy.com/https://raw.githubusercontent.com/klever1988/nanopi-openwrt/zstd-bin/ddnz
|
wget -NP /tmp https://ghproxy.com/https://raw.githubusercontent.com/klever1988/nanopi-openwrt/zstd-bin/ddnz
|
||||||
chmod +x /tmp/truncate /tmp/ddnz
|
chmod +x /tmp/truncate /tmp/ddnz
|
||||||
|
|
||||||
board_id=$(cat /etc/board.json | jsonfilter -e '@["model"].id' | sed 's/friendly.*,nanopi-//;s/xunlong,orangepi-//;s/^r1s-h5$/r1s/;s/^r1$/r1s-h3/;s/^r1-plus$/r1p/;s/default-string-default-string/x86/;s/vmware-inc-vmware7-1/x86/')
|
board_id=$(cat /etc/board.json | jsonfilter -e '@["model"].id' | sed 's/friendly.*,nanopi-//;s/xunlong,orangepi-//;s/^r1s-h5$/r1s/;s/^r1$/r1s-h3/;s/^r1-plus$/r1p/;s/^r1-plus-lts$/r1p-lts/;s/default-string-default-string/x86/;s/vmware-inc-vmware7-1/x86/')
|
||||||
mount -t tmpfs -o remount,size=850m tmpfs /tmp
|
mount -t tmpfs -o remount,size=850m tmpfs /tmp
|
||||||
rm -rf /tmp/upg && mkdir /tmp/upg && cd /tmp/upg
|
rm -rf /tmp/upg && mkdir /tmp/upg && cd /tmp/upg
|
||||||
set +e
|
set +e
|
||||||
|
|||||||
Reference in New Issue
Block a user