mirror of
https://ghproxy.com/https://github.com/tossp/redpill-tool-chain.git
synced 2024-09-20 08:07:43 +00:00
添加 DS920+ 支持
This commit is contained in:
parent
90cb8b83a7
commit
0ee9b6037f
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
|
@ -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
|
||||
|
||||
|
|
|
@ -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:
|
||||
---------------------
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user