添加 DS920+ 支持

This commit is contained in:
砼砼 2022-02-21 17:24:05 +08:00
parent 90cb8b83a7
commit 0ee9b6037f
No known key found for this signature in database
GPG Key ID: 3FDE30A50EA2CCEA
4 changed files with 34 additions and 1 deletions

View File

@ -37,6 +37,8 @@ jobs:
version: 7.0.1-42218
- platform: broadwellnk
version: 7.0.1-42218
- platform: geminilake
version: 7.0.1-42218
steps:
- name: 检出项目文件
uses: actions/checkout@v2
@ -64,7 +66,7 @@ jobs:
sed -i -e 's/00AAAAAAAAAA"/&,\n\t"mac2": "00BBBBBBBBBB",\n\t"netif_num": 2/' ${{matrix.platform}}_user_config.json
# 调整synoinfo
sed -i -e 's/"synoinfo": {},/"synoinfo": {\n\t"maxlanport": "2"\n },/' ${{matrix.platform}}_user_config.json
# 添加驱动
# 添加扩展驱动
./redpill_tool_chain.sh add https://github.com/jumkey/redpill-load/raw/develop/redpill-acpid/rpext-index.json
./redpill_tool_chain.sh add https://github.com/jumkey/redpill-load/raw/develop/redpill-virtio/rpext-index.json

View File

@ -113,6 +113,7 @@ apollolake-7.0-41890
apollolake-7.0.1-42218
broadwell-7.0.1-42218
broadwellnk-7.0.1-42218
geminilake-7.0.1-42218
Custom Extensions:
---------------------

View File

@ -48,6 +48,10 @@ build_redpill_load:
pushd $(REDPILL_LOAD_SRC) && \
./build-loader.sh 'DS3622xs+' '$(TARGET_VERSION)-$(TARGET_REVISION)'; \
fi
@if [ "$(TARGET_PLATFORM)" == "geminilake" ]; then \
pushd $(REDPILL_LOAD_SRC) && \
./build-loader.sh 'DS920+' '$(TARGET_VERSION)-$(TARGET_REVISION)'; \
fi
.PHONY: build_all
build_all: build_redpill_lkm build_redpill_load

View File

@ -226,6 +226,32 @@
"source_url": "https://github.com/jumkey/redpill-load.git",
"branch": "develop"
}
},
{
"id": "geminilake-7.0.1-42218",
"platform_version": "geminilake-7.0.1-42218",
"user_config_json": "geminilake_user_config.json",
"docker_base_image": "debian:10-slim",
"compile_with": "toolkit_dev",
"redpill_lkm_make_target": "dev-v7",
"downloads": {
"kernel": {
"url": "https://sourceforge.net/projects/dsgpl/files/Synology%20NAS%20GPL%20Source/25426branch/geminilake-source/linux-4.4.x.txz/download",
"sha256": "7a625433187269afa255be0382dad2ff27ff27fe3421e9b92d45a7e75653797a"
},
"toolkit_dev": {
"url": "https://sourceforge.net/projects/dsgpl/files/toolkit/DSM7.0/ds.geminilake-7.0.dev.txz/download",
"sha256": "544fbe3b8b6390af180163322864acb3f4a60cbb44f73ae1e79131f0693c6754"
}
},
"redpill_lkm": {
"source_url": "https://github.com/jumkey/redpill-lkm.git",
"branch": "develop"
},
"redpill_load": {
"source_url": "https://github.com/jumkey/redpill-load.git",
"branch": "develop"
}
}
]
}