mirror of
https://github.com/fbelavenuto/arpl.git
synced 2025-12-24 23:12:05 +08:00
Compare commits
97 Commits
v1.0-beta1
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1b77082df1 | ||
|
|
1abe8cb1f1 | ||
|
|
e5e20e2e72 | ||
|
|
d4e51ee86d | ||
|
|
b4beb63ea6 | ||
|
|
5792f05140 | ||
|
|
b021c4945e | ||
|
|
c01cdc8f2b | ||
|
|
194de75e85 | ||
|
|
edce7eb162 | ||
|
|
3322466ee6 | ||
|
|
76f14d95c7 | ||
|
|
e4dbea741a | ||
|
|
109ff30564 | ||
|
|
f6bc5b08ab | ||
|
|
269b9b0158 | ||
|
|
5ee1f2d995 | ||
|
|
8d0cf083e0 | ||
|
|
57ee20788a | ||
|
|
ae539cf5b6 | ||
|
|
9405793720 | ||
|
|
988367ad86 | ||
|
|
a4d04d5653 | ||
|
|
c42ce3120f | ||
|
|
9dd15f25e0 | ||
|
|
93c0303aba | ||
|
|
b2c215fb9a | ||
|
|
4fc5161239 | ||
|
|
1b7304ef44 | ||
|
|
230cbc986b | ||
|
|
746d0361b4 | ||
|
|
7acfb99fca | ||
|
|
3c84a9fa29 | ||
|
|
1012d4563a | ||
|
|
920b9994b1 | ||
|
|
b91aec94a7 | ||
|
|
97356dff47 | ||
|
|
6fe5a26531 | ||
|
|
f99a7fe44b | ||
|
|
7584ad59f2 | ||
|
|
79eaeb2c40 | ||
|
|
8908747db7 | ||
|
|
d5d752b93c | ||
|
|
b5010aff8c | ||
|
|
57daf6e645 | ||
|
|
06d85768bf | ||
|
|
f2667baa64 | ||
|
|
4e33c6fe69 | ||
|
|
5c4abf005d | ||
|
|
7d9a6bd91b | ||
|
|
8df97f2cf7 | ||
|
|
1cc8488d44 | ||
|
|
630cd019db | ||
|
|
68ceba090d | ||
|
|
10a3390eda | ||
|
|
14dee10280 | ||
|
|
e0d6f5487e | ||
|
|
e3c79978fb | ||
|
|
af04acef77 | ||
|
|
abc533f6e5 | ||
|
|
bd34a24665 | ||
|
|
6a49f24473 | ||
|
|
994c0e21f1 | ||
|
|
9ce8f6deb7 | ||
|
|
d61c3a9f3a | ||
|
|
d8ad963a02 | ||
|
|
d71c4215a1 | ||
|
|
c5e81b59b4 | ||
|
|
d4c2e8dbca | ||
|
|
178374e498 | ||
|
|
85778bbf58 | ||
|
|
ed8f511766 | ||
|
|
7b02fc8d25 | ||
|
|
034b40dad9 | ||
|
|
ad6d6f69cb | ||
|
|
ef8fc415ac | ||
|
|
0ef66dc098 | ||
|
|
936dccb19d | ||
|
|
188ebcc0dd | ||
|
|
269d3a3efe | ||
|
|
b52afda06b | ||
|
|
2e7e5c3757 | ||
|
|
a8b6217264 | ||
|
|
bb302f2bae | ||
|
|
6edf6cc290 | ||
|
|
31c16c7b9a | ||
|
|
a3ecb56543 | ||
|
|
e66f415ce0 | ||
|
|
fb6c441159 | ||
|
|
290cb8f888 | ||
|
|
3f4b033e33 | ||
|
|
04fd54c754 | ||
|
|
56d0da1a63 | ||
|
|
8d73e73937 | ||
|
|
532e4c27f4 | ||
|
|
d93b15bd8e | ||
|
|
36a7930252 |
105
.github/workflows/main.yml
vendored
105
.github/workflows/main.yml
vendored
@@ -14,24 +14,64 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
# Check cache
|
# Check dl cache
|
||||||
|
- name: Cache downloads
|
||||||
|
id: dl-cache
|
||||||
|
uses: actions/cache@v3
|
||||||
|
with:
|
||||||
|
path: ~/dl
|
||||||
|
key: ${{ runner.os }}-dl
|
||||||
|
|
||||||
|
# Check buildroot cache
|
||||||
- name: Cache buildroot
|
- name: Cache buildroot
|
||||||
id: cache
|
id: br-cache
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: .buildroot
|
path: .buildroot
|
||||||
key: ${{ runner.os }}-${{ hashFiles('files/configs/arpl_defconfig') }}
|
key: ${{ runner.os }}-${{ hashFiles('files/configs/arpl_defconfig') }}
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y libelf-dev qemu-utils
|
sudo apt-get install -y libelf-dev qemu-utils
|
||||||
sudo cp -f files/board/arpl/overlayfs/usr/bin/yq /usr/bin/yq
|
sudo cp -f files/board/arpl/overlayfs/usr/bin/yq /usr/bin/yq
|
||||||
|
|
||||||
# Prepare buildroot for first make (for cache)
|
# Get latests LKM, addons and modules
|
||||||
- name: Prepare buildroot
|
- name: Get latests LKM, addons and Modules
|
||||||
if: steps.cache.outputs.cache-hit != 'true'
|
run: |
|
||||||
|
# Get latest LKMs
|
||||||
|
echo "Getting latest LKMs"
|
||||||
|
TAG=`curl -s https://api.github.com/repos/fbelavenuto/redpill-lkm/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3)}'`
|
||||||
|
STATUS=`curl -w "%{http_code}" -L "https://github.com/fbelavenuto/redpill-lkm/releases/download/${TAG}/rp-lkms.zip" -o /tmp/rp-lkms.zip`
|
||||||
|
echo "Status=${STATUS}"
|
||||||
|
[ ${STATUS} -ne 200 ] && exit 1
|
||||||
|
|
||||||
|
# Get latest addons and install its
|
||||||
|
echo "Getting latest Addons"
|
||||||
|
TAG=`curl -s https://api.github.com/repos/fbelavenuto/arpl-addons/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3)}'`
|
||||||
|
STATUS=`curl -w "%{http_code}" -L "https://github.com/fbelavenuto/arpl-addons/releases/download/${TAG}/addons.zip" -o /tmp/addons.zip`
|
||||||
|
echo "Status=${STATUS}"
|
||||||
|
[ ${STATUS} -ne 200 ] && exit 1
|
||||||
|
|
||||||
|
# Get latest modules
|
||||||
|
echo "Getting latest modules"
|
||||||
|
MODULES_DIR="files/board/arpl/p3/modules"
|
||||||
|
TAG=`curl -s https://api.github.com/repos/fbelavenuto/arpl-modules/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3)}'`
|
||||||
|
while read PLATFORM KVER; do
|
||||||
|
FILE="${PLATFORM}-${KVER}"
|
||||||
|
STATUS=`curl -w "%{http_code}" -L "https://github.com/fbelavenuto/arpl-modules/releases/download/${TAG}/${FILE}.tgz" -o "${MODULES_DIR}/${FILE}.tgz"`
|
||||||
|
echo "Status=${STATUS}"
|
||||||
|
[ ${STATUS} -ne 200 ] && exit 1
|
||||||
|
done < PLATFORMS
|
||||||
|
STATUS=`curl -w "%{http_code}" -L "https://github.com/fbelavenuto/arpl-modules/releases/download/${TAG}/firmware.tgz" -o "${MODULES_DIR}/firmware.tgz"`
|
||||||
|
echo "Status=${STATUS}"
|
||||||
|
[ ${STATUS} -ne 200 ] && exit 1
|
||||||
|
echo OK
|
||||||
|
|
||||||
|
# Clone buildroot repository (if not cached)
|
||||||
|
- name: Clone buildroot
|
||||||
|
if: steps.br-cache.outputs.cache-hit != 'true'
|
||||||
run: |
|
run: |
|
||||||
git clone --single-branch -b 2022.02 https://github.com/buildroot/buildroot.git .buildroot
|
git clone --single-branch -b 2022.02 https://github.com/buildroot/buildroot.git .buildroot
|
||||||
# Copy files
|
# Copy files
|
||||||
@@ -40,10 +80,23 @@ jobs:
|
|||||||
cd .buildroot
|
cd .buildroot
|
||||||
echo "Generating default config"
|
echo "Generating default config"
|
||||||
make BR2_EXTERNAL=../external arpl_defconfig
|
make BR2_EXTERNAL=../external arpl_defconfig
|
||||||
|
|
||||||
|
# Download sources if not cached
|
||||||
|
- name: Download buildroot packages source
|
||||||
|
if: steps.dl-cache.outputs.cache-hit != 'true'
|
||||||
|
run: |
|
||||||
|
cd .buildroot
|
||||||
|
make BR2_EXTERNAL=../external source
|
||||||
|
|
||||||
|
# Prepare buildroot for first make
|
||||||
|
- name: Prepare buildroot
|
||||||
|
if: steps.br-cache.outputs.cache-hit != 'true'
|
||||||
|
run: |
|
||||||
echo "First make"
|
echo "First make"
|
||||||
|
cd .buildroot
|
||||||
make BR2_EXTERNAL=../external
|
make BR2_EXTERNAL=../external
|
||||||
|
|
||||||
# Build incremental from cache
|
# Build incremental from caches
|
||||||
- name: Build image
|
- name: Build image
|
||||||
id: build
|
id: build
|
||||||
run: |
|
run: |
|
||||||
@@ -54,16 +107,10 @@ jobs:
|
|||||||
rm -rf .buildroot/board/arpl/overlayfs
|
rm -rf .buildroot/board/arpl/overlayfs
|
||||||
rm -rf .buildroot/board/arpl/p1
|
rm -rf .buildroot/board/arpl/p1
|
||||||
rm -rf .buildroot/board/arpl/p3
|
rm -rf .buildroot/board/arpl/p3
|
||||||
# Get latest LKMs
|
# Unzip LKMs
|
||||||
echo "Getting latest LKMs"
|
|
||||||
TAG=`curl -s https://api.github.com/repos/fbelavenuto/redpill-lkm/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3)}'`
|
|
||||||
curl -L "https://github.com/fbelavenuto/redpill-lkm/releases/download/${TAG}/rp-lkms.zip" -o /tmp/rp-lkms.zip
|
|
||||||
rm -rf files/board/arpl/p3/lkms/*
|
rm -rf files/board/arpl/p3/lkms/*
|
||||||
unzip /tmp/rp-lkms.zip -d files/board/arpl/p3/lkms
|
unzip /tmp/rp-lkms.zip -d files/board/arpl/p3/lkms
|
||||||
# Get latest addons and install its
|
# Install Addons
|
||||||
echo "Getting latest Addons"
|
|
||||||
TAG=`curl -s https://api.github.com/repos/fbelavenuto/arpl-addons/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3)}'`
|
|
||||||
curl -L "https://github.com/fbelavenuto/arpl-addons/releases/download/${TAG}/addons.zip" -o /tmp/addons.zip
|
|
||||||
mkdir -p /tmp/addons
|
mkdir -p /tmp/addons
|
||||||
unzip /tmp/addons.zip -d /tmp/addons
|
unzip /tmp/addons.zip -d /tmp/addons
|
||||||
DEST_PATH="files/board/arpl/p3/addons"
|
DEST_PATH="files/board/arpl/p3/addons"
|
||||||
@@ -74,15 +121,6 @@ jobs:
|
|||||||
echo "Extracting ${PKG} to ${DEST_PATH}/${ADDON}"
|
echo "Extracting ${PKG} to ${DEST_PATH}/${ADDON}"
|
||||||
tar xaf "${PKG}" -C "${DEST_PATH}/${ADDON}"
|
tar xaf "${PKG}" -C "${DEST_PATH}/${ADDON}"
|
||||||
done
|
done
|
||||||
# Get latest modules
|
|
||||||
echo "Getting latest modules"
|
|
||||||
MODULES_DIR="files/board/arpl/p3/modules"
|
|
||||||
TAG=`curl -s https://api.github.com/repos/fbelavenuto/arpl-modules/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3)}'`
|
|
||||||
while read PLATFORM KVER; do
|
|
||||||
FILE="${PLATFORM}-${KVER}"
|
|
||||||
curl -L "https://github.com/fbelavenuto/arpl-modules/releases/download/${TAG}/${FILE}.tgz" -o "${MODULES_DIR}/${FILE}.tgz"
|
|
||||||
done < PLATFORMS
|
|
||||||
curl -L "https://github.com/fbelavenuto/arpl-modules/releases/download/${TAG}/firmware.tgz" -o "${MODULES_DIR}/firmware.tgz"
|
|
||||||
# Copy files
|
# Copy files
|
||||||
echo "Copying files"
|
echo "Copying files"
|
||||||
sed 's/^ARPL_VERSION=.*/ARPL_VERSION="'${VERSION}'"/' -i files/board/arpl/overlayfs/opt/arpl/include/consts.sh
|
sed 's/^ARPL_VERSION=.*/ARPL_VERSION="'${VERSION}'"/' -i files/board/arpl/overlayfs/opt/arpl/include/consts.sh
|
||||||
@@ -106,11 +144,20 @@ jobs:
|
|||||||
zip -9 "arpl-${{ steps.build.outputs.VERSION }}.vmdk-dyn.zip" arpl-dyn.vmdk
|
zip -9 "arpl-${{ steps.build.outputs.VERSION }}.vmdk-dyn.zip" arpl-dyn.vmdk
|
||||||
zip -9 "arpl-${{ steps.build.outputs.VERSION }}.vmdk-flat.zip" arpl.vmdk arpl-flat.vmdk
|
zip -9 "arpl-${{ steps.build.outputs.VERSION }}.vmdk-flat.zip" arpl.vmdk arpl-flat.vmdk
|
||||||
sha256sum update-list.yml > sha256sum
|
sha256sum update-list.yml > sha256sum
|
||||||
yq '.replace | explode(.) | to_entries | map([.key])[] | .[]' update-list.yml | while read F; do
|
zip -9j update.zip update-list.yml
|
||||||
(cd `dirname ${F}` && sha256sum `basename ${F}`) >> sha256sum
|
while read F; do
|
||||||
done
|
if [ -d "${F}" ]; then
|
||||||
yq '.replace | explode(.) | to_entries | map([.key])[] | .[]' update-list.yml | xargs zip -9j "update.zip" sha256sum update-list.yml
|
FTGZ="`basename "${F}"`.tgz"
|
||||||
|
tar czf "${FTGZ}" -C "${F}" .
|
||||||
|
sha256sum "${FTGZ}" >> sha256sum
|
||||||
|
zip -9j update.zip "${FTGZ}"
|
||||||
|
rm "${FTGZ}"
|
||||||
|
else
|
||||||
|
(cd `dirname ${F}` && sha256sum `basename ${F}`) >> sha256sum
|
||||||
|
zip -9j update.zip "${F}"
|
||||||
|
fi
|
||||||
|
done < <(yq '.replace | explode(.) | to_entries | map([.key])[] | .[]' update-list.yml)
|
||||||
|
zip -9j update.zip sha256sum
|
||||||
# Upload artifact
|
# Upload artifact
|
||||||
- name: Upload
|
- name: Upload
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
|
|||||||
98
README-Zh.md
Normal file
98
README-Zh.md
Normal file
@@ -0,0 +1,98 @@
|
|||||||
|
# 自动化 Redpill 安装程序
|
||||||
|
|
||||||
|
这个特别的项目是为了方便我进行与Redpill相关的测试而创建的,我决定与其他用户共享。
|
||||||
|
|
||||||
|
原作者是巴西人,英语不太好,中文Readme版本基于原文润色翻译。
|
||||||
|
|
||||||
|
我尽可能让这个系统尽可能地人性化,以简化操作。安装程序会自动检测正在使用的设备是SATA接口还是USB,并准确地识别其VID和PID。为了允许内核在不设置与网络接口相关的变量的情况下启动,redpill-lkm已被修改。因此,你在使用这个安装程序时不需要再担心这个问题。感谢Jun的代码,用于生成zImage和Ramdisk补丁,已经集成在其中。如果“zImage”或“rd.gz”有任何小的更新,安装程序会重新应用这些补丁。最重要的内核模块已内置于DSM ramdisk镜像中,以实现自动外设检测。
|
||||||
|
|
||||||
|
# 重要注意事项
|
||||||
|
|
||||||
|
- 一些用户曾经遇到过启动时间过长的问题。在这种情况下,强烈建议使用SSD作为去启动盘,如果选择通过外接设备启动,请使用一个高速的USB闪存驱动器。
|
||||||
|
|
||||||
|
- 必须拥有至少4GB的RAM,无论是在裸机还是虚拟机中。
|
||||||
|
|
||||||
|
- DSM内核与SATA端口兼容,不支持SAS/SCSI等。对于Device-tree模式,只有SATA端口可以工作。对于其他模式,可能支持其他类型的磁盘。
|
||||||
|
|
||||||
|
- HBA卡可以使用,但显示SMART和序列号仅在DS3615xs、DS3617xs和DS3622xs+型号上有效。
|
||||||
|
|
||||||
|
# 使用方法
|
||||||
|
|
||||||
|
## 通用指导
|
||||||
|
|
||||||
|
要使用这个项目,下载最新可用的镜像文件,并将其烧录到USB闪存盘或SATA硬盘模块上。设置PC从烧录的媒体启动,并按照屏幕上的信息操作。
|
||||||
|
|
||||||
|
如果最后一个分区的大小超过2GiB,加载器会自动增加其大小并用这个空间作为缓存。
|
||||||
|
|
||||||
|
## 启动安装程序
|
||||||
|
|
||||||
|
### 通过终端
|
||||||
|
|
||||||
|
直接在计算机上调用"menu.sh"命令。
|
||||||
|
|
||||||
|
### 通过网页
|
||||||
|
|
||||||
|
从同一网络中的另一台机器,通过浏览器输入屏幕上显示的地址`http://<ip>:7681`。
|
||||||
|
|
||||||
|
### 通过ssh
|
||||||
|
|
||||||
|
在同一网络中的另一台机器上,使用SSH客户端,用户名: `root` 和密码: `Redp1lL-1s-4weSomE`
|
||||||
|
|
||||||
|
## 使用安装程序
|
||||||
|
|
||||||
|
安装时菜单系统是动态展示的,我希望它直观到用户可以毫无问题地使用。
|
||||||
|
|
||||||
|
无需配置VID/PID(如果使用USB闪存盘)或定义网络接口的MAC地址。如果用户想修改任何接口的MAC地址,可以在"cmdline"菜单中使用"Change MAC"选项。
|
||||||
|
|
||||||
|
如果选择了一个使用Device-tree系统来定义硬盘的型号,则无需进行任何配置。对于没有使用Device-tree的型号,需要手动完成配置,在"cmdline"菜单中有一个选项可以显示SATA控制器、DUMMY端口和正在使用的端口,以协助创建"SataPortMap"、"DiskIdxMap"和"sata_remap"(如果需要)。
|
||||||
|
|
||||||
|
另一个重要的点是,安装程序会检测CPU是否支持MOVBE指令,受体不支持该指令时对应群晖型号不会显示。因此,如果DS918+和DVA3221型号没有显示,那是因为CPU不支持MOVBE指令。你可以取消这个限制,并自行承担风险进行测试。
|
||||||
|
|
||||||
|
我开发了一个简单的补丁,用于不再显示没有Device-tree型号上的DUMMY端口错误,用户可以安装时无需担心这个问题。
|
||||||
|
|
||||||
|
## 快速入门指导
|
||||||
|
|
||||||
|
启动加载器后,应该会出现以下屏幕。输入 menu.sh 并按下 `<ENTER>`:
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
如果你愿意,也可以通过网页进行访问:
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
选择“型号(model)”选项,并选择你偏好的群晖型号:
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
选择“版本号(Buildnumber)”选项,并选择第一个选项:
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
进入“序列号(Serial)”菜单,并选择“生成一个随机序列号(Generate a random Serial number)”。
|
||||||
|
|
||||||
|
选择“构建(Build)”选项,等待加载器生成:
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
选择“启动(Boot)”选项,等待DSM启动:
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
由于DSM内核不会在屏幕上显示消息,因此需要通过浏览器访问地址`http://<ip>`来继续配置DSM的过程。
|
||||||
|
DSM的配置。网上有多个教程介绍如何在互联网上配置DSM,本文不作赘述。
|
||||||
|
|
||||||
|
|
||||||
|
# 教程
|
||||||
|
|
||||||
|
一个ARPL用户(Rikkie)创建了一个教程,用于在Proxmox服务器上安装ARPL:
|
||||||
|
https://hotstuff.asia/2023/01/03/xpenology-with-arpl-on-proxmox-the-easy-way/
|
||||||
|
|
||||||
|
# 问题/疑问/等等
|
||||||
|
|
||||||
|
如有问题或疑问,请在 https://xpenology.com/forum 上搜索论坛,看是否有类似问题已被讨论和解决。如果找不到解决方案,可使用GitHub issues进行问题反馈。
|
||||||
|
|
||||||
|
# 致谢
|
||||||
|
|
||||||
|
所有代码均基于TTG、pocopico、jumkey以及其他参与继续TTG原始redpill-load项目的人的工作。
|
||||||
|
|
||||||
|
未来将添加更多信息。
|
||||||
29
README.md
29
README.md
@@ -1,5 +1,9 @@
|
|||||||
# Automated Redpill Loader
|
# Automated Redpill Loader
|
||||||
|
|
||||||
|
Project archived, please use: https://github.com/RROrg/rr
|
||||||
|
|
||||||
|
[中文说明](./README-Zh.md)
|
||||||
|
|
||||||
This particular project was created to facilitate my testing with Redpill and I decided to share it with other users.
|
This particular project was created to facilitate my testing with Redpill and I decided to share it with other users.
|
||||||
|
|
||||||
I'm Brazilian and my English is not good, so I apologize for my translations.
|
I'm Brazilian and my English is not good, so I apologize for my translations.
|
||||||
@@ -46,10 +50,33 @@ There is no need to configure the VID/PID (if using a USB stick) or define the M
|
|||||||
|
|
||||||
If a model is chosen that uses the Device-tree system to define the HDs, there is no need to configure anything. In the case of models that do not use device-tree, the configurations must be done manually and for this there is an option in the "cmdline" menu to display the SATA controllers, DUMMY ports and ports in use, to assist in the creation of the "SataPortMap", "DiskIdxMap" and "sata_remap" if necessary.
|
If a model is chosen that uses the Device-tree system to define the HDs, there is no need to configure anything. In the case of models that do not use device-tree, the configurations must be done manually and for this there is an option in the "cmdline" menu to display the SATA controllers, DUMMY ports and ports in use, to assist in the creation of the "SataPortMap", "DiskIdxMap" and "sata_remap" if necessary.
|
||||||
|
|
||||||
Another important point is that the loader detects whether or not the CPU has the FMA3 instruction and does not display the models that require it. So if the DS918+ and DVA3221 models are not displayed it is because of the CPU's lack of support for FMA instructions. You can disable this restriction and test at your own risk.
|
Another important point is that the loader detects whether or not the CPU has the MOVBE instruction and does not display the models that require it. So if the DS918+ and DVA3221 models are not displayed it is because of the CPU's lack of support for MOVBE instructions. You can disable this restriction and test at your own risk.
|
||||||
|
|
||||||
I developed a simple patch to no longer display the DUMMY port error on models without device-tree, the user will be able to install without having to worry about it.
|
I developed a simple patch to no longer display the DUMMY port error on models without device-tree, the user will be able to install without having to worry about it.
|
||||||
|
|
||||||
|
## Use proxy
|
||||||
|
The proxy only support for terminal。
|
||||||
|
|
||||||
|
For example, if you have one clashx (the default port is 7890) in the lan,follow the steps:
|
||||||
|
|
||||||
|
1. Enabel 'Allow connent from Lan' (clashx only)
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
2. Get the proxy (the computer which runing clashx) ip address
|
||||||
|
3. open arpl termianl (you can access arpl via ssh)
|
||||||
|
```
|
||||||
|
declare -x https_proxy="http://ipaddress:7890/"
|
||||||
|
declare -x http_proxy="http://ipaddress:7890/"
|
||||||
|
declare -x all_proxy="socks5:://ipaddress:7890/"
|
||||||
|
```
|
||||||
|
|
||||||
|
**Change the ipaddress** to your proxy host.
|
||||||
|
|
||||||
|
4. Call the "menu.sh"
|
||||||
|
|
||||||
|
And then the proxy is effective。
|
||||||
|
|
||||||
## Quickstart guide
|
## Quickstart guide
|
||||||
|
|
||||||
After booting the loader, the following screen should appear. Type menu.sh and press `<ENTER>`:
|
After booting the loader, the following screen should appear. Type menu.sh and press `<ENTER>`:
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
FROM alpine:3.14 AS stage
|
FROM alpine:3.14 AS stage
|
||||||
ARG PLATFORMS="@@@PLATFORMS@@@"
|
ARG PLATFORMS="@@@PLATFORMS@@@"
|
||||||
ARG TOOLKIT_VER="@@@TOOLKIT_VER@@@"
|
ARG TOOLKIT_VER="@@@TOOLKIT_VER@@@"
|
||||||
|
ARG GCCLIB_VER="@@@GCCLIB_VER@@@"
|
||||||
|
|
||||||
# Copy downloaded toolkits
|
# Copy downloaded toolkits
|
||||||
ADD cache /cache
|
ADD cache /cache
|
||||||
@@ -12,13 +13,20 @@ RUN for V in ${PLATFORMS}; do \
|
|||||||
mkdir "/opt/${PLATFORM}" && \
|
mkdir "/opt/${PLATFORM}" && \
|
||||||
tar -xaf "/cache/ds.${PLATFORM}-${TOOLKIT_VER}.dev.txz" -C "/opt/${PLATFORM}" --strip-components=9 \
|
tar -xaf "/cache/ds.${PLATFORM}-${TOOLKIT_VER}.dev.txz" -C "/opt/${PLATFORM}" --strip-components=9 \
|
||||||
"usr/local/x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/sys-root/usr/lib/modules/DSM-${TOOLKIT_VER}" && \
|
"usr/local/x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/sys-root/usr/lib/modules/DSM-${TOOLKIT_VER}" && \
|
||||||
echo "Extracting ${PLATFORM}-toolchain.txz" && \
|
echo "Extracting ${PLATFORM}-${GCCLIB_VER}_x86_64-GPL.txz" && \
|
||||||
tar -xaf "/cache/${PLATFORM}-toolchain.txz" -C "/opt/${PLATFORM}" --strip-components=1; \
|
tar -xaf "/cache/${PLATFORM}-${GCCLIB_VER}_x86_64-GPL.txz" -C "/opt/${PLATFORM}" --strip-components=1; \
|
||||||
|
KVER_MAJOR="`echo ${KVER} | rev | cut -d. -f2- | rev`"; \
|
||||||
|
if [ ! -d "/opt/linux-${KVER_MAJOR}.x" -a -f "/cache/linux-${KVER_MAJOR}.x.txz" ]; then \
|
||||||
|
echo "Extracting linux-${KVER_MAJOR}.x.txz" && \
|
||||||
|
tar -xaf "/cache/linux-${KVER_MAJOR}.x.txz" -C "/opt"; \
|
||||||
|
rm -rf /opt/${PLATFORM}/source && \
|
||||||
|
ln -s /opt/linux-${KVER_MAJOR}.x /opt/${PLATFORM}/source; \
|
||||||
|
fi; \
|
||||||
done; \
|
done; \
|
||||||
done
|
done
|
||||||
|
|
||||||
# Final image
|
# Final image
|
||||||
FROM debian:8-slim
|
FROM debian:9-slim
|
||||||
ENV SHELL=/bin/bash \
|
ENV SHELL=/bin/bash \
|
||||||
ARCH=x86_64
|
ARCH=x86_64
|
||||||
|
|
||||||
@@ -28,14 +36,15 @@ RUN apt update --yes && \
|
|||||||
build-essential make ncurses-dev libssl-dev autogen automake pkg-config libtool xsltproc gperf && \
|
build-essential make ncurses-dev libssl-dev autogen automake pkg-config libtool xsltproc gperf && \
|
||||||
apt-get clean && \
|
apt-get clean && \
|
||||||
rm -rf /var/lib/apt/lists/* && \
|
rm -rf /var/lib/apt/lists/* && \
|
||||||
useradd --home-dir /input --no-create-home --shell /bin/bash --uid 1000 arpl && \
|
useradd --create-home --shell /bin/bash --uid 1000 --user-group arpl && \
|
||||||
echo "arpl ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/arpl
|
echo "arpl ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/arpl && \
|
||||||
|
mkdir /output && chown 1000:1000 /output
|
||||||
|
|
||||||
COPY --from=stage /opt /opt
|
COPY --from=stage --chown=1000:1000 /opt /opt
|
||||||
COPY files/ /
|
COPY files/ /
|
||||||
|
|
||||||
|
USER arpl
|
||||||
WORKDIR /input
|
WORKDIR /input
|
||||||
VOLUME /input /output
|
VOLUME /input /output
|
||||||
USER arpl
|
|
||||||
|
|
||||||
ENTRYPOINT ["/opt/do.sh"]
|
ENTRYPOINT ["/opt/do.sh"]
|
||||||
|
|||||||
@@ -1,7 +1,26 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
CACHE_DIR="cache"
|
CACHE_DIR="cache"
|
||||||
PLATFORM_FILE="../../PLATFORMS"
|
#SERVER="https://archive.synology.com"
|
||||||
|
SERVER="https://global.download.synology.com"
|
||||||
|
#https://global.download.synology.com/download/ToolChain/Synology%20NAS%20GPL%20Source/
|
||||||
|
|
||||||
|
declare -A URIS
|
||||||
|
declare -A PLATFORMS
|
||||||
|
|
||||||
|
URIS["apollolake"]="Intel%20x86%20Linux%20|%20%28Apollolake%29"
|
||||||
|
URIS["broadwell"]="Intel%20x86%20Linux%20|%20%28Broadwell%29"
|
||||||
|
URIS["broadwellnk"]="Intel%20x86%20Linux%20|%20%28Broadwellnk%29"
|
||||||
|
URIS["bromolow"]="Intel%20x86%20linux%20|%20%28Bromolow%29"
|
||||||
|
URIS["denverton"]="Intel%20x86%20Linux%20|%20%28Denverton%29"
|
||||||
|
URIS["geminilake"]="Intel%20x86%20Linux%20|%20%28GeminiLake%29"
|
||||||
|
URIS["v1000"]="Intel%20x86%20Linux%20|%20%28V1000%29"
|
||||||
|
URIS["r1000"]="AMD%20x86%20Linux%20|%20%28r1000%29"
|
||||||
|
URIS["epyc7002"]="AMD%20x86%20Linux%20Linux%20|%20%28epyc7002%29"
|
||||||
|
PLATFORMS["7.1"]="apollolake:4.4.180 broadwell:4.4.180 broadwellnk:4.4.180 bromolow:3.10.108 denverton:4.4.180 geminilake:4.4.180 v1000:4.4.180 r1000:4.4.180 epyc7002:5.10.55"
|
||||||
|
PLATFORMS["7.2"]="apollolake:4.4.302 broadwell:4.4.302 broadwellnk:4.4.302 bromolow:3.10.108 denverton:4.4.302 geminilake:4.4.302 v1000:4.4.302 r1000:4.4.302 epyc7002:5.10.55"
|
||||||
|
|
||||||
|
mkdir -p ${CACHE_DIR}
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
function trap_cancel() {
|
function trap_cancel() {
|
||||||
@@ -13,57 +32,62 @@ cd `dirname $0`
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
function prepare() {
|
function prepare() {
|
||||||
declare -A URLS
|
|
||||||
|
|
||||||
URLS["apollolake"]="https://global.download.synology.com/download/ToolChain/toolchain/${TOOLCHAIN_VER}/Intel%20x86%20Linux%204.4.180%20%28Apollolake%29/apollolake-${GCCLIB_VER}_x86_64-GPL.txz"
|
|
||||||
URLS["broadwell"]="https://global.download.synology.com/download/ToolChain/toolchain/${TOOLCHAIN_VER}/Intel%20x86%20Linux%204.4.180%20%28Broadwell%29/broadwell-${GCCLIB_VER}_x86_64-GPL.txz"
|
|
||||||
URLS["broadwellnk"]="https://global.download.synology.com/download/ToolChain/toolchain/${TOOLCHAIN_VER}/Intel%20x86%20Linux%204.4.180%20%28Broadwellnk%29/broadwellnk-${GCCLIB_VER}_x86_64-GPL.txz"
|
|
||||||
URLS["bromolow"]="https://global.download.synology.com/download/ToolChain/toolchain/${TOOLCHAIN_VER}/Intel%20x86%20linux%203.10.108%20%28Bromolow%29/bromolow-${GCCLIB_VER}_x86_64-GPL.txz"
|
|
||||||
URLS["denverton"]="https://global.download.synology.com/download/ToolChain/toolchain/${TOOLCHAIN_VER}/Intel%20x86%20Linux%204.4.180%20%28Denverton%29/denverton-${GCCLIB_VER}_x86_64-GPL.txz"
|
|
||||||
URLS["geminilake"]="https://global.download.synology.com/download/ToolChain/toolchain/${TOOLCHAIN_VER}/Intel%20x86%20Linux%204.4.180%20%28GeminiLake%29/geminilake-${GCCLIB_VER}_x86_64-GPL.txz"
|
|
||||||
URLS["v1000"]="https://global.download.synology.com/download/ToolChain/toolchain/${TOOLCHAIN_VER}/Intel%20x86%20Linux%204.4.180%20%28V1000%29/v1000-${GCCLIB_VER}_x86_64-GPL.txz"
|
|
||||||
URLS["r1000"]="https://global.download.synology.com/download/ToolChain/toolchain/${TOOLCHAIN_VER}/AMD%20x86%20Linux%204.4.180%20%28r1000%29/r1000-${GCCLIB_VER}_x86_64-GPL.txz"
|
|
||||||
URLS["epyc7002"]="https://global.download.synology.com/download/ToolChain/toolchain/${TOOLCHAIN_VER}/AMD%20x86%20Linux%20Linux%205.10.55%20%28epyc7002%29/epyc7002-${GCCLIB_VER}_x86_64-GPL.txz"
|
|
||||||
|
|
||||||
# Read platforms/kerver version
|
|
||||||
echo "Reading platforms"
|
|
||||||
declare -A PLATFORMS
|
|
||||||
while read PLATFORM KVER; do
|
|
||||||
PLATFORMS[${PLATFORM}]="${KVER}"
|
|
||||||
done < ${PLATFORM_FILE}
|
|
||||||
|
|
||||||
# Download toolkits
|
# Download toolkits
|
||||||
mkdir -p ${CACHE_DIR}
|
for P in ${PLATFORMS[${TOOLKIT_VER}]}; do
|
||||||
|
PLATFORM="`echo ${P} | cut -d':' -f1`"
|
||||||
for PLATFORM in ${!PLATFORMS[@]}; do
|
KVER="`echo ${P} | cut -d':' -f2`"
|
||||||
KVER="${PLATFORMS[${PLATFORM}]}"
|
# Dev
|
||||||
echo -n "Checking ${CACHE_DIR}/ds.${PLATFORM}-${TOOLKIT_VER}.dev.txz... "
|
echo -n "Checking ${CACHE_DIR}/ds.${PLATFORM}-${TOOLKIT_VER}.dev.txz... "
|
||||||
if [ ! -f "${CACHE_DIR}/ds.${PLATFORM}-${TOOLKIT_VER}.dev.txz" ]; then
|
if [ ! -f "${CACHE_DIR}/ds.${PLATFORM}-${TOOLKIT_VER}.dev.txz" ]; then
|
||||||
URL="https://global.download.synology.com/download/ToolChain/toolkit/${TOOLKIT_VER}/${PLATFORM}/ds.${PLATFORM}-${TOOLKIT_VER}.dev.txz"
|
URL="${SERVER}/download/ToolChain/toolkit/${TOOLKIT_VER}/${PLATFORM}/ds.${PLATFORM}-${TOOLKIT_VER}.dev.txz"
|
||||||
echo "Downloading ${URL}"
|
echo -e "No\nDownloading ${URL}"
|
||||||
curl -L "${URL}" -o "${CACHE_DIR}/ds.${PLATFORM}-${TOOLKIT_VER}.dev.txz"
|
STATUS=`curl -w "%{http_code}" -L "${URL}" -o "${CACHE_DIR}/ds.${PLATFORM}-${TOOLKIT_VER}.dev.txz"`
|
||||||
|
if [ ${STATUS} -ne 200 ]; then
|
||||||
|
rm -f "${CACHE_DIR}/ds.${PLATFORM}-${TOOLKIT_VER}.dev.txz"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
echo "OK"
|
echo "OK"
|
||||||
fi
|
fi
|
||||||
echo -n "Checking ${CACHE_DIR}/${PLATFORM}-toolchain.txz... "
|
# Toolchain
|
||||||
if [ ! -f "${CACHE_DIR}/${PLATFORM}-toolchain.txz" ]; then
|
URI="`echo ${URIS[${PLATFORM}]} | sed "s/|/${KVER}/"`"
|
||||||
URL=${URLS["${PLATFORM}"]}
|
URL="${SERVER}/download/ToolChain/toolchain/${TOOLCHAIN_VER}/${URI}/${PLATFORM}-${GCCLIB_VER}_x86_64-GPL.txz"
|
||||||
echo "Downloading ${URL}"
|
FILENAME="${PLATFORM}-${GCCLIB_VER}_x86_64-GPL.txz"
|
||||||
curl -L "${URL}" -o "${CACHE_DIR}/${PLATFORM}-toolchain.txz"
|
echo -n "Checking ${CACHE_DIR}/${FILENAME}... "
|
||||||
|
if [ ! -f "${CACHE_DIR}/${FILENAME}" ]; then
|
||||||
|
echo -e "No\nDownloading ${URL}"
|
||||||
|
STATUS=`curl -w "%{http_code}" -L "${URL}" -o "${CACHE_DIR}/${FILENAME}"`
|
||||||
|
if [ ${STATUS} -ne 200 ]; then
|
||||||
|
rm -f "${CACHE_DIR}/${FILENAME}"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
echo "OK"
|
echo "OK"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# for KERNEL in 3.10.x 4.4.x 5.10.x; do
|
||||||
|
# URL=${URLS["${KERNEL}"]}
|
||||||
|
# [ -z "${URL}" ] && continue
|
||||||
|
# echo -n "Checking ${CACHE_DIR}/linux-${KERNEL}.txz... "
|
||||||
|
# if [ ! -f "${CACHE_DIR}/linux-${KERNEL}.txz" ]; then
|
||||||
|
# echo -e "No\nDownloading ${URL}"
|
||||||
|
# STATUS=`curl -w "%{http_code}" -L "${URL}" -o "${CACHE_DIR}/linux-${KERNEL}.txz"`
|
||||||
|
# if [ ${STATUS} -ne 200 ]; then
|
||||||
|
# rm -f "${CACHE_DIR}/linux-${KERNEL}.txz"
|
||||||
|
# exit 1
|
||||||
|
# fi
|
||||||
|
# else
|
||||||
|
# echo "OK"
|
||||||
|
# fi
|
||||||
|
# done
|
||||||
|
|
||||||
# Generate Dockerfile
|
# Generate Dockerfile
|
||||||
echo "Generating Dockerfile"
|
echo "Generating Dockerfile"
|
||||||
cp Dockerfile.template Dockerfile
|
cp Dockerfile.template Dockerfile
|
||||||
VALUE=""
|
sed -i "s|@@@PLATFORMS@@@|${PLATFORMS[${TOOLKIT_VER}]}|g" Dockerfile
|
||||||
for PLATFORM in ${!PLATFORMS[@]}; do
|
|
||||||
VALUE+="${PLATFORM}:${PLATFORMS[${PLATFORM}]} "
|
|
||||||
done
|
|
||||||
sed -i "s|@@@PLATFORMS@@@|${VALUE::-1}|g" Dockerfile
|
|
||||||
sed -i "s|@@@TOOLKIT_VER@@@|${TOOLKIT_VER}|g" Dockerfile
|
sed -i "s|@@@TOOLKIT_VER@@@|${TOOLKIT_VER}|g" Dockerfile
|
||||||
|
sed -i "s|@@@GCCLIB_VER@@@|${GCCLIB_VER}|g" Dockerfile
|
||||||
}
|
}
|
||||||
|
|
||||||
# 7.0
|
# 7.0
|
||||||
@@ -76,9 +100,18 @@ function prepare() {
|
|||||||
#docker buildx build . --load --tag fbelavenuto/syno-compiler:${TOOLKIT_VER}
|
#docker buildx build . --load --tag fbelavenuto/syno-compiler:${TOOLKIT_VER}
|
||||||
|
|
||||||
# 7.1
|
# 7.1
|
||||||
TOOLKIT_VER="7.1"
|
# TOOLKIT_VER="7.1"
|
||||||
TOOLCHAIN_VER="7.1-42661"
|
# TOOLCHAIN_VER="7.1-42661"
|
||||||
GCCLIB_VER="gcc850_glibc226"
|
# GCCLIB_VER="gcc850_glibc226"
|
||||||
|
# prepare
|
||||||
|
# echo "Building ${TOOLKIT_VER}"
|
||||||
|
# docker image rm fbelavenuto/syno-compiler:${TOOLKIT_VER} >/dev/null 2>&1
|
||||||
|
# docker buildx build . --load --tag fbelavenuto/syno-compiler:${TOOLKIT_VER}
|
||||||
|
|
||||||
|
# 7.2
|
||||||
|
TOOLKIT_VER="7.2"
|
||||||
|
TOOLCHAIN_VER="7.2-63134"
|
||||||
|
GCCLIB_VER="gcc1220_glibc236"
|
||||||
prepare
|
prepare
|
||||||
echo "Building ${TOOLKIT_VER}"
|
echo "Building ${TOOLKIT_VER}"
|
||||||
docker image rm fbelavenuto/syno-compiler:${TOOLKIT_VER} >/dev/null 2>&1
|
docker image rm fbelavenuto/syno-compiler:${TOOLKIT_VER} >/dev/null 2>&1
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
set -e
|
set -eo pipefail
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
function export-vars() {
|
function export-vars() {
|
||||||
@@ -18,12 +18,16 @@ function export-vars() {
|
|||||||
export ARCH=x86_64
|
export ARCH=x86_64
|
||||||
export CC="x86_64-pc-linux-gnu-gcc"
|
export CC="x86_64-pc-linux-gnu-gcc"
|
||||||
export LD="x86_64-pc-linux-gnu-ld"
|
export LD="x86_64-pc-linux-gnu-ld"
|
||||||
export PATH="/opt/${1}/bin:${PATH}"
|
echo "export PATH=\"/opt/${1}/bin:${PATH}\"" | \
|
||||||
|
sudo tee /etc/profile.d/path.sh >/dev/null
|
||||||
|
sudo chmod +x /etc/profile.d/path.sh
|
||||||
}
|
}
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
function shell() {
|
function shell() {
|
||||||
cp /opt/${2}/build/System.map /input
|
cp -fv /opt/${2}/build/.config /opt/${2}/source/
|
||||||
|
cp -fv /opt/${2}/build/System.map /opt/${2}/source/
|
||||||
|
cp -fv /opt/${2}/build/Module.symvers /opt/${2}/source/
|
||||||
export-vars $2
|
export-vars $2
|
||||||
shift 2
|
shift 2
|
||||||
bash -l $@
|
bash -l $@
|
||||||
@@ -51,8 +55,11 @@ function compile-module {
|
|||||||
echo -e "Compiling module for \033[7m${PLATFORM}-${KVER}\033[0m..."
|
echo -e "Compiling module for \033[7m${PLATFORM}-${KVER}\033[0m..."
|
||||||
cp -R /input /tmp
|
cp -R /input /tmp
|
||||||
export-vars ${PLATFORM}
|
export-vars ${PLATFORM}
|
||||||
make -C "/opt/${PLATFORM}/build" M="/tmp/input" \
|
PARMS="${PLATFORM^^}-Y=y ${PLATFORM^^}-M=m"
|
||||||
${PLATFORM^^}-Y=y ${PLATFORM^^}-M=m modules
|
if [ -f "/tmp/input/defines.${1}" ]; then
|
||||||
|
PARMS+=" `cat "/tmp/input/defines.${1}" | xargs`"
|
||||||
|
fi
|
||||||
|
make -j`nproc` -C "/opt/${PLATFORM}/build" M="/tmp/input" ${PARMS} modules
|
||||||
while read F; do
|
while read F; do
|
||||||
strip -g "${F}"
|
strip -g "${F}"
|
||||||
echo "Copying `basename ${F}`"
|
echo "Copying `basename ${F}`"
|
||||||
|
|||||||
@@ -1,15 +0,0 @@
|
|||||||
FROM scratch
|
|
||||||
ARG PLATFORM
|
|
||||||
ARG TOOLKIT_VER
|
|
||||||
ARG CACHE_DIR
|
|
||||||
|
|
||||||
ENV PLATFORM=${PLATFORM} TOOLKIT_VER=${TOOLKIT_VER}
|
|
||||||
ADD ${CACHE_DIR}/base_env-${TOOLKIT_VER}.txz /
|
|
||||||
ADD ${CACHE_DIR}/ds.${PLATFORM}-${TOOLKIT_VER}.env.txz /
|
|
||||||
ADD ${CACHE_DIR}/ds.${PLATFORM}-${TOOLKIT_VER}.dev.txz /
|
|
||||||
ADD rootfs /
|
|
||||||
|
|
||||||
WORKDIR /input
|
|
||||||
VOLUME /input /output
|
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/bin/do.sh"]
|
|
||||||
@@ -1,61 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
CACHE_DIR="cache"
|
|
||||||
PLATFORM_FILE="../../PLATFORMS"
|
|
||||||
TOOLKIT_VER=7.1
|
|
||||||
|
|
||||||
###############################################################################
|
|
||||||
function trap_cancel() {
|
|
||||||
echo "Press Control+C once more terminate the process (or wait 2s for it to restart)"
|
|
||||||
sleep 2 || exit 1
|
|
||||||
}
|
|
||||||
trap trap_cancel SIGINT SIGTERM
|
|
||||||
cd `dirname $0`
|
|
||||||
|
|
||||||
# Read platforms/kerver version
|
|
||||||
echo "Reading platforms"
|
|
||||||
declare -A PLATFORMS
|
|
||||||
while read PLATFORM KVER; do
|
|
||||||
PLATFORMS[${PLATFORM}]="${KVER}"
|
|
||||||
done < ${PLATFORM_FILE}
|
|
||||||
|
|
||||||
# Download toolkits
|
|
||||||
mkdir -p ${CACHE_DIR}
|
|
||||||
|
|
||||||
# Check base environment
|
|
||||||
echo -n "Checking ${CACHE_DIR}/base_env-${TOOLKIT_VER}.txz... "
|
|
||||||
if [ ! -f "${CACHE_DIR}/base_env-${TOOLKIT_VER}.txz" ]; then
|
|
||||||
URL="https://global.download.synology.com/download/ToolChain/toolkit/${TOOLKIT_VER}/${PLATFORM}/base_env-${TOOLKIT_VER}.txz"
|
|
||||||
echo "Downloading ${URL}"
|
|
||||||
curl -L "${URL}" -o "${CACHE_DIR}/base_env-${TOOLKIT_VER}.txz"
|
|
||||||
else
|
|
||||||
echo "OK"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Check all platforms
|
|
||||||
for PLATFORM in ${!PLATFORMS[@]}; do
|
|
||||||
echo -n "Checking ${CACHE_DIR}/ds.${PLATFORM}-${TOOLKIT_VER}.dev.txz... "
|
|
||||||
if [ ! -f "${CACHE_DIR}/ds.${PLATFORM}-${TOOLKIT_VER}.dev.txz" ]; then
|
|
||||||
URL="https://global.download.synology.com/download/ToolChain/toolkit/${TOOLKIT_VER}/${PLATFORM}/ds.${PLATFORM}-${TOOLKIT_VER}.dev.txz"
|
|
||||||
echo "Downloading ${URL}"
|
|
||||||
curl -L "${URL}" -o "${CACHE_DIR}/ds.${PLATFORM}-${TOOLKIT_VER}.dev.txz"
|
|
||||||
else
|
|
||||||
echo "OK"
|
|
||||||
fi
|
|
||||||
echo -n "Checking ${CACHE_DIR}/ds.${PLATFORM}-${TOOLKIT_VER}.env.txz... "
|
|
||||||
if [ ! -f "${CACHE_DIR}/ds.${PLATFORM}-${TOOLKIT_VER}.env.txz" ]; then
|
|
||||||
URL="https://global.download.synology.com/download/ToolChain/toolkit/${TOOLKIT_VER}/${PLATFORM}/ds.${PLATFORM}-${TOOLKIT_VER}.env.txz"
|
|
||||||
echo "Downloading ${URL}"
|
|
||||||
curl -L "${URL}" -o "${CACHE_DIR}/ds.${PLATFORM}-${TOOLKIT_VER}.env.txz"
|
|
||||||
else
|
|
||||||
echo "OK"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
# Generate docker images
|
|
||||||
for PLATFORM in ${!PLATFORMS[@]}; do
|
|
||||||
docker buildx build . --build-arg PLATFORM=${PLATFORM} --build-arg TOOLKIT_VER=${TOOLKIT_VER} --build-arg CACHE_DIR="${CACHE_DIR}" \
|
|
||||||
--tag fbelavenuto/syno-toolkit:${PLATFORM}-${TOOLKIT_VER} --load
|
|
||||||
done
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
export PATH="/usr/local/x86_64-pc-linux-gnu/bin:${PATH}"
|
|
||||||
[[ "$-" != *i* ]] && return
|
|
||||||
export LS_OPTIONS='--color=auto'
|
|
||||||
export SHELL='linux'
|
|
||||||
eval "`dircolors`"
|
|
||||||
alias ls='ls -F -h --color=always -v --author --time-style=long-iso'
|
|
||||||
alias ll='ls -l'
|
|
||||||
alias l='ls -l -a'
|
|
||||||
alias h='history 25'
|
|
||||||
alias j='jobs -l'
|
|
||||||
@@ -1,52 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
###############################################################################
|
|
||||||
function compile-module {
|
|
||||||
echo -e "Compiling module for \033[7m${PLATFORM}\033[0m..."
|
|
||||||
cp -R /input /tmp
|
|
||||||
make -C ${KSRC} M=/tmp/input ${PLATFORM^^}-Y=y ${PLATFORM^^}-M=m modules
|
|
||||||
while read F; do
|
|
||||||
strip -g "${F}"
|
|
||||||
echo "Copying `basename ${F}`"
|
|
||||||
cp "${F}" "/output"
|
|
||||||
chown 1000.1000 "/output/`basename ${F}`"
|
|
||||||
done < <(find /tmp/input -name \*.ko)
|
|
||||||
}
|
|
||||||
|
|
||||||
###############################################################################
|
|
||||||
function compile-lkm {
|
|
||||||
cp -R /input /tmp
|
|
||||||
make -C "/tmp/input" dev-v7
|
|
||||||
strip -g "/tmp/input/redpill.ko"
|
|
||||||
mv "/tmp/input/redpill.ko" "/output/redpill-dev.ko"
|
|
||||||
chown 1000.1000 /output/redpill-dev.ko
|
|
||||||
make -C "/tmp/input" clean
|
|
||||||
make -C "/tmp/input" prod-v7
|
|
||||||
strip -g "/tmp/input/redpill.ko"
|
|
||||||
mv "/tmp/input/redpill.ko" "/output/redpill-prod.ko"
|
|
||||||
chown 1000.1000 /output/redpill-prod.ko
|
|
||||||
}
|
|
||||||
|
|
||||||
###############################################################################
|
|
||||||
###############################################################################
|
|
||||||
|
|
||||||
if [ $# -lt 1 ]; then
|
|
||||||
echo "Use: <command> (<params>)"
|
|
||||||
echo "Commands: shell | compile-module | compile-lkm"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
export KSRC="/usr/local/x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/sys-root/usr/lib/modules/DSM-${TOOLKIT_VER}/build"
|
|
||||||
export LINUX_SRC="/usr/local/x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/sys-root/usr/lib/modules/DSM-${TOOLKIT_VER}/build"
|
|
||||||
export CROSS_COMPILE="/usr/local/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-"
|
|
||||||
export ARCH=x86_64
|
|
||||||
export CC="x86_64-pc-linux-gnu-gcc"
|
|
||||||
export LD="x86_64-pc-linux-gnu-ld"
|
|
||||||
|
|
||||||
case $1 in
|
|
||||||
shell) shift && bash -l $@ ;;
|
|
||||||
compile-module) compile-module ;;
|
|
||||||
compile-lkm) compile-lkm ;;
|
|
||||||
*) echo "Command not recognized: $1" ;;
|
|
||||||
esac
|
|
||||||
Binary file not shown.
@@ -18,8 +18,16 @@ CONFIG_CGROUP_FREEZER=y
|
|||||||
CONFIG_CPUSETS=y
|
CONFIG_CPUSETS=y
|
||||||
CONFIG_CGROUP_CPUACCT=y
|
CONFIG_CGROUP_CPUACCT=y
|
||||||
CONFIG_NAMESPACES=y
|
CONFIG_NAMESPACES=y
|
||||||
|
CONFIG_SYSFS_DEPRECATED=y
|
||||||
CONFIG_BLK_DEV_INITRD=y
|
CONFIG_BLK_DEV_INITRD=y
|
||||||
|
# CONFIG_RD_GZIP is not set
|
||||||
|
# CONFIG_RD_BZIP2 is not set
|
||||||
|
# CONFIG_RD_LZMA is not set
|
||||||
|
# CONFIG_RD_LZO is not set
|
||||||
|
# CONFIG_RD_LZ4 is not set
|
||||||
|
# CONFIG_RD_ZSTD is not set
|
||||||
CONFIG_KALLSYMS_ALL=y
|
CONFIG_KALLSYMS_ALL=y
|
||||||
|
CONFIG_KCMP=y
|
||||||
CONFIG_EMBEDDED=y
|
CONFIG_EMBEDDED=y
|
||||||
# CONFIG_COMPAT_BRK is not set
|
# CONFIG_COMPAT_BRK is not set
|
||||||
CONFIG_PROFILING=y
|
CONFIG_PROFILING=y
|
||||||
@@ -42,17 +50,19 @@ CONFIG_PM_TRACE_RTC=y
|
|||||||
CONFIG_ACPI_VIDEO=y
|
CONFIG_ACPI_VIDEO=y
|
||||||
CONFIG_ACPI_DOCK=y
|
CONFIG_ACPI_DOCK=y
|
||||||
CONFIG_ACPI_BGRT=y
|
CONFIG_ACPI_BGRT=y
|
||||||
CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y
|
CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
|
||||||
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
|
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
|
||||||
CONFIG_X86_ACPI_CPUFREQ=y
|
CONFIG_X86_ACPI_CPUFREQ=y
|
||||||
|
CONFIG_X86_POWERNOW_K8=y
|
||||||
|
CONFIG_INTEL_IDLE=y
|
||||||
CONFIG_IA32_EMULATION=y
|
CONFIG_IA32_EMULATION=y
|
||||||
# CONFIG_VIRTUALIZATION is not set
|
|
||||||
CONFIG_KPROBES=y
|
CONFIG_KPROBES=y
|
||||||
CONFIG_JUMP_LABEL=y
|
CONFIG_JUMP_LABEL=y
|
||||||
# CONFIG_GCC_PLUGINS is not set
|
# CONFIG_GCC_PLUGINS is not set
|
||||||
CONFIG_MODULES=y
|
CONFIG_MODULES=y
|
||||||
CONFIG_MODULE_UNLOAD=y
|
CONFIG_MODULE_UNLOAD=y
|
||||||
CONFIG_MODULE_FORCE_UNLOAD=y
|
CONFIG_MODULE_FORCE_UNLOAD=y
|
||||||
|
# CONFIG_BLK_DEBUG_FS is not set
|
||||||
CONFIG_PARTITION_ADVANCED=y
|
CONFIG_PARTITION_ADVANCED=y
|
||||||
CONFIG_BINFMT_MISC=y
|
CONFIG_BINFMT_MISC=y
|
||||||
CONFIG_NET=y
|
CONFIG_NET=y
|
||||||
@@ -79,7 +89,8 @@ CONFIG_TCP_CONG_ADVANCED=y
|
|||||||
# CONFIG_TCP_CONG_WESTWOOD is not set
|
# CONFIG_TCP_CONG_WESTWOOD is not set
|
||||||
# CONFIG_TCP_CONG_HTCP is not set
|
# CONFIG_TCP_CONG_HTCP is not set
|
||||||
CONFIG_TCP_MD5SIG=y
|
CONFIG_TCP_MD5SIG=y
|
||||||
# CONFIG_IPV6 is not set
|
CONFIG_IPV6=m
|
||||||
|
# CONFIG_IPV6_SIT is not set
|
||||||
CONFIG_NETLABEL=y
|
CONFIG_NETLABEL=y
|
||||||
CONFIG_NETFILTER=y
|
CONFIG_NETFILTER=y
|
||||||
# CONFIG_NETFILTER_ADVANCED is not set
|
# CONFIG_NETFILTER_ADVANCED is not set
|
||||||
@@ -92,7 +103,6 @@ CONFIG_NF_NAT=y
|
|||||||
CONFIG_NETFILTER_XT_TARGET_CONNSECMARK=y
|
CONFIG_NETFILTER_XT_TARGET_CONNSECMARK=y
|
||||||
CONFIG_NETFILTER_XT_TARGET_NFLOG=y
|
CONFIG_NETFILTER_XT_TARGET_NFLOG=y
|
||||||
CONFIG_NETFILTER_XT_TARGET_SECMARK=y
|
CONFIG_NETFILTER_XT_TARGET_SECMARK=y
|
||||||
CONFIG_NETFILTER_XT_TARGET_TCPMSS=y
|
|
||||||
CONFIG_NETFILTER_XT_MATCH_CONNTRACK=y
|
CONFIG_NETFILTER_XT_MATCH_CONNTRACK=y
|
||||||
CONFIG_NETFILTER_XT_MATCH_POLICY=y
|
CONFIG_NETFILTER_XT_MATCH_POLICY=y
|
||||||
CONFIG_NETFILTER_XT_MATCH_STATE=y
|
CONFIG_NETFILTER_XT_MATCH_STATE=y
|
||||||
@@ -101,6 +111,8 @@ CONFIG_IP_NF_FILTER=y
|
|||||||
CONFIG_IP_NF_TARGET_REJECT=y
|
CONFIG_IP_NF_TARGET_REJECT=y
|
||||||
CONFIG_IP_NF_TARGET_MASQUERADE=m
|
CONFIG_IP_NF_TARGET_MASQUERADE=m
|
||||||
CONFIG_IP_NF_MANGLE=y
|
CONFIG_IP_NF_MANGLE=y
|
||||||
|
CONFIG_BRIDGE=m
|
||||||
|
CONFIG_VLAN_8021Q=m
|
||||||
CONFIG_NET_SCHED=y
|
CONFIG_NET_SCHED=y
|
||||||
CONFIG_NET_EMATCH=y
|
CONFIG_NET_EMATCH=y
|
||||||
CONFIG_NET_CLS_ACT=y
|
CONFIG_NET_CLS_ACT=y
|
||||||
@@ -115,6 +127,7 @@ CONFIG_FW_LOADER_COMPRESS=y
|
|||||||
CONFIG_DEBUG_DEVRES=y
|
CONFIG_DEBUG_DEVRES=y
|
||||||
CONFIG_CONNECTOR=y
|
CONFIG_CONNECTOR=y
|
||||||
CONFIG_EFI_VARS=y
|
CONFIG_EFI_VARS=y
|
||||||
|
# CONFIG_EFI_CUSTOM_SSDT_OVERLAYS is not set
|
||||||
CONFIG_BLK_DEV_LOOP=y
|
CONFIG_BLK_DEV_LOOP=y
|
||||||
CONFIG_VIRTIO_BLK=m
|
CONFIG_VIRTIO_BLK=m
|
||||||
CONFIG_BLK_DEV_NVME=y
|
CONFIG_BLK_DEV_NVME=y
|
||||||
@@ -179,24 +192,9 @@ CONFIG_SCSI_PM8001=m
|
|||||||
CONFIG_SCSI_VIRTIO=m
|
CONFIG_SCSI_VIRTIO=m
|
||||||
CONFIG_SCSI_DH=y
|
CONFIG_SCSI_DH=y
|
||||||
CONFIG_ATA=y
|
CONFIG_ATA=y
|
||||||
|
# CONFIG_ATA_FORCE is not set
|
||||||
CONFIG_SATA_AHCI=y
|
CONFIG_SATA_AHCI=y
|
||||||
CONFIG_SATA_AHCI_PLATFORM=m
|
CONFIG_SATA_MV=y
|
||||||
CONFIG_SATA_ACARD_AHCI=m
|
|
||||||
CONFIG_SATA_SIL24=m
|
|
||||||
CONFIG_PDC_ADMA=m
|
|
||||||
CONFIG_SATA_QSTOR=m
|
|
||||||
CONFIG_ATA_PIIX=y
|
|
||||||
CONFIG_SATA_DWC=m
|
|
||||||
CONFIG_SATA_MV=m
|
|
||||||
CONFIG_SATA_NV=m
|
|
||||||
CONFIG_SATA_PROMISE=m
|
|
||||||
CONFIG_SATA_SIL=m
|
|
||||||
CONFIG_SATA_SIS=m
|
|
||||||
CONFIG_SATA_SVW=m
|
|
||||||
CONFIG_SATA_ULI=m
|
|
||||||
CONFIG_SATA_VIA=m
|
|
||||||
CONFIG_SATA_VITESSE=m
|
|
||||||
CONFIG_ATA_GENERIC=y
|
|
||||||
CONFIG_MD=y
|
CONFIG_MD=y
|
||||||
CONFIG_BLK_DEV_MD=y
|
CONFIG_BLK_DEV_MD=y
|
||||||
CONFIG_BLK_DEV_DM=y
|
CONFIG_BLK_DEV_DM=y
|
||||||
@@ -218,8 +216,6 @@ CONFIG_ET131X=m
|
|||||||
CONFIG_SLICOSS=m
|
CONFIG_SLICOSS=m
|
||||||
CONFIG_ACENIC=m
|
CONFIG_ACENIC=m
|
||||||
CONFIG_ENA_ETHERNET=m
|
CONFIG_ENA_ETHERNET=m
|
||||||
CONFIG_AMD8111_ETH=m
|
|
||||||
CONFIG_PCNET32=m
|
|
||||||
CONFIG_AMD_XGBE=m
|
CONFIG_AMD_XGBE=m
|
||||||
CONFIG_AQTION=m
|
CONFIG_AQTION=m
|
||||||
CONFIG_ATL1=m
|
CONFIG_ATL1=m
|
||||||
@@ -229,7 +225,7 @@ CONFIG_ALX=m
|
|||||||
CONFIG_B44=m
|
CONFIG_B44=m
|
||||||
CONFIG_BCMGENET=m
|
CONFIG_BCMGENET=m
|
||||||
CONFIG_CNIC=m
|
CONFIG_CNIC=m
|
||||||
CONFIG_TIGON3=y
|
CONFIG_TIGON3=m
|
||||||
CONFIG_BNX2X=m
|
CONFIG_BNX2X=m
|
||||||
CONFIG_SYSTEMPORT=m
|
CONFIG_SYSTEMPORT=m
|
||||||
CONFIG_BNXT=m
|
CONFIG_BNXT=m
|
||||||
@@ -250,9 +246,7 @@ CONFIG_DNET=m
|
|||||||
CONFIG_DL2K=m
|
CONFIG_DL2K=m
|
||||||
CONFIG_SUNDANCE=m
|
CONFIG_SUNDANCE=m
|
||||||
CONFIG_BE2NET=m
|
CONFIG_BE2NET=m
|
||||||
# CONFIG_NET_VENDOR_GOOGLE is not set
|
|
||||||
CONFIG_HINIC=m
|
CONFIG_HINIC=m
|
||||||
CONFIG_E100=y
|
|
||||||
CONFIG_E1000=m
|
CONFIG_E1000=m
|
||||||
CONFIG_E1000E=m
|
CONFIG_E1000E=m
|
||||||
CONFIG_IGB=m
|
CONFIG_IGB=m
|
||||||
@@ -261,14 +255,18 @@ CONFIG_IXGB=m
|
|||||||
CONFIG_IXGBE=m
|
CONFIG_IXGBE=m
|
||||||
CONFIG_IXGBEVF=m
|
CONFIG_IXGBEVF=m
|
||||||
CONFIG_I40E=m
|
CONFIG_I40E=m
|
||||||
|
CONFIG_I40EVF=m
|
||||||
CONFIG_ICE=m
|
CONFIG_ICE=m
|
||||||
CONFIG_FM10K=m
|
CONFIG_FM10K=m
|
||||||
CONFIG_IGC=m
|
CONFIG_IGC=m
|
||||||
CONFIG_JME=m
|
CONFIG_JME=m
|
||||||
CONFIG_MVMDIO=m
|
CONFIG_MVMDIO=m
|
||||||
CONFIG_SKGE=m
|
CONFIG_SKGE=m
|
||||||
CONFIG_SKY2=y
|
CONFIG_SKY2=m
|
||||||
CONFIG_MLX4_EN=m
|
CONFIG_MLX4_EN=m
|
||||||
|
CONFIG_MLX5_CORE=m
|
||||||
|
CONFIG_MLX5_CORE_EN=y
|
||||||
|
CONFIG_MLXSW_CORE=m
|
||||||
CONFIG_MYRI10GE=m
|
CONFIG_MYRI10GE=m
|
||||||
CONFIG_NATSEMI=m
|
CONFIG_NATSEMI=m
|
||||||
CONFIG_NS83820=m
|
CONFIG_NS83820=m
|
||||||
@@ -276,7 +274,6 @@ CONFIG_S2IO=m
|
|||||||
CONFIG_VXGE=m
|
CONFIG_VXGE=m
|
||||||
CONFIG_NFP=m
|
CONFIG_NFP=m
|
||||||
CONFIG_NI_XGE_MANAGEMENT_ENET=m
|
CONFIG_NI_XGE_MANAGEMENT_ENET=m
|
||||||
CONFIG_FORCEDETH=m
|
|
||||||
CONFIG_HAMACHI=m
|
CONFIG_HAMACHI=m
|
||||||
CONFIG_YELLOWFIN=m
|
CONFIG_YELLOWFIN=m
|
||||||
CONFIG_QLA3XXX=m
|
CONFIG_QLA3XXX=m
|
||||||
@@ -286,23 +283,22 @@ CONFIG_QED=m
|
|||||||
CONFIG_QEDE=m
|
CONFIG_QEDE=m
|
||||||
CONFIG_QCOM_EMAC=m
|
CONFIG_QCOM_EMAC=m
|
||||||
CONFIG_RMNET=m
|
CONFIG_RMNET=m
|
||||||
|
CONFIG_8139CP=m
|
||||||
|
CONFIG_8139TOO=m
|
||||||
|
# CONFIG_8139TOO_PIO is not set
|
||||||
|
CONFIG_8139TOO_TUNE_TWISTER=y
|
||||||
CONFIG_R8169=m
|
CONFIG_R8169=m
|
||||||
CONFIG_SXGBE_ETH=m
|
CONFIG_SXGBE_ETH=m
|
||||||
CONFIG_SFC=m
|
|
||||||
# CONFIG_SFC_MCDI_MON is not set
|
|
||||||
# CONFIG_SFC_MCDI_LOGGING is not set
|
|
||||||
CONFIG_SFC_FALCON=m
|
CONFIG_SFC_FALCON=m
|
||||||
CONFIG_SIS190=m
|
CONFIG_SIS190=m
|
||||||
CONFIG_STMMAC_ETH=m
|
|
||||||
CONFIG_SUNGEM=m
|
|
||||||
CONFIG_CASSINI=m
|
|
||||||
CONFIG_NIU=m
|
CONFIG_NIU=m
|
||||||
CONFIG_DWC_XLGMAC=m
|
CONFIG_DWC_XLGMAC=m
|
||||||
CONFIG_TEHUTI=m
|
CONFIG_TEHUTI=m
|
||||||
CONFIG_VIA_VELOCITY=m
|
CONFIG_VIA_VELOCITY=m
|
||||||
CONFIG_XILINX_AXI_EMAC=m
|
CONFIG_XILINX_AXI_EMAC=m
|
||||||
CONFIG_XILINX_LL_TEMAC=m
|
CONFIG_PHYLIB=y
|
||||||
CONFIG_REALTEK_PHY=y
|
CONFIG_REALTEK_PHY=y
|
||||||
|
CONFIG_PCS_XPCS=m
|
||||||
CONFIG_USB_NET_DRIVERS=m
|
CONFIG_USB_NET_DRIVERS=m
|
||||||
CONFIG_USB_CATC=m
|
CONFIG_USB_CATC=m
|
||||||
CONFIG_USB_KAWETH=m
|
CONFIG_USB_KAWETH=m
|
||||||
@@ -353,13 +349,13 @@ CONFIG_HW_RANDOM=y
|
|||||||
CONFIG_NVRAM=y
|
CONFIG_NVRAM=y
|
||||||
CONFIG_HPET=y
|
CONFIG_HPET=y
|
||||||
# CONFIG_HPET_MMAP is not set
|
# CONFIG_HPET_MMAP is not set
|
||||||
|
CONFIG_I2C=y
|
||||||
CONFIG_I2C_I801=y
|
CONFIG_I2C_I801=y
|
||||||
CONFIG_WATCHDOG=y
|
CONFIG_WATCHDOG=y
|
||||||
CONFIG_REGULATOR=y
|
CONFIG_MFD_SYSCON=y
|
||||||
CONFIG_AGP=y
|
CONFIG_AGP=y
|
||||||
CONFIG_AGP_AMD64=y
|
CONFIG_AGP_AMD64=y
|
||||||
CONFIG_AGP_INTEL=y
|
CONFIG_AGP_INTEL=y
|
||||||
CONFIG_DRM=y
|
|
||||||
CONFIG_FB=y
|
CONFIG_FB=y
|
||||||
CONFIG_FIRMWARE_EDID=y
|
CONFIG_FIRMWARE_EDID=y
|
||||||
CONFIG_FB_MODE_HELPERS=y
|
CONFIG_FB_MODE_HELPERS=y
|
||||||
@@ -418,10 +414,17 @@ CONFIG_USB_UAS=y
|
|||||||
CONFIG_USB_SERIAL=m
|
CONFIG_USB_SERIAL=m
|
||||||
CONFIG_USB_ROLE_SWITCH=y
|
CONFIG_USB_ROLE_SWITCH=y
|
||||||
CONFIG_USB_ROLES_INTEL_XHCI=m
|
CONFIG_USB_ROLES_INTEL_XHCI=m
|
||||||
|
CONFIG_MMC=m
|
||||||
|
CONFIG_MMC_SDHCI=m
|
||||||
|
CONFIG_MMC_VIA_SDMMC=m
|
||||||
|
CONFIG_MMC_VUB300=m
|
||||||
|
CONFIG_MMC_USHC=m
|
||||||
|
CONFIG_MMC_MTK=m
|
||||||
CONFIG_LEDS_TRIGGERS=y
|
CONFIG_LEDS_TRIGGERS=y
|
||||||
CONFIG_RTC_CLASS=y
|
CONFIG_RTC_CLASS=y
|
||||||
# CONFIG_RTC_HCTOSYS is not set
|
# CONFIG_RTC_HCTOSYS is not set
|
||||||
CONFIG_DMADEVICES=y
|
CONFIG_DMADEVICES=y
|
||||||
|
CONFIG_SYNC_FILE=y
|
||||||
CONFIG_VIRT_DRIVERS=y
|
CONFIG_VIRT_DRIVERS=y
|
||||||
CONFIG_VBOXGUEST=m
|
CONFIG_VBOXGUEST=m
|
||||||
CONFIG_VIRTIO_PCI=m
|
CONFIG_VIRTIO_PCI=m
|
||||||
@@ -439,6 +442,7 @@ CONFIG_INTEL_IOMMU=y
|
|||||||
# CONFIG_INTEL_IOMMU_DEFAULT_ON is not set
|
# CONFIG_INTEL_IOMMU_DEFAULT_ON is not set
|
||||||
CONFIG_VIRTIO_IOMMU=m
|
CONFIG_VIRTIO_IOMMU=m
|
||||||
CONFIG_MEMORY=y
|
CONFIG_MEMORY=y
|
||||||
|
CONFIG_RESET_CONTROLLER=y
|
||||||
CONFIG_VALIDATE_FS_PARSER=y
|
CONFIG_VALIDATE_FS_PARSER=y
|
||||||
CONFIG_EXT2_FS=y
|
CONFIG_EXT2_FS=y
|
||||||
CONFIG_EXT3_FS=y
|
CONFIG_EXT3_FS=y
|
||||||
@@ -452,7 +456,9 @@ CONFIG_AUTOFS4_FS=y
|
|||||||
CONFIG_MSDOS_FS=y
|
CONFIG_MSDOS_FS=y
|
||||||
CONFIG_VFAT_FS=y
|
CONFIG_VFAT_FS=y
|
||||||
CONFIG_PROC_KCORE=y
|
CONFIG_PROC_KCORE=y
|
||||||
|
CONFIG_TMPFS=y
|
||||||
CONFIG_HUGETLBFS=y
|
CONFIG_HUGETLBFS=y
|
||||||
|
CONFIG_EFIVAR_FS=y
|
||||||
CONFIG_NFS_FS=y
|
CONFIG_NFS_FS=y
|
||||||
CONFIG_NFS_V3_ACL=y
|
CONFIG_NFS_V3_ACL=y
|
||||||
CONFIG_NFS_V4=y
|
CONFIG_NFS_V4=y
|
||||||
|
|||||||
@@ -18,9 +18,6 @@ printf "\033[1;44m%*s\033[0m\n" ${COLUMNS} ""
|
|||||||
TITLE="BOOTING..."
|
TITLE="BOOTING..."
|
||||||
printf "\033[1;33m%*s\033[0m\n" $(((${#TITLE}+${COLUMNS})/2)) "${TITLE}"
|
printf "\033[1;33m%*s\033[0m\n" $(((${#TITLE}+${COLUMNS})/2)) "${TITLE}"
|
||||||
|
|
||||||
history -w
|
|
||||||
sync
|
|
||||||
|
|
||||||
# Check if DSM zImage changed, patch it if necessary
|
# Check if DSM zImage changed, patch it if necessary
|
||||||
ZIMAGE_HASH="`readConfigKey "zimage-hash" "${USER_CONFIG_FILE}"`"
|
ZIMAGE_HASH="`readConfigKey "zimage-hash" "${USER_CONFIG_FILE}"`"
|
||||||
if [ "`sha256sum "${ORI_ZIMAGE_FILE}" | awk '{print$1}'`" != "${ZIMAGE_HASH}" ]; then
|
if [ "`sha256sum "${ORI_ZIMAGE_FILE}" | awk '{print$1}'`" != "${ZIMAGE_HASH}" ]; then
|
||||||
@@ -29,7 +26,7 @@ if [ "`sha256sum "${ORI_ZIMAGE_FILE}" | awk '{print$1}'`" != "${ZIMAGE_HASH}" ];
|
|||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
dialog --backtitle "`backtitle`" --title "Error" \
|
dialog --backtitle "`backtitle`" --title "Error" \
|
||||||
--msgbox "zImage not patched:\n`<"${LOG_FILE}"`" 12 70
|
--msgbox "zImage not patched:\n`<"${LOG_FILE}"`" 12 70
|
||||||
return 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -41,7 +38,7 @@ if [ "`sha256sum "${ORI_RDGZ_FILE}" | awk '{print$1}'`" != "${RAMDISK_HASH}" ];
|
|||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
dialog --backtitle "`backtitle`" --title "Error" \
|
dialog --backtitle "`backtitle`" --title "Error" \
|
||||||
--msgbox "Ramdisk not patched:\n`<"${LOG_FILE}"`" 12 70
|
--msgbox "Ramdisk not patched:\n`<"${LOG_FILE}"`" 12 70
|
||||||
return 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -68,10 +65,10 @@ CMDLINE['pid']="${PID}"
|
|||||||
CMDLINE['sn']="${SN}"
|
CMDLINE['sn']="${SN}"
|
||||||
|
|
||||||
# Read cmdline
|
# Read cmdline
|
||||||
while IFS="=" read KEY VALUE; do
|
while IFS=': ' read KEY VALUE; do
|
||||||
[ -n "${KEY}" ] && CMDLINE["${KEY}"]="${VALUE}"
|
[ -n "${KEY}" ] && CMDLINE["${KEY}"]="${VALUE}"
|
||||||
done < <(readModelMap "${MODEL}" "builds.${BUILD}.cmdline")
|
done < <(readModelMap "${MODEL}" "builds.${BUILD}.cmdline")
|
||||||
while IFS="=" read KEY VALUE; do
|
while IFS=': ' read KEY VALUE; do
|
||||||
[ -n "${KEY}" ] && CMDLINE["${KEY}"]="${VALUE}"
|
[ -n "${KEY}" ] && CMDLINE["${KEY}"]="${VALUE}"
|
||||||
done < <(readConfigMap "cmdline" "${USER_CONFIG_FILE}")
|
done < <(readConfigMap "cmdline" "${USER_CONFIG_FILE}")
|
||||||
|
|
||||||
@@ -103,7 +100,7 @@ fi
|
|||||||
# Prepare command line
|
# Prepare command line
|
||||||
CMDLINE_LINE=""
|
CMDLINE_LINE=""
|
||||||
grep -q "force_junior" /proc/cmdline && CMDLINE_LINE+="force_junior "
|
grep -q "force_junior" /proc/cmdline && CMDLINE_LINE+="force_junior "
|
||||||
[ ${EFI} -eq 1 ] && CMDLINE_LINE+="withefi "
|
[ ${EFI} -eq 1 ] && CMDLINE_LINE+="withefi " || CMDLINE_LINE+="noefi "
|
||||||
[ "${BUS}" = "ata" ] && CMDLINE_LINE+="synoboot_satadom=${DOM} dom_szmax=${SIZE} "
|
[ "${BUS}" = "ata" ] && CMDLINE_LINE+="synoboot_satadom=${DOM} dom_szmax=${SIZE} "
|
||||||
CMDLINE_DIRECT="${CMDLINE_LINE}"
|
CMDLINE_DIRECT="${CMDLINE_LINE}"
|
||||||
CMDLINE_LINE+="console=ttyS0,115200n8 earlyprintk earlycon=uart8250,io,0x3f8,115200n8 root=/dev/md0 loglevel=15 log_buf_len=32M"
|
CMDLINE_LINE+="console=ttyS0,115200n8 earlyprintk earlycon=uart8250,io,0x3f8,115200n8 root=/dev/md0 loglevel=15 log_buf_len=32M"
|
||||||
@@ -115,7 +112,7 @@ for KEY in ${!CMDLINE[@]}; do
|
|||||||
[ -n "${VALUE}" ] && CMDLINE_DIRECT+="=${VALUE}"
|
[ -n "${VALUE}" ] && CMDLINE_DIRECT+="=${VALUE}"
|
||||||
done
|
done
|
||||||
# Escape special chars
|
# Escape special chars
|
||||||
CMDLINE_LINE=`echo ${CMDLINE_LINE} | sed 's/>/\\\\>/g'`
|
#CMDLINE_LINE=`echo ${CMDLINE_LINE} | sed 's/>/\\\\>/g'`
|
||||||
CMDLINE_DIRECT=`echo ${CMDLINE_DIRECT} | sed 's/>/\\\\>/g'`
|
CMDLINE_DIRECT=`echo ${CMDLINE_DIRECT} | sed 's/>/\\\\>/g'`
|
||||||
echo -e "Cmdline:\n\033[1;36m${CMDLINE_LINE}\033[0m"
|
echo -e "Cmdline:\n\033[1;36m${CMDLINE_LINE}\033[0m"
|
||||||
|
|
||||||
@@ -142,8 +139,7 @@ if [ "${DIRECT}" = "true" ]; then
|
|||||||
echo -e "\033[1;33mReboot to boot directly in DSM\033[0m"
|
echo -e "\033[1;33mReboot to boot directly in DSM\033[0m"
|
||||||
grub-editenv ${GRUB_PATH}/grubenv set next_entry="direct"
|
grub-editenv ${GRUB_PATH}/grubenv set next_entry="direct"
|
||||||
reboot
|
reboot
|
||||||
sleep 100
|
exit 0
|
||||||
exit
|
|
||||||
fi
|
fi
|
||||||
echo -e "\033[1;37mLoading DSM kernel...\033[0m"
|
echo -e "\033[1;37mLoading DSM kernel...\033[0m"
|
||||||
|
|
||||||
@@ -156,4 +152,4 @@ else
|
|||||||
fi
|
fi
|
||||||
echo -e "\033[1;37mBooting...\033[0m"
|
echo -e "\033[1;37mBooting...\033[0m"
|
||||||
poweroff
|
poweroff
|
||||||
while true; do sleep 1; done # infinity loop
|
exit 0
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ function readConfigKey() {
|
|||||||
# 2 - Path of yaml config file
|
# 2 - Path of yaml config file
|
||||||
# Returns map of values
|
# Returns map of values
|
||||||
function readConfigMap() {
|
function readConfigMap() {
|
||||||
yq eval '.'${1}' | explode(.) | to_entries | map([.key, .value] | join("=")) | .[]' "${2}"
|
yq eval '.'${1}' | explode(.) | to_entries | map([.key, .value] | join(": ")) | .[]' "${2}"
|
||||||
}
|
}
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
ARPL_VERSION="1.0-beta10"
|
ARPL_VERSION="1.1-beta2a"
|
||||||
|
|
||||||
# Define paths
|
# Define paths
|
||||||
TMP_PATH="/tmp"
|
TMP_PATH="/tmp"
|
||||||
|
|||||||
@@ -50,7 +50,10 @@ ln -s "${CACHE_PATH}/ssh" "/etc/ssh"
|
|||||||
# Link bash history to cache volume
|
# Link bash history to cache volume
|
||||||
rm -rf ~/.bash_history
|
rm -rf ~/.bash_history
|
||||||
ln -s ${CACHE_PATH}/.bash_history ~/.bash_history
|
ln -s ${CACHE_PATH}/.bash_history ~/.bash_history
|
||||||
|
touch ~/.bash_history
|
||||||
|
if ! grep -q "menu.sh" ~/.bash_history; then
|
||||||
|
echo "menu.sh " >> ~/.bash_history
|
||||||
|
fi
|
||||||
# Check if exists directories into P3 partition, if yes remove and link it
|
# Check if exists directories into P3 partition, if yes remove and link it
|
||||||
if [ -d "${CACHE_PATH}/model-configs" ]; then
|
if [ -d "${CACHE_PATH}/model-configs" ]; then
|
||||||
rm -rf "${MODEL_CONFIG_PATH}"
|
rm -rf "${MODEL_CONFIG_PATH}"
|
||||||
@@ -69,12 +72,12 @@ MACF=`echo ${MAC} | sed 's/://g'`
|
|||||||
# If user config file not exists, initialize it
|
# If user config file not exists, initialize it
|
||||||
if [ ! -f "${USER_CONFIG_FILE}" ]; then
|
if [ ! -f "${USER_CONFIG_FILE}" ]; then
|
||||||
touch "${USER_CONFIG_FILE}"
|
touch "${USER_CONFIG_FILE}"
|
||||||
writeConfigKey "lkm" "dev" "${USER_CONFIG_FILE}"
|
writeConfigKey "lkm" "prod" "${USER_CONFIG_FILE}"
|
||||||
writeConfigKey "directboot" "false" "${USER_CONFIG_FILE}"
|
writeConfigKey "directboot" "false" "${USER_CONFIG_FILE}"
|
||||||
writeConfigKey "model" "" "${USER_CONFIG_FILE}"
|
writeConfigKey "model" "" "${USER_CONFIG_FILE}"
|
||||||
writeConfigKey "build" "" "${USER_CONFIG_FILE}"
|
writeConfigKey "build" "" "${USER_CONFIG_FILE}"
|
||||||
writeConfigKey "sn" "" "${USER_CONFIG_FILE}"
|
writeConfigKey "sn" "" "${USER_CONFIG_FILE}"
|
||||||
writeConfigKey "maxdisks" "" "${USER_CONFIG_FILE}"
|
# writeConfigKey "maxdisks" "" "${USER_CONFIG_FILE}"
|
||||||
writeConfigKey "layout" "qwerty" "${USER_CONFIG_FILE}"
|
writeConfigKey "layout" "qwerty" "${USER_CONFIG_FILE}"
|
||||||
writeConfigKey "keymap" "" "${USER_CONFIG_FILE}"
|
writeConfigKey "keymap" "" "${USER_CONFIG_FILE}"
|
||||||
writeConfigKey "zimage-hash" "" "${USER_CONFIG_FILE}"
|
writeConfigKey "zimage-hash" "" "${USER_CONFIG_FILE}"
|
||||||
@@ -144,6 +147,9 @@ if [ -f /usr/share/keymaps/i386/${LAYOUT}/${KEYMAP}.map.gz ]; then
|
|||||||
zcat /usr/share/keymaps/i386/${LAYOUT}/${KEYMAP}.map.gz | loadkeys
|
zcat /usr/share/keymaps/i386/${LAYOUT}/${KEYMAP}.map.gz | loadkeys
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Enable Wake on Lan, ignore errors
|
||||||
|
ethtool -s eth0 wol g 2>/dev/null
|
||||||
|
|
||||||
# Decide if boot automatically
|
# Decide if boot automatically
|
||||||
BOOT=1
|
BOOT=1
|
||||||
if ! loaderIsConfigured; then
|
if ! loaderIsConfigured; then
|
||||||
@@ -155,7 +161,9 @@ elif grep -q "IWANTTOCHANGETHECONFIG" /proc/cmdline; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# If is to boot automatically, do it
|
# If is to boot automatically, do it
|
||||||
[ ${BOOT} -eq 1 ] && boot.sh
|
if [ ${BOOT} -eq 1 ]; then
|
||||||
|
boot.sh && exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
# Wait for an IP
|
# Wait for an IP
|
||||||
COUNT=0
|
COUNT=0
|
||||||
|
|||||||
@@ -145,13 +145,13 @@ function buildMenu() {
|
|||||||
writeConfigKey "build" "${BUILD}" "${USER_CONFIG_FILE}"
|
writeConfigKey "build" "${BUILD}" "${USER_CONFIG_FILE}"
|
||||||
# Delete synoinfo and reload model/build synoinfo
|
# Delete synoinfo and reload model/build synoinfo
|
||||||
writeConfigKey "synoinfo" "{}" "${USER_CONFIG_FILE}"
|
writeConfigKey "synoinfo" "{}" "${USER_CONFIG_FILE}"
|
||||||
while IFS="=" read KEY VALUE; do
|
while IFS=': ' read KEY VALUE; do
|
||||||
writeConfigKey "synoinfo.${KEY}" "${VALUE}" "${USER_CONFIG_FILE}"
|
writeConfigKey "synoinfo.${KEY}" "${VALUE}" "${USER_CONFIG_FILE}"
|
||||||
done < <(readModelMap "${MODEL}" "builds.${BUILD}.synoinfo")
|
done < <(readModelMap "${MODEL}" "builds.${BUILD}.synoinfo")
|
||||||
# Check addons
|
# Check addons
|
||||||
PLATFORM="`readModelKey "${MODEL}" "platform"`"
|
PLATFORM="`readModelKey "${MODEL}" "platform"`"
|
||||||
KVER="`readModelKey "${MODEL}" "builds.${BUILD}.kver"`"
|
KVER="`readModelKey "${MODEL}" "builds.${BUILD}.kver"`"
|
||||||
while IFS="=" read ADDON PARAM; do
|
while IFS=': ' read ADDON PARAM; do
|
||||||
[ -z "${ADDON}" ] && continue
|
[ -z "${ADDON}" ] && continue
|
||||||
if ! checkAddonExist "${ADDON}" "${PLATFORM}" "${KVER}"; then
|
if ! checkAddonExist "${ADDON}" "${PLATFORM}" "${KVER}"; then
|
||||||
deleteConfigKey "addons.${ADDON}" "${USER_CONFIG_FILE}"
|
deleteConfigKey "addons.${ADDON}" "${USER_CONFIG_FILE}"
|
||||||
@@ -215,7 +215,7 @@ function addonMenu() {
|
|||||||
# Read addons from user config
|
# Read addons from user config
|
||||||
unset ADDONS
|
unset ADDONS
|
||||||
declare -A ADDONS
|
declare -A ADDONS
|
||||||
while IFS="=" read KEY VALUE; do
|
while IFS=': ' read KEY VALUE; do
|
||||||
[ -n "${KEY}" ] && ADDONS["${KEY}"]="${VALUE}"
|
[ -n "${KEY}" ] && ADDONS["${KEY}"]="${VALUE}"
|
||||||
done < <(readConfigMap "addons" "${USER_CONFIG_FILE}")
|
done < <(readConfigMap "addons" "${USER_CONFIG_FILE}")
|
||||||
NEXT="a"
|
NEXT="a"
|
||||||
@@ -331,15 +331,14 @@ function addonMenu() {
|
|||||||
function cmdlineMenu() {
|
function cmdlineMenu() {
|
||||||
unset CMDLINE
|
unset CMDLINE
|
||||||
declare -A CMDLINE
|
declare -A CMDLINE
|
||||||
while IFS="=" read KEY VALUE; do
|
while IFS=': ' read KEY VALUE; do
|
||||||
[ -n "${KEY}" ] && CMDLINE["${KEY}"]="${VALUE}"
|
[ -n "${KEY}" ] && CMDLINE["${KEY}"]="${VALUE}"
|
||||||
done < <(readConfigMap "cmdline" "${USER_CONFIG_FILE}")
|
done < <(readConfigMap "cmdline" "${USER_CONFIG_FILE}")
|
||||||
echo "a \"Add/edit a cmdline item\"" > "${TMP_PATH}/menu"
|
echo "a \"Add/edit a cmdline item\"" > "${TMP_PATH}/menu"
|
||||||
echo "d \"Delete cmdline item(s)\"" >> "${TMP_PATH}/menu"
|
echo "d \"Delete cmdline item(s)\"" >> "${TMP_PATH}/menu"
|
||||||
echo "c \"Define a custom MAC\"" >> "${TMP_PATH}/menu"
|
echo "c \"Define a custom MAC\"" >> "${TMP_PATH}/menu"
|
||||||
echo "s \"Show user cmdline\"" >> "${TMP_PATH}/menu"
|
echo "s \"Show user cmdline\"" >> "${TMP_PATH}/menu"
|
||||||
echo "m \"Show model/build cmdline\"" >> "${TMP_PATH}/menu"
|
echo "m \"Show model/build cmdline\"" >> "${TMP_PATH}/menu"
|
||||||
echo "u \"Show SATA(s) # ports and drives\"" >> "${TMP_PATH}/menu"
|
|
||||||
echo "e \"Exit\"" >> "${TMP_PATH}/menu"
|
echo "e \"Exit\"" >> "${TMP_PATH}/menu"
|
||||||
# Loop menu
|
# Loop menu
|
||||||
while true; do
|
while true; do
|
||||||
@@ -415,40 +414,12 @@ function cmdlineMenu() {
|
|||||||
;;
|
;;
|
||||||
m)
|
m)
|
||||||
ITEMS=""
|
ITEMS=""
|
||||||
while IFS="=" read KEY VALUE; do
|
while IFS=': ' read KEY VALUE; do
|
||||||
ITEMS+="${KEY}: ${VALUE}\n"
|
ITEMS+="${KEY}: ${VALUE}\n"
|
||||||
done < <(readModelMap "${MODEL}" "builds.${BUILD}.cmdline")
|
done < <(readModelMap "${MODEL}" "builds.${BUILD}.cmdline")
|
||||||
dialog --backtitle "`backtitle`" --title "Model/build cmdline" \
|
dialog --backtitle "`backtitle`" --title "Model/build cmdline" \
|
||||||
--aspect 18 --msgbox "${ITEMS}" 0 0
|
--aspect 18 --msgbox "${ITEMS}" 0 0
|
||||||
;;
|
;;
|
||||||
u) TEXT=""
|
|
||||||
NUMPORTS=0
|
|
||||||
for PCI in `lspci -d ::106 | awk '{print$1}'`; do
|
|
||||||
NAME=`lspci -s "${PCI}" | sed "s/\ .*://"`
|
|
||||||
TEXT+="\Zb${NAME}\Zn\nPorts: "
|
|
||||||
unset HOSTPORTS
|
|
||||||
declare -A HOSTPORTS
|
|
||||||
while read LINE; do
|
|
||||||
ATAPORT="`echo ${LINE} | grep -o 'ata[0-9]*'`"
|
|
||||||
PORT=`echo ${ATAPORT} | sed 's/ata//'`
|
|
||||||
HOSTPORTS[${PORT}]=`echo ${LINE} | grep -o 'host[0-9]*$'`
|
|
||||||
done < <(ls -l /sys/class/scsi_host | fgrep "${PCI}")
|
|
||||||
while read PORT; do
|
|
||||||
ls -l /sys/block | fgrep -q "${PCI}/ata${PORT}" && ATTACH=1 || ATTACH=0
|
|
||||||
PCMD=`cat /sys/class/scsi_host/${HOSTPORTS[${PORT}]}/ahci_port_cmd`
|
|
||||||
[ "${PCMD}" = "0" ] && DUMMY=1 || DUMMY=0
|
|
||||||
[ ${ATTACH} -eq 1 ] && TEXT+="\Z2\Zb"
|
|
||||||
[ ${DUMMY} -eq 1 ] && TEXT+="\Z1"
|
|
||||||
TEXT+="${PORT}\Zn "
|
|
||||||
NUMPORTS=$((${NUMPORTS}+1))
|
|
||||||
done < <(echo ${!HOSTPORTS[@]} | tr ' ' '\n' | sort -n)
|
|
||||||
TEXT+="\n"
|
|
||||||
done
|
|
||||||
TEXT+="\nTotal of ports: ${NUMPORTS}\n"
|
|
||||||
TEXT+="\nPorts with color \Z1red\Zn as DUMMY, color \Z2\Zbgreen\Zn has drive connected."
|
|
||||||
dialog --backtitle "`backtitle`" --colors --aspect 18 \
|
|
||||||
--msgbox "${TEXT}" 0 0
|
|
||||||
;;
|
|
||||||
e) return ;;
|
e) return ;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
@@ -456,20 +427,15 @@ function cmdlineMenu() {
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
function synoinfoMenu() {
|
function synoinfoMenu() {
|
||||||
# Get dt flag from model
|
|
||||||
DT="`readModelKey "${MODEL}" "dt"`"
|
|
||||||
# Read synoinfo from user config
|
# Read synoinfo from user config
|
||||||
unset SYNOINFO
|
unset SYNOINFO
|
||||||
declare -A SYNOINFO
|
declare -A SYNOINFO
|
||||||
while IFS="=" read KEY VALUE; do
|
while IFS=': ' read KEY VALUE; do
|
||||||
[ -n "${KEY}" ] && SYNOINFO["${KEY}"]="${VALUE}"
|
[ -n "${KEY}" ] && SYNOINFO["${KEY}"]="${VALUE}"
|
||||||
done < <(readConfigMap "synoinfo" "${USER_CONFIG_FILE}")
|
done < <(readConfigMap "synoinfo" "${USER_CONFIG_FILE}")
|
||||||
|
|
||||||
echo "a \"Add/edit a synoinfo item\"" > "${TMP_PATH}/menu"
|
echo "a \"Add/edit a synoinfo item\"" > "${TMP_PATH}/menu"
|
||||||
echo "d \"Delete synoinfo item(s)\"" >> "${TMP_PATH}/menu"
|
echo "d \"Delete synoinfo item(s)\"" >> "${TMP_PATH}/menu"
|
||||||
if [ "${DT}" != "true" ]; then
|
|
||||||
echo "x \"Set maxdisks manually\"" >> "${TMP_PATH}/menu"
|
|
||||||
fi
|
|
||||||
echo "s \"Show synoinfo entries\"" >> "${TMP_PATH}/menu"
|
echo "s \"Show synoinfo entries\"" >> "${TMP_PATH}/menu"
|
||||||
echo "e \"Exit\"" >> "${TMP_PATH}/menu"
|
echo "e \"Exit\"" >> "${TMP_PATH}/menu"
|
||||||
|
|
||||||
@@ -516,15 +482,6 @@ function synoinfoMenu() {
|
|||||||
done
|
done
|
||||||
DIRTY=1
|
DIRTY=1
|
||||||
;;
|
;;
|
||||||
x)
|
|
||||||
MAXDISKS=`readConfigKey "maxdisks" "${USER_CONFIG_FILE}"`
|
|
||||||
dialog --backtitle "`backtitle`" --title "Maxdisks" \
|
|
||||||
--inputbox "Type a value for maxdisks" 0 0 "${MAXDISKS}" \
|
|
||||||
2>${TMP_PATH}/resp
|
|
||||||
[ $? -ne 0 ] && continue
|
|
||||||
VALUE="`<"${TMP_PATH}/resp"`"
|
|
||||||
[ "${VALUE}" != "${MAXDISKS}" ] && writeConfigKey "maxdisks" "${VALUE}" "${USER_CONFIG_FILE}"
|
|
||||||
;;
|
|
||||||
s)
|
s)
|
||||||
ITEMS=""
|
ITEMS=""
|
||||||
for KEY in ${!SYNOINFO[@]}; do
|
for KEY in ${!SYNOINFO[@]}; do
|
||||||
@@ -546,13 +503,6 @@ function extractDsmFiles() {
|
|||||||
RAMDISK_HASH="`readModelKey "${MODEL}" "builds.${BUILD}.pat.ramdisk-hash"`"
|
RAMDISK_HASH="`readModelKey "${MODEL}" "builds.${BUILD}.pat.ramdisk-hash"`"
|
||||||
ZIMAGE_HASH="`readModelKey "${MODEL}" "builds.${BUILD}.pat.zimage-hash"`"
|
ZIMAGE_HASH="`readModelKey "${MODEL}" "builds.${BUILD}.pat.zimage-hash"`"
|
||||||
|
|
||||||
# If we have little disk space, clean cache folder
|
|
||||||
if [ ${CLEARCACHE} -eq 1 ]; then
|
|
||||||
echo "Cleaning cache"
|
|
||||||
rm -rf "${CACHE_PATH}/dl"
|
|
||||||
fi
|
|
||||||
mkdir -p "${CACHE_PATH}/dl"
|
|
||||||
|
|
||||||
SPACELEFT=`df --block-size=1 | awk '/'${LOADER_DEVICE_NAME}'3/{print$4}'` # Check disk space left
|
SPACELEFT=`df --block-size=1 | awk '/'${LOADER_DEVICE_NAME}'3/{print$4}'` # Check disk space left
|
||||||
|
|
||||||
PAT_FILE="${MODEL}-${BUILD}.pat"
|
PAT_FILE="${MODEL}-${BUILD}.pat"
|
||||||
@@ -564,6 +514,13 @@ function extractDsmFiles() {
|
|||||||
if [ -f "${PAT_PATH}" ]; then
|
if [ -f "${PAT_PATH}" ]; then
|
||||||
echo "${PAT_FILE} cached."
|
echo "${PAT_FILE} cached."
|
||||||
else
|
else
|
||||||
|
# If we have little disk space, clean cache folder
|
||||||
|
if [ ${CLEARCACHE} -eq 1 ]; then
|
||||||
|
echo "Cleaning cache"
|
||||||
|
rm -rf "${CACHE_PATH}/dl"
|
||||||
|
fi
|
||||||
|
mkdir -p "${CACHE_PATH}/dl"
|
||||||
|
|
||||||
echo "Downloading ${PAT_FILE}"
|
echo "Downloading ${PAT_FILE}"
|
||||||
# Discover remote file size
|
# Discover remote file size
|
||||||
FILESIZE=`curl --insecure -sLI "${PAT_URL}" | grep -i Content-Length | awk '{print$2}'`
|
FILESIZE=`curl --insecure -sLI "${PAT_URL}" | grep -i Content-Length | awk '{print$2}'`
|
||||||
@@ -714,7 +671,7 @@ function make() {
|
|||||||
KVER="`readModelKey "${MODEL}" "builds.${BUILD}.kver"`"
|
KVER="`readModelKey "${MODEL}" "builds.${BUILD}.kver"`"
|
||||||
|
|
||||||
# Check if all addon exists
|
# Check if all addon exists
|
||||||
while IFS="=" read ADDON PARAM; do
|
while IFS=': ' read ADDON PARAM; do
|
||||||
[ -z "${ADDON}" ] && continue
|
[ -z "${ADDON}" ] && continue
|
||||||
if ! checkAddonExist "${ADDON}" "${PLATFORM}" "${KVER}"; then
|
if ! checkAddonExist "${ADDON}" "${PLATFORM}" "${KVER}"; then
|
||||||
dialog --backtitle "`backtitle`" --title "Error" --aspect 18 \
|
dialog --backtitle "`backtitle`" --title "Error" --aspect 18 \
|
||||||
@@ -763,6 +720,7 @@ function advancedMenu() {
|
|||||||
fi
|
fi
|
||||||
echo "u \"Edit user config file manually\"" >> "${TMP_PATH}/menu"
|
echo "u \"Edit user config file manually\"" >> "${TMP_PATH}/menu"
|
||||||
echo "t \"Try to recovery a DSM installed system\"" >> "${TMP_PATH}/menu"
|
echo "t \"Try to recovery a DSM installed system\"" >> "${TMP_PATH}/menu"
|
||||||
|
echo "s \"Show SATA(s) # ports and drives\"" >> "${TMP_PATH}/menu"
|
||||||
echo "e \"Exit\"" >> "${TMP_PATH}/menu"
|
echo "e \"Exit\"" >> "${TMP_PATH}/menu"
|
||||||
|
|
||||||
dialog --default-item ${NEXT} --backtitle "`backtitle`" --title "Advanced" \
|
dialog --default-item ${NEXT} --backtitle "`backtitle`" --title "Advanced" \
|
||||||
@@ -782,7 +740,35 @@ function advancedMenu() {
|
|||||||
;;
|
;;
|
||||||
u) editUserConfig; NEXT="e" ;;
|
u) editUserConfig; NEXT="e" ;;
|
||||||
t) tryRecoveryDSM ;;
|
t) tryRecoveryDSM ;;
|
||||||
e) break ;;
|
s) TEXT=""
|
||||||
|
NUMPORTS=0
|
||||||
|
for PCI in `lspci -d ::106 | awk '{print$1}'`; do
|
||||||
|
NAME=`lspci -s "${PCI}" | sed "s/\ .*://"`
|
||||||
|
TEXT+="\Zb${NAME}\Zn\nPorts: "
|
||||||
|
unset HOSTPORTS
|
||||||
|
declare -A HOSTPORTS
|
||||||
|
while read LINE; do
|
||||||
|
ATAPORT="`echo ${LINE} | grep -o 'ata[0-9]*'`"
|
||||||
|
PORT=`echo ${ATAPORT} | sed 's/ata//'`
|
||||||
|
HOSTPORTS[${PORT}]=`echo ${LINE} | grep -o 'host[0-9]*$'`
|
||||||
|
done < <(ls -l /sys/class/scsi_host | fgrep "${PCI}")
|
||||||
|
while read PORT; do
|
||||||
|
ls -l /sys/block | fgrep -q "${PCI}/ata${PORT}" && ATTACH=1 || ATTACH=0
|
||||||
|
PCMD=`cat /sys/class/scsi_host/${HOSTPORTS[${PORT}]}/ahci_port_cmd`
|
||||||
|
[ "${PCMD}" = "0" ] && DUMMY=1 || DUMMY=0
|
||||||
|
[ ${ATTACH} -eq 1 ] && TEXT+="\Z2\Zb"
|
||||||
|
[ ${DUMMY} -eq 1 ] && TEXT+="\Z1"
|
||||||
|
TEXT+="${PORT}\Zn "
|
||||||
|
NUMPORTS=$((${NUMPORTS}+1))
|
||||||
|
done < <(echo ${!HOSTPORTS[@]} | tr ' ' '\n' | sort -n)
|
||||||
|
TEXT+="\n"
|
||||||
|
done
|
||||||
|
TEXT+="\nTotal of ports: ${NUMPORTS}\n"
|
||||||
|
TEXT+="\nPorts with color \Z1red\Zn as DUMMY, color \Z2\Zbgreen\Zn has drive connected."
|
||||||
|
dialog --backtitle "`backtitle`" --colors --aspect 18 \
|
||||||
|
--msgbox "${TEXT}" 0 0
|
||||||
|
;;
|
||||||
|
e) break ;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
@@ -840,7 +826,7 @@ function selectModules() {
|
|||||||
ALLMODULES=`getAllModules "${PLATFORM}" "${KVER}"`
|
ALLMODULES=`getAllModules "${PLATFORM}" "${KVER}"`
|
||||||
unset USERMODULES
|
unset USERMODULES
|
||||||
declare -A USERMODULES
|
declare -A USERMODULES
|
||||||
while IFS="=" read KEY VALUE; do
|
while IFS=': ' read KEY VALUE; do
|
||||||
[ -n "${KEY}" ] && USERMODULES["${KEY}"]="${VALUE}"
|
[ -n "${KEY}" ] && USERMODULES["${KEY}"]="${VALUE}"
|
||||||
done < <(readConfigMap "modules" "${USER_CONFIG_FILE}")
|
done < <(readConfigMap "modules" "${USER_CONFIG_FILE}")
|
||||||
# menu loop
|
# menu loop
|
||||||
@@ -968,11 +954,13 @@ function keymapMenu() {
|
|||||||
KEYMAP=${resp}
|
KEYMAP=${resp}
|
||||||
writeConfigKey "layout" "${LAYOUT}" "${USER_CONFIG_FILE}"
|
writeConfigKey "layout" "${LAYOUT}" "${USER_CONFIG_FILE}"
|
||||||
writeConfigKey "keymap" "${KEYMAP}" "${USER_CONFIG_FILE}"
|
writeConfigKey "keymap" "${KEYMAP}" "${USER_CONFIG_FILE}"
|
||||||
zcat /usr/share/keymaps/i386/${LAYOUT}/${KEYMAP}.map.gz | loadkeys
|
loadkeys /usr/share/keymaps/i386/${LAYOUT}/${KEYMAP}.map.gz
|
||||||
}
|
}
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
function updateMenu() {
|
function updateMenu() {
|
||||||
|
PLATFORM="`readModelKey "${MODEL}" "platform"`"
|
||||||
|
KVER="`readModelKey "${MODEL}" "builds.${BUILD}.kver"`"
|
||||||
while true; do
|
while true; do
|
||||||
dialog --backtitle "`backtitle`" --menu "Choose a option" 0 0 0 \
|
dialog --backtitle "`backtitle`" --menu "Choose a option" 0 0 0 \
|
||||||
a "Update arpl" \
|
a "Update arpl" \
|
||||||
@@ -1024,13 +1012,20 @@ function updateMenu() {
|
|||||||
dialog --backtitle "`backtitle`" --title "Update arpl" --aspect 18 \
|
dialog --backtitle "`backtitle`" --title "Update arpl" --aspect 18 \
|
||||||
--infobox "Installing new files" 0 0
|
--infobox "Installing new files" 0 0
|
||||||
# Process update-list.yml
|
# Process update-list.yml
|
||||||
while IFS="=" read KEY VALUE; do
|
|
||||||
mv /tmp/`basename "${KEY}"` "${VALUE}"
|
|
||||||
done < <(readConfigMap "replace" "/tmp/update-list.yml")
|
|
||||||
while read F; do
|
while read F; do
|
||||||
[ -f "${F}" ] && rm -f "${F}"
|
[ -f "${F}" ] && rm -f "${F}"
|
||||||
[ -d "${F}" ] && rm -Rf "${F}"
|
[ -d "${F}" ] && rm -Rf "${F}"
|
||||||
done < <(readConfigArray "remove" "/tmp/update-list.yml")
|
done < <(readConfigArray "remove" "/tmp/update-list.yml")
|
||||||
|
while IFS=': ' read KEY VALUE; do
|
||||||
|
if [ "${KEY: -1}" = "/" ]; then
|
||||||
|
rm -Rf "${VALUE}"
|
||||||
|
mkdir -p "${VALUE}"
|
||||||
|
gzip -dc "/tmp/`basename "${KEY}"`.tgz" | tar xf - -C "${VALUE}"
|
||||||
|
else
|
||||||
|
mkdir -p "`dirname "${VALUE}"`"
|
||||||
|
mv "/tmp/`basename "${KEY}"`" "${VALUE}"
|
||||||
|
fi
|
||||||
|
done < <(readConfigMap "replace" "/tmp/update-list.yml")
|
||||||
dialog --backtitle "`backtitle`" --title "Update arpl" --aspect 18 \
|
dialog --backtitle "`backtitle`" --title "Update arpl" --aspect 18 \
|
||||||
--yesno "Arpl updated with success to ${TAG}!\nReboot?" 0 0
|
--yesno "Arpl updated with success to ${TAG}!\nReboot?" 0 0
|
||||||
[ $? -ne 0 ] && continue
|
[ $? -ne 0 ] && continue
|
||||||
@@ -1132,11 +1127,13 @@ function updateMenu() {
|
|||||||
rm "${MODULES_PATH}/${P}.tgz"
|
rm "${MODULES_PATH}/${P}.tgz"
|
||||||
mv "/tmp/${P}.tgz" "${MODULES_PATH}/${P}.tgz"
|
mv "/tmp/${P}.tgz" "${MODULES_PATH}/${P}.tgz"
|
||||||
done
|
done
|
||||||
# Rebuild modules
|
# Rebuild modules if model/buildnumber is selected
|
||||||
writeConfigKey "modules" "{}" "${USER_CONFIG_FILE}"
|
if [ -n "${PLATFORM}" -a -n "${KVER}" ]; then
|
||||||
while read ID DESC; do
|
writeConfigKey "modules" "{}" "${USER_CONFIG_FILE}"
|
||||||
writeConfigKey "modules.${ID}" "" "${USER_CONFIG_FILE}"
|
while read ID DESC; do
|
||||||
done < <(getAllModules "${PLATFORM}" "${KVER}")
|
writeConfigKey "modules.${ID}" "" "${USER_CONFIG_FILE}"
|
||||||
|
done < <(getAllModules "${PLATFORM}" "${KVER}")
|
||||||
|
fi
|
||||||
DIRTY=1
|
DIRTY=1
|
||||||
dialog --backtitle "`backtitle`" --title "Update Modules" --aspect 18 \
|
dialog --backtitle "`backtitle`" --title "Update Modules" --aspect 18 \
|
||||||
--msgbox "Modules updated with success!" 0 0
|
--msgbox "Modules updated with success!" 0 0
|
||||||
@@ -1150,8 +1147,9 @@ function updateMenu() {
|
|||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
if [ "x$1" = "xb" -a -n "${MODEL}" -a -n "${BUILD}" -a loaderIsConfigured ]; then
|
if [ "x$1" = "xb" -a -n "${MODEL}" -a -n "${BUILD}" -a loaderIsConfigured ]; then
|
||||||
|
install-addons.sh
|
||||||
make
|
make
|
||||||
boot
|
boot && exit 0 || sleep 5
|
||||||
fi
|
fi
|
||||||
# Main loop
|
# Main loop
|
||||||
NEXT="m"
|
NEXT="m"
|
||||||
@@ -1195,7 +1193,7 @@ while true; do
|
|||||||
i) synoinfoMenu; NEXT="v" ;;
|
i) synoinfoMenu; NEXT="v" ;;
|
||||||
v) advancedMenu; NEXT="d" ;;
|
v) advancedMenu; NEXT="d" ;;
|
||||||
d) make; NEXT="b" ;;
|
d) make; NEXT="b" ;;
|
||||||
b) boot ;;
|
b) boot && exit 0 || sleep 5 ;;
|
||||||
k) keymapMenu ;;
|
k) keymapMenu ;;
|
||||||
c) dialog --backtitle "`backtitle`" --title "Cleaning" --aspect 18 \
|
c) dialog --backtitle "`backtitle`" --title "Cleaning" --aspect 18 \
|
||||||
--prgbox "rm -rfv \"${CACHE_PATH}/dl\"" 0 0 ;;
|
--prgbox "rm -rfv \"${CACHE_PATH}/dl\"" 0 0 ;;
|
||||||
@@ -1205,4 +1203,3 @@ while true; do
|
|||||||
done
|
done
|
||||||
clear
|
clear
|
||||||
echo -e "Call \033[1;32mmenu.sh\033[0m to return to menu"
|
echo -e "Call \033[1;32mmenu.sh\033[0m to return to menu"
|
||||||
|
|
||||||
|
|||||||
@@ -6,6 +6,8 @@ synoinfo: &synoinfo
|
|||||||
rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||||
rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||||
rss_server_v2: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.json"
|
rss_server_v2: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.json"
|
||||||
|
support_syno_hybrid_raid:
|
||||||
|
supportraidgroup:
|
||||||
cmdline: &cmdline
|
cmdline: &cmdline
|
||||||
intel_iommu: igfx_off
|
intel_iommu: igfx_off
|
||||||
HddEnableDynamicPower: 1
|
HddEnableDynamicPower: 1
|
||||||
@@ -36,10 +38,10 @@ builds:
|
|||||||
<<: *synoinfo
|
<<: *synoinfo
|
||||||
pat:
|
pat:
|
||||||
url: "https://global.download.synology.com/download/DSM/release/7.0.1/42218/DSM_DS1520%2B_42218.pat"
|
url: "https://global.download.synology.com/download/DSM/release/7.0.1/42218/DSM_DS1520%2B_42218.pat"
|
||||||
hash: "06947c58f25bd591f7fa3c58ad9473777481bdd7a049b42d1cb585ca01b053ee"
|
hash: "b8864e2becd8ce5a6083db993564c8c0b982df8300a006b56695a0495a670aa3"
|
||||||
ramdisk-hash: "f0a275587c51acdb4d58a7f0d82d70f31e54228d0fbf7575d5d425dae75d1969"
|
ramdisk-hash: "7679ab11e895302425533c64e0dded211b38b8af71f2dd268c47a68bc9f6818a"
|
||||||
zimage-hash: "74d513aaa3e30d8aa4f80e202d94a68a552e9c0472f8470e133ad29080556f55"
|
zimage-hash: "70e93678f3932c35c5e884f950e50b36f8dc6366f96dd9a454c8d47ecbaee5de"
|
||||||
md5-hash: "f56200a8be1aed4eb287a51b373adb1f"
|
md5-hash: "d1ebc3c9a2b9e04980a85c4784904f91"
|
||||||
patch:
|
patch:
|
||||||
- "ramdisk-common-disable-root-pwd.patch"
|
- "ramdisk-common-disable-root-pwd.patch"
|
||||||
- "ramdisk-common-init-script.patch"
|
- "ramdisk-common-init-script.patch"
|
||||||
|
|||||||
@@ -6,12 +6,13 @@ synoinfo: &synoinfo
|
|||||||
rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||||
rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||||
rss_server_v2: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.json"
|
rss_server_v2: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.json"
|
||||||
|
support_syno_hybrid_raid:
|
||||||
|
supportraidgroup:
|
||||||
cmdline: &cmdline
|
cmdline: &cmdline
|
||||||
SMBusHddDynamicPower: 1
|
SMBusHddDynamicPower: 1
|
||||||
syno_hdd_powerup_seq: 0
|
syno_hdd_powerup_seq: 0
|
||||||
HddHotplug: 0
|
HddHotplug: 0
|
||||||
vender_format_version: 2
|
vender_format_version: 2
|
||||||
syno_port_thaw: 1
|
|
||||||
syno_hdd_detect: 0
|
syno_hdd_detect: 0
|
||||||
synoboot2:
|
synoboot2:
|
||||||
syno_ttyS0: "serial,0x3f8"
|
syno_ttyS0: "serial,0x3f8"
|
||||||
@@ -38,10 +39,10 @@ builds:
|
|||||||
<<: *synoinfo
|
<<: *synoinfo
|
||||||
pat:
|
pat:
|
||||||
url: "https://global.download.synology.com/download/DSM/release/7.0.1/42218/DSM_DS1621%2B_42218.pat"
|
url: "https://global.download.synology.com/download/DSM/release/7.0.1/42218/DSM_DS1621%2B_42218.pat"
|
||||||
hash: "19f56827ba8bf0397d42cd1d6f83c447f092c2c1bbb70d8a2ad3fbd427e866df"
|
hash: "396144fdcd94d441b4ad665099395cf24a14606742bee9438745ea30bf12b9ef"
|
||||||
ramdisk-hash: "73512c7bceb34cf7f7f93c2703db60496da0e27274fc45e5aefa0366c9734d6e"
|
ramdisk-hash: "127a12bab3835cdf5af4e7ad2a23e78f889408302c55e5052080671cff6da5b7"
|
||||||
zimage-hash: "f4648d0dd6b29ef6149b0ff46afe1fe32f81730aa79af72f37ffd3647c76f586"
|
zimage-hash: "0ab3bf0ff027fb94863ef8822df787194f2d21079ecc66c0b0d4e46d24598855"
|
||||||
md5-hash: "f82cbabbfef3fdf2cba45da77d14959b"
|
md5-hash: "1fd1d6e733bb096f418f68e06f81022e"
|
||||||
patch:
|
patch:
|
||||||
- "ramdisk-common-disable-root-pwd.patch"
|
- "ramdisk-common-disable-root-pwd.patch"
|
||||||
- "ramdisk-common-init-script.patch"
|
- "ramdisk-common-init-script.patch"
|
||||||
|
|||||||
@@ -2,16 +2,16 @@ id: "DS2422+"
|
|||||||
synoinfo: &synoinfo
|
synoinfo: &synoinfo
|
||||||
support_disk_compatibility: "no"
|
support_disk_compatibility: "no"
|
||||||
support_memory_compatibility: "no"
|
support_memory_compatibility: "no"
|
||||||
supportraidgroup: "no"
|
|
||||||
supportssdcache: "no"
|
supportssdcache: "no"
|
||||||
support_led_brightness_adjustment: "no"
|
support_led_brightness_adjustment: "no"
|
||||||
rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||||
rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||||
rss_server_v2: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.json"
|
rss_server_v2: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.json"
|
||||||
|
support_syno_hybrid_raid:
|
||||||
|
supportraidgroup:
|
||||||
cmdline: &cmdline
|
cmdline: &cmdline
|
||||||
SMBusHddDynamicPower: 1
|
SMBusHddDynamicPower: 1
|
||||||
vender_format_version: 2
|
vender_format_version: 2
|
||||||
syno_port_thaw: 1
|
|
||||||
syno_hdd_detect: 0
|
syno_hdd_detect: 0
|
||||||
synoboot2:
|
synoboot2:
|
||||||
syno_ttyS0: "serial,0x3f8"
|
syno_ttyS0: "serial,0x3f8"
|
||||||
@@ -39,10 +39,10 @@ builds:
|
|||||||
<<: *synoinfo
|
<<: *synoinfo
|
||||||
pat:
|
pat:
|
||||||
url: "https://global.download.synology.com/download/DSM/release/7.0.1/42218/DSM_DS2422%2B_42218.pat"
|
url: "https://global.download.synology.com/download/DSM/release/7.0.1/42218/DSM_DS2422%2B_42218.pat"
|
||||||
hash: "415c54934d483a2557500bc3a2e74588a0cec1266e1f0d9a82a7d3aace002471"
|
hash: "5a6cfbc690facdfaef9fbcc55215eac38c73ca6a85965a910af11cede5e2cd5d"
|
||||||
ramdisk-hash: "2b5b8dd90b2e6020ffccc2719d8bc16d9935421754a8c088d6b31dbca4e4ff7b"
|
ramdisk-hash: "57bcadf9699252aa68dac40b5c48f362169b51fda9f77a7f1b51e3336a551f8f"
|
||||||
zimage-hash: "38281a90036fffcb41cd17f05a6c7e9a1d5740a78c135980fb0c3a6d0ca1485f"
|
zimage-hash: "e083a8aec10537582ed0dd6d79bc358d9aff828b3e256996ef1e4f4bf418dd5d"
|
||||||
md5-hash: "9293156f98e642c181aed63b0b3df4c8"
|
md5-hash: "7fe3c9ae80396a2ea9ed9909b8746c4b"
|
||||||
patch:
|
patch:
|
||||||
- "ramdisk-common-disable-root-pwd.patch"
|
- "ramdisk-common-disable-root-pwd.patch"
|
||||||
- "ramdisk-common-init-script.patch"
|
- "ramdisk-common-init-script.patch"
|
||||||
|
|||||||
@@ -2,18 +2,18 @@ id: "DS3615xs"
|
|||||||
synoinfo: &synoinfo
|
synoinfo: &synoinfo
|
||||||
support_disk_compatibility: "no"
|
support_disk_compatibility: "no"
|
||||||
support_memory_compatibility: "no"
|
support_memory_compatibility: "no"
|
||||||
supportraidgroup: "no"
|
|
||||||
supportssdcache: "no"
|
supportssdcache: "no"
|
||||||
esataportcfg: "0x0"
|
esataportcfg: "0x0"
|
||||||
usbportcfg: "0x8700"
|
usbportcfg: "0x8700"
|
||||||
support_led_brightness_adjustment: "no"
|
support_led_brightness_adjustment: "no"
|
||||||
rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||||
rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||||
|
support_syno_hybrid_raid:
|
||||||
|
supportraidgroup:
|
||||||
cmdline: &cmdline
|
cmdline: &cmdline
|
||||||
syno_hdd_powerup_seq: 0
|
syno_hdd_powerup_seq: 0
|
||||||
HddHotplug: 0
|
HddHotplug: 0
|
||||||
vender_format_version: 2
|
vender_format_version: 2
|
||||||
syno_port_thaw: 1
|
|
||||||
syno_hdd_detect: 0
|
syno_hdd_detect: 0
|
||||||
elevator: elevator
|
elevator: elevator
|
||||||
platform: "bromolow"
|
platform: "bromolow"
|
||||||
@@ -39,10 +39,10 @@ builds:
|
|||||||
<<: *synoinfo
|
<<: *synoinfo
|
||||||
pat:
|
pat:
|
||||||
url: "https://global.download.synology.com/download/DSM/release/7.0.1/42218/DSM_DS3615xs_42218.pat"
|
url: "https://global.download.synology.com/download/DSM/release/7.0.1/42218/DSM_DS3615xs_42218.pat"
|
||||||
hash: "dddd26891815ddca02d0d53c1d42e8b39058b398a4cc7b49b80c99f851cf0ef7"
|
hash: "ae1aca3b178a00689b93e97cca680b56af3f453174b852e0047496120dee2ee3"
|
||||||
ramdisk-hash: "4c90c3c7ee25b5fcc651552e80a9364d22823c863c834c5f43e3344a3a68af78"
|
ramdisk-hash: "3a8c2fe60142d3eb3a7ed2381819faa1db2cda30ff163288dd0a6c85a25815c1"
|
||||||
zimage-hash: "d29b695612710376734cb5c5b5ae4f2d8afc49ffd640387e1c86010f6c7d2c8a"
|
zimage-hash: "354f0bb13c898a7b24f2942d8015f591f7acce1739e2060580c0f38c41addaf7"
|
||||||
md5-hash: "ea1c30f644bacae2e0b1ef914bc663db"
|
md5-hash: "9f959ec4d16d5d7729374961fc2b9bed"
|
||||||
patch:
|
patch:
|
||||||
- "ramdisk-common-disable-root-pwd.patch"
|
- "ramdisk-common-disable-root-pwd.patch"
|
||||||
- "ramdisk-common-init-script.patch"
|
- "ramdisk-common-init-script.patch"
|
||||||
|
|||||||
@@ -2,18 +2,18 @@ id: "DS3617xs"
|
|||||||
synoinfo: &synoinfo
|
synoinfo: &synoinfo
|
||||||
support_disk_compatibility: "no"
|
support_disk_compatibility: "no"
|
||||||
support_memory_compatibility: "no"
|
support_memory_compatibility: "no"
|
||||||
supportraidgroup: "no"
|
|
||||||
supportssdcache: "no"
|
supportssdcache: "no"
|
||||||
esataportcfg: "0x00"
|
esataportcfg: "0x00"
|
||||||
usbportcfg: "0x8700"
|
usbportcfg: "0x8700"
|
||||||
support_led_brightness_adjustment: "no"
|
support_led_brightness_adjustment: "no"
|
||||||
rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||||
rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||||
|
support_syno_hybrid_raid:
|
||||||
|
supportraidgroup:
|
||||||
cmdline: &cmdline
|
cmdline: &cmdline
|
||||||
syno_hdd_powerup_seq: 0
|
syno_hdd_powerup_seq: 0
|
||||||
HddHotplug: 0
|
HddHotplug: 0
|
||||||
vender_format_version: 2
|
vender_format_version: 2
|
||||||
syno_port_thaw: 1
|
|
||||||
syno_hdd_detect: 0
|
syno_hdd_detect: 0
|
||||||
elevator: elevator
|
elevator: elevator
|
||||||
platform: "broadwell"
|
platform: "broadwell"
|
||||||
@@ -39,10 +39,10 @@ builds:
|
|||||||
<<: *synoinfo
|
<<: *synoinfo
|
||||||
pat:
|
pat:
|
||||||
url: "https://global.download.synology.com/download/DSM/release/7.0.1/42218/DSM_DS3617xs_42218.pat"
|
url: "https://global.download.synology.com/download/DSM/release/7.0.1/42218/DSM_DS3617xs_42218.pat"
|
||||||
hash: "d65ee4ed5971e38f6cdab00e1548183435b53ba49a5dca7eaed6f56be939dcd2"
|
hash: "f7e846e2a22b62613ac5e9d6e154df0213ba4ae64a6556297af627cd1e643e5c"
|
||||||
ramdisk-hash: "1b2e86fbf4006f6aa40dcd674ad449feed8b0b8317a71e2bb8bb986a74e08c57"
|
ramdisk-hash: "eaddd97c40a35bbcf4092417364ca4376925fb3eb322cad0cf602d4c7973d147"
|
||||||
zimage-hash: "28a75e0b680517d39374260eb981b8ca9ace8810b121a30b8036fa09cfcb77fc"
|
zimage-hash: "8e0ab965c85b348dfc9dc17392b9cf0a117756f1d1bc4c0f0d19bb610350659d"
|
||||||
md5-hash: "8972088c38acd07aa92a8b573a1b7bc3"
|
md5-hash: "b7d85926561ff125928b68e7fffa646b"
|
||||||
patch:
|
patch:
|
||||||
- "ramdisk-common-disable-root-pwd.patch"
|
- "ramdisk-common-disable-root-pwd.patch"
|
||||||
- "ramdisk-common-init-script.patch"
|
- "ramdisk-common-init-script.patch"
|
||||||
|
|||||||
@@ -2,7 +2,6 @@ id: "DS3622xs+"
|
|||||||
synoinfo: &synoinfo
|
synoinfo: &synoinfo
|
||||||
support_disk_compatibility: "no"
|
support_disk_compatibility: "no"
|
||||||
support_memory_compatibility: "no"
|
support_memory_compatibility: "no"
|
||||||
supportraidgroup: "no"
|
|
||||||
esataportcfg: "0x00"
|
esataportcfg: "0x00"
|
||||||
support_bde_internal_10g: "no"
|
support_bde_internal_10g: "no"
|
||||||
support_oob_ctl: "no"
|
support_oob_ctl: "no"
|
||||||
@@ -10,11 +9,12 @@ synoinfo: &synoinfo
|
|||||||
rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml" # http://update7.synology.com/autoupdate/genRSS.php
|
rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml" # http://update7.synology.com/autoupdate/genRSS.php
|
||||||
rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml" # https://update7.synology.com/autoupdate/genRSS.php
|
rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml" # https://update7.synology.com/autoupdate/genRSS.php
|
||||||
rss_server_v2: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.json" # https://update7.synology.com/autoupdate/v2/getList
|
rss_server_v2: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.json" # https://update7.synology.com/autoupdate/v2/getList
|
||||||
|
support_syno_hybrid_raid:
|
||||||
|
supportraidgroup:
|
||||||
cmdline: &cmdline
|
cmdline: &cmdline
|
||||||
syno_hdd_powerup_seq: 0
|
syno_hdd_powerup_seq: 0
|
||||||
HddHotplug: 0
|
HddHotplug: 0
|
||||||
vender_format_version: 2
|
vender_format_version: 2
|
||||||
syno_port_thaw: 1
|
|
||||||
syno_hdd_detect: 0
|
syno_hdd_detect: 0
|
||||||
elevator: elevator
|
elevator: elevator
|
||||||
platform: "broadwellnk"
|
platform: "broadwellnk"
|
||||||
@@ -40,10 +40,10 @@ builds:
|
|||||||
<<: *synoinfo
|
<<: *synoinfo
|
||||||
pat:
|
pat:
|
||||||
url: "https://global.download.synology.com/download/DSM/release/7.0.1/42218/DSM_DS3622xs%2B_42218.pat"
|
url: "https://global.download.synology.com/download/DSM/release/7.0.1/42218/DSM_DS3622xs%2B_42218.pat"
|
||||||
hash: "f38329b8cdc5824a8f01fb1e377d3b1b6bd23da365142a01e2158beff5b8a424"
|
hash: "a222d37f369d71042057ccb592f40c7c81e9b988a95d69fa166c7c2a611da99c"
|
||||||
ramdisk-hash: "a95d4ab06189460f3b3d13a33e421887b5f3ea09a10535ae0d4c92beb7ff631d"
|
ramdisk-hash: "11ebadba5d831ad6f31258ab317ed1f7cbfe18243413f9f81291b894b5f7a591"
|
||||||
zimage-hash: "06964b68e5ccdedd4363dff3986f99686d3c9cb5225e8e4c3d840a1d9cd1330b"
|
zimage-hash: "d6059bcd7160ed1f775a9323599ac8860b60ada32f0a4f3e5ca166c15a17784e"
|
||||||
md5-hash: "bc0235e45a8423f4c46dc0d9699759b5"
|
md5-hash: "b9b452577b38adc82aca42e031be267b"
|
||||||
patch:
|
patch:
|
||||||
- "ramdisk-common-disable-root-pwd.patch"
|
- "ramdisk-common-disable-root-pwd.patch"
|
||||||
- "ramdisk-common-init-script.patch"
|
- "ramdisk-common-init-script.patch"
|
||||||
|
|||||||
@@ -9,12 +9,13 @@ synoinfo: &synoinfo
|
|||||||
rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||||
rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||||
rss_server_v2: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.json"
|
rss_server_v2: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.json"
|
||||||
#support_ssd_cache: yes
|
#support_ssd_cache: "yes"
|
||||||
|
support_syno_hybrid_raid:
|
||||||
|
supportraidgroup:
|
||||||
cmdline: &cmdline
|
cmdline: &cmdline
|
||||||
syno_hdd_powerup_seq: 0
|
syno_hdd_powerup_seq: 0
|
||||||
HddHotplug: 0
|
HddHotplug: 0
|
||||||
vender_format_version: 2
|
vender_format_version: 2
|
||||||
syno_port_thaw: 1
|
|
||||||
syno_hdd_detect: 0
|
syno_hdd_detect: 0
|
||||||
elevator: elevator
|
elevator: elevator
|
||||||
platform: "apollolake"
|
platform: "apollolake"
|
||||||
@@ -30,7 +31,7 @@ serial:
|
|||||||
suffix: "numeric"
|
suffix: "numeric"
|
||||||
disks: 4
|
disks: 4
|
||||||
flags:
|
flags:
|
||||||
- "fma"
|
- "movbe"
|
||||||
builds:
|
builds:
|
||||||
42218:
|
42218:
|
||||||
ver: "7.0.1"
|
ver: "7.0.1"
|
||||||
@@ -42,10 +43,10 @@ builds:
|
|||||||
<<: *synoinfo
|
<<: *synoinfo
|
||||||
pat:
|
pat:
|
||||||
url: "https://global.download.synology.com/download/DSM/release/7.0.1/42218/DSM_DS918%2B_42218.pat"
|
url: "https://global.download.synology.com/download/DSM/release/7.0.1/42218/DSM_DS918%2B_42218.pat"
|
||||||
hash: "a403809ab2cd476c944fdfa18cae2c2833e4af36230fa63f0cdee31a92bebba2"
|
hash: "a662d11999c266dfa86c54f7ba01045c6644c191124195a22d056d618790dffe"
|
||||||
ramdisk-hash: "4b7a7a271a3b2158d9193a4f0e75c59590949ad7b4e26d546f46cc2ee8504d51"
|
ramdisk-hash: "d27320b536da0ac82d7959e0492180b3a25ef78a3997f65cc4ccddc426b921bd"
|
||||||
zimage-hash: "338ba514066da01d0c1f770418916b9b96f5355d88a7b55b398d2726db591fdb"
|
zimage-hash: "7311b04f7462847f529cf966c7b332097354692485c8157643d89441e2a81cd0"
|
||||||
md5-hash: "71c028f92497e4722998e4208fe75774"
|
md5-hash: "0c8a0d2dc6f1d7e37ee63d74760808b8"
|
||||||
patch:
|
patch:
|
||||||
- "ramdisk-common-disable-root-pwd.patch"
|
- "ramdisk-common-disable-root-pwd.patch"
|
||||||
- "ramdisk-common-init-script.patch"
|
- "ramdisk-common-init-script.patch"
|
||||||
|
|||||||
@@ -6,6 +6,8 @@ synoinfo: &synoinfo
|
|||||||
rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||||
rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||||
rss_server_v2: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.json"
|
rss_server_v2: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.json"
|
||||||
|
support_syno_hybrid_raid:
|
||||||
|
supportraidgroup:
|
||||||
cmdline: &cmdline
|
cmdline: &cmdline
|
||||||
intel_iommu: "igfx_off"
|
intel_iommu: "igfx_off"
|
||||||
HddEnableDynamicPower: 1
|
HddEnableDynamicPower: 1
|
||||||
@@ -38,10 +40,10 @@ builds:
|
|||||||
<<: *synoinfo
|
<<: *synoinfo
|
||||||
pat:
|
pat:
|
||||||
url: "https://global.download.synology.com/download/DSM/release/7.0.1/42218/DSM_DS920%2B_42218.pat"
|
url: "https://global.download.synology.com/download/DSM/release/7.0.1/42218/DSM_DS920%2B_42218.pat"
|
||||||
hash: "fe2a4648f76adeb65c3230632503ea36bbac64ee88b459eb9bfb5f3b8c8cebb3"
|
hash: "b9b77846e0983f50496276bec6bcdfcfadd4c1f9f0db8ed2ca5766f131ddf97f"
|
||||||
ramdisk-hash: "f7dd1317f24ec6b9bac839e37f66b59030218c7f97c06f73f1f54ed0f892c4aa"
|
ramdisk-hash: "8607c34fff3a13c75dbc1a9c730de2b2cf649697d6244fd37047090d2e2ba897"
|
||||||
zimage-hash: "346b68f662b50f47d3ee6c2bc9de6302e4b60436142c24ee88b620c7afd1ba06"
|
zimage-hash: "70e93678f3932c35c5e884f950e50b36f8dc6366f96dd9a454c8d47ecbaee5de"
|
||||||
md5-hash: "7764ad4fca0a11ae0ebd7ccd4a49e1aa"
|
md5-hash: "55a7e4ccbf6fcba9238a11976a4a7381"
|
||||||
patch:
|
patch:
|
||||||
- "ramdisk-common-disable-root-pwd.patch"
|
- "ramdisk-common-disable-root-pwd.patch"
|
||||||
- "ramdisk-common-init-script.patch"
|
- "ramdisk-common-init-script.patch"
|
||||||
|
|||||||
@@ -6,6 +6,8 @@ synoinfo: &synoinfo
|
|||||||
rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||||
rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||||
rss_server_v2: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.json"
|
rss_server_v2: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.json"
|
||||||
|
support_syno_hybrid_raid:
|
||||||
|
supportraidgroup:
|
||||||
cmdline: &cmdline
|
cmdline: &cmdline
|
||||||
SMBusHddDynamicPower: 1
|
SMBusHddDynamicPower: 1
|
||||||
synoboot2:
|
synoboot2:
|
||||||
@@ -20,10 +22,7 @@ dom: 2
|
|||||||
dt: true
|
dt: true
|
||||||
serial:
|
serial:
|
||||||
prefix:
|
prefix:
|
||||||
- "2030"
|
- "2270"
|
||||||
- "2040"
|
|
||||||
- "20C0"
|
|
||||||
- "2150"
|
|
||||||
middle: "TQR"
|
middle: "TQR"
|
||||||
suffix: "alpha"
|
suffix: "alpha"
|
||||||
disks: 4
|
disks: 4
|
||||||
|
|||||||
@@ -7,11 +7,12 @@ synoinfo: &synoinfo
|
|||||||
rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||||
rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||||
rss_server_v2: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.json"
|
rss_server_v2: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.json"
|
||||||
|
support_syno_hybrid_raid:
|
||||||
|
supportraidgroup:
|
||||||
cmdline: &cmdline
|
cmdline: &cmdline
|
||||||
intel_iommu: "igfx_off"
|
intel_iommu: "igfx_off"
|
||||||
HddEnableDynamicPower: 1
|
HddEnableDynamicPower: 1
|
||||||
vender_format_version: 2
|
vender_format_version: 2
|
||||||
syno_port_thaw: 1
|
|
||||||
synoboot2:
|
synoboot2:
|
||||||
syno_ttyS0: "serial,0x3f8"
|
syno_ttyS0: "serial,0x3f8"
|
||||||
syno_ttyS1: "serial,0x2f8"
|
syno_ttyS1: "serial,0x2f8"
|
||||||
|
|||||||
@@ -4,17 +4,17 @@ synoinfo: &synoinfo
|
|||||||
support_memory_compatibility: "no"
|
support_memory_compatibility: "no"
|
||||||
esataportcfg: "0x00"
|
esataportcfg: "0x00"
|
||||||
support_bde_internal_10g: "no"
|
support_bde_internal_10g: "no"
|
||||||
supportraidgroup: "no"
|
|
||||||
support_syno_hybrid_raid: "yes"
|
|
||||||
support_led_brightness_adjustment: "no"
|
support_led_brightness_adjustment: "no"
|
||||||
rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||||
rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||||
rss_server_v2: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.json"
|
rss_server_v2: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.json"
|
||||||
|
support_syno_hybrid_raid:
|
||||||
|
supportraidgroup:
|
||||||
|
supportnvme: "yes"
|
||||||
cmdline: &cmdline
|
cmdline: &cmdline
|
||||||
syno_hdd_powerup_seq: 0
|
syno_hdd_powerup_seq: 0
|
||||||
HddHotplug: 0
|
HddHotplug: 0
|
||||||
vender_format_version: 2
|
vender_format_version: 2
|
||||||
syno_port_thaw: 1
|
|
||||||
syno_hdd_detect: 0
|
syno_hdd_detect: 0
|
||||||
elevator: elevator
|
elevator: elevator
|
||||||
platform: "denverton"
|
platform: "denverton"
|
||||||
@@ -28,7 +28,7 @@ serial:
|
|||||||
middle: "RFR"
|
middle: "RFR"
|
||||||
suffix: "alpha"
|
suffix: "alpha"
|
||||||
flags:
|
flags:
|
||||||
- "fma"
|
- "movbe"
|
||||||
disks: 4
|
disks: 4
|
||||||
builds:
|
builds:
|
||||||
42218:
|
42218:
|
||||||
@@ -41,10 +41,10 @@ builds:
|
|||||||
<<: *synoinfo
|
<<: *synoinfo
|
||||||
pat:
|
pat:
|
||||||
url: "https://global.download.synology.com/download/DSM/release/7.0.1/42218/DSM_DVA3219_42218.pat"
|
url: "https://global.download.synology.com/download/DSM/release/7.0.1/42218/DSM_DVA3219_42218.pat"
|
||||||
hash: "3557df23ff6af9bbb0cf46872ba2fc09c344eb303a38e8283dbc9a46e5eae979"
|
hash: "b3498a20aeb7c7c36deca0f4393172d4db7b51aa4fb87eaace83fe224d935e3b"
|
||||||
ramdisk-hash: "6820f900bf2870660541b83f9741a0b70e05e8871bc41c006c9d688105c97f7c"
|
ramdisk-hash: "5b301519fe08200e4cb368b7d23e4ce460d5412428126b9496084ceae3f6d67e"
|
||||||
zimage-hash: "ef97f2d64f3f7f8c5e3f4e8fee613d385d7888826f56e119f1885a722c95c7cc"
|
zimage-hash: "8b58e602317286bdd25481c4927a791507589ce0b7c29f1ad394d08b634d41a3"
|
||||||
md5-hash: "40917aaf18d069f862f9536ac5504385"
|
md5-hash: "4345e7cff9ba4fe97793c254c87b3ed5"
|
||||||
patch:
|
patch:
|
||||||
- "ramdisk-common-disable-root-pwd.patch"
|
- "ramdisk-common-disable-root-pwd.patch"
|
||||||
- "ramdisk-common-init-script.patch"
|
- "ramdisk-common-init-script.patch"
|
||||||
|
|||||||
@@ -1,18 +1,20 @@
|
|||||||
id: "DVA3221"
|
id: "DVA3221"
|
||||||
synoinfo: &synoinfo
|
synoinfo: &synoinfo
|
||||||
support_disk_compatibility: "no"
|
support_disk_compatibility: "no"
|
||||||
support_memory_compatibility: "no"
|
support_memory_compatibility: "yes"
|
||||||
esataportcfg: "0x00"
|
esataportcfg: "0x00"
|
||||||
support_bde_internal_10g: "no"
|
support_bde_internal_10g: "no"
|
||||||
support_led_brightness_adjustment: "no"
|
support_led_brightness_adjustment: "no"
|
||||||
rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||||
rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||||
rss_server_v2: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.json"
|
rss_server_v2: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.json"
|
||||||
|
support_syno_hybrid_raid:
|
||||||
|
supportraidgroup:
|
||||||
|
supportnvme: "yes"
|
||||||
cmdline: &cmdline
|
cmdline: &cmdline
|
||||||
syno_hdd_powerup_seq: 0
|
syno_hdd_powerup_seq: 0
|
||||||
HddHotplug: 0
|
HddHotplug: 0
|
||||||
vender_format_version: 2
|
vender_format_version: 2
|
||||||
syno_port_thaw: 1
|
|
||||||
syno_hdd_detect: 0
|
syno_hdd_detect: 0
|
||||||
elevator: elevator
|
elevator: elevator
|
||||||
platform: "denverton"
|
platform: "denverton"
|
||||||
@@ -27,7 +29,7 @@ serial:
|
|||||||
middle: "SJR"
|
middle: "SJR"
|
||||||
suffix: "alpha"
|
suffix: "alpha"
|
||||||
flags:
|
flags:
|
||||||
- "fma"
|
- "movbe"
|
||||||
disks: 4
|
disks: 4
|
||||||
builds:
|
builds:
|
||||||
42218:
|
42218:
|
||||||
@@ -40,10 +42,10 @@ builds:
|
|||||||
<<: *synoinfo
|
<<: *synoinfo
|
||||||
pat:
|
pat:
|
||||||
url: "https://global.download.synology.com/download/DSM/release/7.0.1/42218/DSM_DVA3221_42218.pat"
|
url: "https://global.download.synology.com/download/DSM/release/7.0.1/42218/DSM_DVA3221_42218.pat"
|
||||||
hash: "01f101d7b310c857e54b0177068fb7250ff722dc9fa2472b1a48607ba40897ee"
|
hash: "6722c73c51070dde2f542659d7728c497fc846256da2c9cf017177476de0bb09"
|
||||||
ramdisk-hash: "0825958923a5e67d967389769cff5fb7a04a25b98a2826c4c1e8aa7b8146dc8b"
|
ramdisk-hash: "86a7450cdc461049c4cefe3fe3a1f9d241ea3c484f72f5667d7cd27f2842c8d6"
|
||||||
zimage-hash: "ef97f2d64f3f7f8c5e3f4e8fee613d385d7888826f56e119f1885a722c95c7cc"
|
zimage-hash: "8b58e602317286bdd25481c4927a791507589ce0b7c29f1ad394d08b634d41a3"
|
||||||
md5-hash: "b8bd6562290d06dd3a7360f3af330bec"
|
md5-hash: "e3455afd4644cb882cb2c9bede08c7bf"
|
||||||
patch:
|
patch:
|
||||||
- "ramdisk-common-disable-root-pwd.patch"
|
- "ramdisk-common-disable-root-pwd.patch"
|
||||||
- "ramdisk-common-init-script.patch"
|
- "ramdisk-common-init-script.patch"
|
||||||
|
|||||||
@@ -6,6 +6,8 @@ synoinfo: &synoinfo
|
|||||||
rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||||
rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||||
rss_server_v2: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.json"
|
rss_server_v2: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.json"
|
||||||
|
support_syno_hybrid_raid:
|
||||||
|
supportraidgroup:
|
||||||
cmdline: &cmdline
|
cmdline: &cmdline
|
||||||
intel_iommu: igfx_off
|
intel_iommu: igfx_off
|
||||||
SMBusHddDynamicPower: 1
|
SMBusHddDynamicPower: 1
|
||||||
@@ -36,10 +38,10 @@ builds:
|
|||||||
<<: *synoinfo
|
<<: *synoinfo
|
||||||
pat:
|
pat:
|
||||||
url: "https://global.download.synology.com/download/DSM/release/7.0.1/42218/DSM_FS2500_42218.pat"
|
url: "https://global.download.synology.com/download/DSM/release/7.0.1/42218/DSM_FS2500_42218.pat"
|
||||||
hash: "4d060be8afec548fdb042bc8095524f10ff200033cab74df37ae07f3de5eaa69"
|
hash: "3fbd5defbc0fef0d152494033f3e817c330525b70e356a9e9acd2b72d9806b59"
|
||||||
ramdisk-hash: "cbe9099c57f23ba53415574b011580218fa55a0bdb83c4e4bba9e27100e5379d"
|
ramdisk-hash: "8d66ddfa947b38c0e407d4c5efd7558b1a9392e04fd83fe9f162e1aa546f8da8"
|
||||||
zimage-hash: "f6816165a52b1f53ce44a45878fe06641da34e9478947f826a236c1a6548f8fd"
|
zimage-hash: "e083a8aec10537582ed0dd6d79bc358d9aff828b3e256996ef1e4f4bf418dd5d"
|
||||||
md5-hash: "70550293c612c1fd9a8d1b7485173877"
|
md5-hash: "9562d49a07f5481208b672ff777f3cbf"
|
||||||
patch:
|
patch:
|
||||||
- "ramdisk-common-disable-root-pwd.patch"
|
- "ramdisk-common-disable-root-pwd.patch"
|
||||||
- "ramdisk-common-init-script.patch"
|
- "ramdisk-common-init-script.patch"
|
||||||
|
|||||||
@@ -5,16 +5,15 @@ synoinfo: &synoinfo
|
|||||||
support_bde_internal_10g: "no"
|
support_bde_internal_10g: "no"
|
||||||
esataportcfg: "0x0"
|
esataportcfg: "0x0"
|
||||||
support_led_brightness_adjustment: "no"
|
support_led_brightness_adjustment: "no"
|
||||||
support_syno_hybrid_raid: "yes"
|
|
||||||
supportraidgroup: "no"
|
|
||||||
rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||||
rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||||
rss_server_v2: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.json"
|
rss_server_v2: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.json"
|
||||||
|
support_syno_hybrid_raid:
|
||||||
|
supportraidgroup:
|
||||||
cmdline: &cmdline
|
cmdline: &cmdline
|
||||||
syno_hdd_powerup_seq: 0
|
syno_hdd_powerup_seq: 0
|
||||||
HddHotplug: 0
|
HddHotplug: 0
|
||||||
syno_hdd_detect: 0
|
syno_hdd_detect: 0
|
||||||
syno_port_thaw: 1
|
|
||||||
vender_format_version: 2
|
vender_format_version: 2
|
||||||
elevator: elevator
|
elevator: elevator
|
||||||
platform: "broadwellnk"
|
platform: "broadwellnk"
|
||||||
@@ -23,8 +22,8 @@ beta: true
|
|||||||
dom: 2
|
dom: 2
|
||||||
serial:
|
serial:
|
||||||
prefix:
|
prefix:
|
||||||
- "0000"
|
- "2250"
|
||||||
middle: "XXX"
|
middle: "T2R"
|
||||||
suffix: "alpha"
|
suffix: "alpha"
|
||||||
disks: 16
|
disks: 16
|
||||||
dt: false
|
dt: false
|
||||||
@@ -39,7 +38,7 @@ builds:
|
|||||||
<<: *synoinfo
|
<<: *synoinfo
|
||||||
pat:
|
pat:
|
||||||
url: "https://global.download.synology.com/download/DSM/release/7.0.1/42218/DSM_RS4021xs%2B_42218.pat"
|
url: "https://global.download.synology.com/download/DSM/release/7.0.1/42218/DSM_RS4021xs%2B_42218.pat"
|
||||||
hash: "7afca3970ac7324d7431c1484d4249939bedd4c18ac34187f894c43119edf3a1"
|
hash: "2a32266b7bcf0b2582b5afd9e39dc444e7cb40eaf4ccfdbfedf4743af821f11c"
|
||||||
ramdisk-hash: "3aa9d810064747fca6d0a3ab4c979bd82b49fc0d166dfe714261c2a22145cc70"
|
ramdisk-hash: "3aa9d810064747fca6d0a3ab4c979bd82b49fc0d166dfe714261c2a22145cc70"
|
||||||
zimage-hash: "17607e1739c8acc9903272ebd981bccb27b51057cdcb3cc446e5c5149db452d3"
|
zimage-hash: "17607e1739c8acc9903272ebd981bccb27b51057cdcb3cc446e5c5149db452d3"
|
||||||
md5-hash: "46d9eb6aba71dbd61ba0394e575b6d58"
|
md5-hash: "46d9eb6aba71dbd61ba0394e575b6d58"
|
||||||
@@ -61,9 +60,9 @@ builds:
|
|||||||
pat:
|
pat:
|
||||||
url: "https://global.download.synology.com/download/DSM/release/7.1/42661-1/DSM_RS4021xs%2B_42661.pat"
|
url: "https://global.download.synology.com/download/DSM/release/7.1/42661-1/DSM_RS4021xs%2B_42661.pat"
|
||||||
hash: "496b64e431dafa34cdebb92da8ac736bf1610fe157f03df7e6d11152d60991f5"
|
hash: "496b64e431dafa34cdebb92da8ac736bf1610fe157f03df7e6d11152d60991f5"
|
||||||
ramdisk-hash: "143e475fe73c0adb3377361402b4baad21448476e844e55e16d1ed51ffc4c971"
|
ramdisk-hash: "f2b99b4c05559376d34d30d6446c30a8b3f44f516e5a041299d03be9c7fd0095"
|
||||||
zimage-hash: "e073dd84054f652811e0ae1932af2c7cdbd5fb6e5f18f265097072b8af4605e8"
|
zimage-hash: "d6059bcd7160ed1f775a9323599ac8860b60ada32f0a4f3e5ca166c15a17784e"
|
||||||
md5-hash: "ddbbbcf8ccb8d9d345df3e08debc66f6"
|
md5-hash: "cbcb77548de26b6843ab31d7a7258b62"
|
||||||
patch:
|
patch:
|
||||||
- "ramdisk-common-disable-root-pwd.patch"
|
- "ramdisk-common-disable-root-pwd.patch"
|
||||||
- "ramdisk-common-init-script.patch"
|
- "ramdisk-common-init-script.patch"
|
||||||
|
|||||||
@@ -6,6 +6,8 @@ synoinfo: &synoinfo
|
|||||||
rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||||
rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml"
|
||||||
rss_server_v2: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.json"
|
rss_server_v2: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.json"
|
||||||
|
support_syno_hybrid_raid:
|
||||||
|
supportraidgroup:
|
||||||
cmdline: &cmdline
|
cmdline: &cmdline
|
||||||
SMBusHddDynamicPower: 1
|
SMBusHddDynamicPower: 1
|
||||||
synoboot2:
|
synoboot2:
|
||||||
|
|||||||
@@ -32,6 +32,9 @@ MODEL="`readConfigKey "model" "${USER_CONFIG_FILE}"`"
|
|||||||
BUILD="`readConfigKey "build" "${USER_CONFIG_FILE}"`"
|
BUILD="`readConfigKey "build" "${USER_CONFIG_FILE}"`"
|
||||||
LKM="`readConfigKey "lkm" "${USER_CONFIG_FILE}"`"
|
LKM="`readConfigKey "lkm" "${USER_CONFIG_FILE}"`"
|
||||||
SN="`readConfigKey "sn" "${USER_CONFIG_FILE}"`"
|
SN="`readConfigKey "sn" "${USER_CONFIG_FILE}"`"
|
||||||
|
LAYOUT="`readConfigKey "layout" "${USER_CONFIG_FILE}"`"
|
||||||
|
KEYMAP="`readConfigKey "keymap" "${USER_CONFIG_FILE}"`"
|
||||||
|
UNIQUE=`readModelKey "${MODEL}" "unique"`
|
||||||
|
|
||||||
if [ ${BUILD} -ne ${buildnumber} ]; then
|
if [ ${BUILD} -ne ${buildnumber} ]; then
|
||||||
echo -e "\033[A\n\033[1;32mBuild number changed from \033[1;31m${BUILD}\033[1;32m to \033[1;31m${buildnumber}\033[0m"
|
echo -e "\033[A\n\033[1;32mBuild number changed from \033[1;31m${BUILD}\033[1;32m to \033[1;31m${buildnumber}\033[0m"
|
||||||
@@ -55,15 +58,15 @@ declare -A ADDONS
|
|||||||
declare -A USERMODULES
|
declare -A USERMODULES
|
||||||
|
|
||||||
# Read synoinfo and addons from config
|
# Read synoinfo and addons from config
|
||||||
while IFS="=" read KEY VALUE; do
|
while IFS=': ' read KEY VALUE; do
|
||||||
[ -n "${KEY}" ] && SYNOINFO["${KEY}"]="${VALUE}"
|
[ -n "${KEY}" ] && SYNOINFO["${KEY}"]="${VALUE}"
|
||||||
done < <(readConfigMap "synoinfo" "${USER_CONFIG_FILE}")
|
done < <(readConfigMap "synoinfo" "${USER_CONFIG_FILE}")
|
||||||
while IFS="=" read KEY VALUE; do
|
while IFS=': ' read KEY VALUE; do
|
||||||
[ -n "${KEY}" ] && ADDONS["${KEY}"]="${VALUE}"
|
[ -n "${KEY}" ] && ADDONS["${KEY}"]="${VALUE}"
|
||||||
done < <(readConfigMap "addons" "${USER_CONFIG_FILE}")
|
done < <(readConfigMap "addons" "${USER_CONFIG_FILE}")
|
||||||
|
|
||||||
# Read modules from user config
|
# Read modules from user config
|
||||||
while IFS="=" read KEY VALUE; do
|
while IFS=': ' read KEY VALUE; do
|
||||||
[ -n "${KEY}" ] && USERMODULES["${KEY}"]="${VALUE}"
|
[ -n "${KEY}" ] && USERMODULES["${KEY}"]="${VALUE}"
|
||||||
done < <(readConfigMap "modules" "${USER_CONFIG_FILE}")
|
done < <(readConfigMap "modules" "${USER_CONFIG_FILE}")
|
||||||
|
|
||||||
@@ -122,7 +125,7 @@ cp "${PATCH_PATH}/iosched-trampoline.sh" "${RAMDISK_PATH}/usr/sbin/modprobe"
|
|||||||
gzip -dc "${LKM_PATH}/rp-${PLATFORM}-${KVER}-${LKM}.ko.gz" > "${RAMDISK_PATH}/usr/lib/modules/rp.ko"
|
gzip -dc "${LKM_PATH}/rp-${PLATFORM}-${KVER}-${LKM}.ko.gz" > "${RAMDISK_PATH}/usr/lib/modules/rp.ko"
|
||||||
|
|
||||||
# Addons
|
# Addons
|
||||||
MAXDISKS=`readConfigKey "maxdisks" "${USER_CONFIG_FILE}"`
|
#MAXDISKS=`readConfigKey "maxdisks" "${USER_CONFIG_FILE}"`
|
||||||
# Check if model needs Device-tree dynamic patch
|
# Check if model needs Device-tree dynamic patch
|
||||||
DT="`readModelKey "${MODEL}" "dt"`"
|
DT="`readModelKey "${MODEL}" "dt"`"
|
||||||
|
|
||||||
@@ -130,20 +133,20 @@ echo -n "."
|
|||||||
mkdir -p "${RAMDISK_PATH}/addons"
|
mkdir -p "${RAMDISK_PATH}/addons"
|
||||||
echo "#!/bin/sh" > "${RAMDISK_PATH}/addons/addons.sh"
|
echo "#!/bin/sh" > "${RAMDISK_PATH}/addons/addons.sh"
|
||||||
echo 'echo "addons.sh called with params ${@}"' >> "${RAMDISK_PATH}/addons/addons.sh"
|
echo 'echo "addons.sh called with params ${@}"' >> "${RAMDISK_PATH}/addons/addons.sh"
|
||||||
|
echo "export PLATFORM=${PLATFORM}" >> "${RAMDISK_PATH}/addons/addons.sh"
|
||||||
|
echo "export MODEL=${MODEL}" >> "${RAMDISK_PATH}/addons/addons.sh"
|
||||||
|
echo "export BUILD=${BUILD}" >> "${RAMDISK_PATH}/addons/addons.sh"
|
||||||
|
echo "export LAYOUT=${LAYOUT}" >> "${RAMDISK_PATH}/addons/addons.sh"
|
||||||
|
echo "export KEYMAP=${KEYMAP}" >> "${RAMDISK_PATH}/addons/addons.sh"
|
||||||
chmod +x "${RAMDISK_PATH}/addons/addons.sh"
|
chmod +x "${RAMDISK_PATH}/addons/addons.sh"
|
||||||
|
|
||||||
# Required addons: eudev, dtbpatch/maxdisks, powersched
|
# Required addons: eudev, disks, wol
|
||||||
installAddon eudev
|
installAddon eudev
|
||||||
echo "/addons/eudev.sh \${1} " >> "${RAMDISK_PATH}/addons/addons.sh" 2>"${LOG_FILE}" || dieLog
|
echo "/addons/eudev.sh \${1} " >> "${RAMDISK_PATH}/addons/addons.sh" 2>"${LOG_FILE}" || dieLog
|
||||||
if [ "${DT}" = "true" ]; then
|
installAddon disks
|
||||||
installAddon dtbpatch
|
echo "/addons/disks.sh \${1} ${DT} ${UNIQUE}" >> "${RAMDISK_PATH}/addons/addons.sh" 2>"${LOG_FILE}" || dieLog
|
||||||
echo "/addons/dtbpatch.sh \${1} " >> "${RAMDISK_PATH}/addons/addons.sh" 2>"${LOG_FILE}" || dieLog
|
installAddon wol
|
||||||
else
|
echo "/addons/wol.sh \${1} " >> "${RAMDISK_PATH}/addons/addons.sh" 2>"${LOG_FILE}" || dieLog
|
||||||
installAddon maxdisks
|
|
||||||
echo "/addons/maxdisks.sh \${1} ${MAXDISKS}" >> "${RAMDISK_PATH}/addons/addons.sh" 2>"${LOG_FILE}" || dieLog
|
|
||||||
fi
|
|
||||||
installAddon powersched
|
|
||||||
echo "/addons/powersched.sh \${1} " >> "${RAMDISK_PATH}/addons/addons.sh" 2>"${LOG_FILE}" || dieLog
|
|
||||||
# User addons
|
# User addons
|
||||||
for ADDON in ${!ADDONS[@]}; do
|
for ADDON in ${!ADDONS[@]}; do
|
||||||
PARAMS=${ADDONS[${ADDON}]}
|
PARAMS=${ADDONS[${ADDON}]}
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
1.0-beta10
|
1.1-beta2a
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -1,3 +0,0 @@
|
|||||||
search --set=root --label "ARPL1"
|
|
||||||
set prefix=($root)'/grub'
|
|
||||||
configfile $prefix/grub.cfg
|
|
||||||
@@ -14,6 +14,19 @@ insmod ext2
|
|||||||
set default="boot"
|
set default="boot"
|
||||||
set timeout="5"
|
set timeout="5"
|
||||||
set timeout_style="menu"
|
set timeout_style="menu"
|
||||||
|
set vesa_mode=1
|
||||||
|
|
||||||
|
if [ -s $prefix/grubenv ]; then
|
||||||
|
load_env
|
||||||
|
fi
|
||||||
|
if [ "${next_entry}" ]; then
|
||||||
|
set default="${next_entry}"
|
||||||
|
unset next_entry
|
||||||
|
save_env next_entry
|
||||||
|
fi
|
||||||
|
if [ "${vesa_mode}" ]; then
|
||||||
|
set vesa_mode=${vesa_mode}
|
||||||
|
fi
|
||||||
|
|
||||||
function load_video {
|
function load_video {
|
||||||
if [ x$feature_all_video_module = xy ]; then
|
if [ x$feature_all_video_module = xy ]; then
|
||||||
@@ -29,46 +42,37 @@ function load_video {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
if loadfont unicode ; then
|
load_video
|
||||||
|
if loadfont unicode; then
|
||||||
set gfxmode=auto
|
set gfxmode=auto
|
||||||
load_video
|
|
||||||
insmod gfxterm
|
insmod gfxterm
|
||||||
#set gfxpayload=800x600
|
terminal_output gfxterm
|
||||||
fi
|
fi
|
||||||
terminal_output gfxterm
|
|
||||||
|
|
||||||
#set menu_color_normal=cyan/blue
|
set menu_color_normal=light-green/blue
|
||||||
#set menu_color_highlight=white/blue
|
set menu_color_highlight=black/green
|
||||||
|
|
||||||
if serial --unit=0 --speed=115200; then
|
if serial --unit=0 --speed=115200; then
|
||||||
terminal_input --append serial_com0
|
terminal_input --append serial_com0
|
||||||
terminal_output --append serial_com0
|
terminal_output --append serial_com0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -s $prefix/grubenv ]; then
|
function set_gfxpayload {
|
||||||
load_env
|
if [ ${vesa_mode} -eq 1 ]; then
|
||||||
fi
|
set gfxpayload=keep
|
||||||
if [ "${default}" ]; then
|
else
|
||||||
set default="${default}"
|
set gfxpayload=text
|
||||||
fi
|
fi
|
||||||
if [ "${next_entry}" ]; then
|
}
|
||||||
set default="${next_entry}"
|
|
||||||
set next_entry=
|
|
||||||
save_env next_entry
|
|
||||||
fi
|
|
||||||
|
|
||||||
if serial --unit=0 --speed=115200; then
|
|
||||||
terminal_input --append serial_com0
|
|
||||||
terminal_output --append serial_com0
|
|
||||||
fi
|
|
||||||
|
|
||||||
set TERM=tty2
|
set TERM=tty2
|
||||||
|
|
||||||
search --set=root --label "ARPL3"
|
search --set=root --label "ARPL3"
|
||||||
if [ -s /zImage-dsm -a -s /initrd-dsm ]; then
|
if [ -s /zImage-dsm -a -s /initrd-dsm ]; then
|
||||||
if [ "${default}" = "direct" ]; then
|
if [ "${default}" = "direct" ]; then
|
||||||
set timeout="1"
|
set timeout="1"
|
||||||
menuentry 'Boot DSM kernel directly' --id direct {
|
menuentry 'Boot DSM kernel directly' --id direct {
|
||||||
load_video
|
set_gfxpayload
|
||||||
echo "Loading DSM kernel..."
|
echo "Loading DSM kernel..."
|
||||||
linux /zImage-dsm console=ttyS0,115200n8 earlyprintk log_buf_len=32M earlycon=uart8250,io,0x3f8,115200n8 root=/dev/md0 loglevel=15 ${dsm_cmdline}
|
linux /zImage-dsm console=ttyS0,115200n8 earlyprintk log_buf_len=32M earlycon=uart8250,io,0x3f8,115200n8 root=/dev/md0 loglevel=15 ${dsm_cmdline}
|
||||||
echo "Loading DSM initramfs..."
|
echo "Loading DSM initramfs..."
|
||||||
@@ -77,7 +81,7 @@ if [ -s /zImage-dsm -a -s /initrd-dsm ]; then
|
|||||||
}
|
}
|
||||||
fi
|
fi
|
||||||
menuentry 'Boot DSM' --id boot {
|
menuentry 'Boot DSM' --id boot {
|
||||||
load_video
|
set_gfxpayload
|
||||||
echo "Loading kernel..."
|
echo "Loading kernel..."
|
||||||
linux /bzImage-arpl console=${TERM} net.ifnames=0
|
linux /bzImage-arpl console=${TERM} net.ifnames=0
|
||||||
echo "Loading initramfs..."
|
echo "Loading initramfs..."
|
||||||
@@ -85,22 +89,35 @@ if [ -s /zImage-dsm -a -s /initrd-dsm ]; then
|
|||||||
echo "Booting..."
|
echo "Booting..."
|
||||||
}
|
}
|
||||||
menuentry 'Force re-install DSM' --id junior {
|
menuentry 'Force re-install DSM' --id junior {
|
||||||
load_video
|
set_gfxpayload
|
||||||
echo "Loading kernel..."
|
echo "Loading kernel..."
|
||||||
linux /bzImage-arpl console=${TERM} net.ifnames=0 force_junior
|
linux /bzImage-arpl console=${TERM} net.ifnames=0 force_junior
|
||||||
echo "Loading initramfs..."
|
echo "Loading initramfs..."
|
||||||
initrd /initrd-arpl
|
initrd /initrd-arpl
|
||||||
echo "Booting..."
|
echo "Booting..."
|
||||||
}
|
}
|
||||||
else
|
|
||||||
set timeout="1"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
menuentry 'Configure loader' --id config {
|
menuentry 'Configure loader' --id config {
|
||||||
load_video
|
set_gfxpayload
|
||||||
echo "Loading kernel..."
|
echo "Loading kernel..."
|
||||||
linux /bzImage-arpl console=${TERM} net.ifnames=0 IWANTTOCHANGETHECONFIG
|
linux /bzImage-arpl console=${TERM} net.ifnames=0 IWANTTOCHANGETHECONFIG
|
||||||
echo "Loading initramfs..."
|
echo "Loading initramfs..."
|
||||||
initrd /initrd-arpl
|
initrd /initrd-arpl
|
||||||
echo "Booting..."
|
echo "Booting..."
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if [ ${vesa_mode} = 1 ]; then
|
||||||
|
menuentry 'Change vesa to text video mode' --id videomode {
|
||||||
|
set vesa_mode=0
|
||||||
|
save_env vesa_mode
|
||||||
|
configfile ${prefix}/grub.cfg
|
||||||
|
}
|
||||||
|
else
|
||||||
|
menuentry 'Change text to vesa video mode' --id videomode {
|
||||||
|
set vesa_mode=1
|
||||||
|
save_env vesa_mode
|
||||||
|
reboot
|
||||||
|
configfile ${prefix}/grub.cfg
|
||||||
|
}
|
||||||
|
fi
|
||||||
|
|||||||
BIN
files/board/arpl/p1/grub/i386-efi/acpi.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/acpi.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/adler32.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/adler32.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/affs.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/affs.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/afs.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/afs.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/afsplitter.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/afsplitter.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/ahci.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/ahci.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/all_video.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/all_video.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/aout.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/aout.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/appleldr.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/appleldr.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/archelp.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/archelp.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/at_keyboard.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/at_keyboard.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/ata.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/ata.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/backtrace.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/backtrace.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/bfs.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/bfs.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/bitmap.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/bitmap.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/bitmap_scale.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/bitmap_scale.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/blocklist.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/blocklist.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/boot.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/boot.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/bsd.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/bsd.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/bswap_test.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/bswap_test.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/btrfs.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/btrfs.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/bufio.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/bufio.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/cat.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/cat.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/cbfs.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/cbfs.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/cbls.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/cbls.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/cbmemc.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/cbmemc.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/cbtable.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/cbtable.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/cbtime.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/cbtime.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/chain.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/chain.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/cmdline_cat_test.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/cmdline_cat_test.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/cmp.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/cmp.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/cmp_test.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/cmp_test.mod
Normal file
Binary file not shown.
194
files/board/arpl/p1/grub/i386-efi/command.lst
Normal file
194
files/board/arpl/p1/grub/i386-efi/command.lst
Normal file
@@ -0,0 +1,194 @@
|
|||||||
|
*acpi: acpi
|
||||||
|
*all_functional_test: functional_test
|
||||||
|
*background_image: gfxterm_background
|
||||||
|
*cat: cat
|
||||||
|
*cpuid: cpuid
|
||||||
|
*crc: hashsum
|
||||||
|
*cryptomount: cryptodisk
|
||||||
|
*echo: echo
|
||||||
|
*extract_syslinux_entries_configfile: syslinuxcfg
|
||||||
|
*extract_syslinux_entries_source: syslinuxcfg
|
||||||
|
*file: file
|
||||||
|
*functional_test: functional_test
|
||||||
|
*gettext: gettext
|
||||||
|
*hashsum: hashsum
|
||||||
|
*hdparm: hdparm
|
||||||
|
*hello: hello
|
||||||
|
*help: help
|
||||||
|
*hexdump: hexdump
|
||||||
|
*inb: iorw
|
||||||
|
*inl: iorw
|
||||||
|
*inw: iorw
|
||||||
|
*keystatus: keystatus
|
||||||
|
*kfreebsd: bsd
|
||||||
|
*knetbsd: bsd
|
||||||
|
*kopenbsd: bsd
|
||||||
|
*list_env: loadenv
|
||||||
|
*load_env: loadenv
|
||||||
|
*loopback: loopback
|
||||||
|
*ls: ls
|
||||||
|
*lsacpi: lsacpi
|
||||||
|
*lspci: lspci
|
||||||
|
*md5sum: hashsum
|
||||||
|
*menuentry: normal
|
||||||
|
*pcidump: pcidump
|
||||||
|
*probe: probe
|
||||||
|
*rdmsr: rdmsr
|
||||||
|
*read_byte: memrw
|
||||||
|
*read_dword: memrw
|
||||||
|
*read_word: memrw
|
||||||
|
*regexp: regexp
|
||||||
|
*save_env: loadenv
|
||||||
|
*search: search
|
||||||
|
*serial: serial
|
||||||
|
*setpci: setpci
|
||||||
|
*sha1sum: hashsum
|
||||||
|
*sha256sum: hashsum
|
||||||
|
*sha512sum: hashsum
|
||||||
|
*sleep: sleep
|
||||||
|
*smbios: smbios
|
||||||
|
*submenu: normal
|
||||||
|
*syslinux_configfile: syslinuxcfg
|
||||||
|
*syslinux_source: syslinuxcfg
|
||||||
|
*terminfo: terminfo
|
||||||
|
*test_blockarg: test_blockarg
|
||||||
|
*testspeed: testspeed
|
||||||
|
*tr: tr
|
||||||
|
*trust: pgp
|
||||||
|
*verify_detached: pgp
|
||||||
|
*xnu_splash: xnu
|
||||||
|
*zfskey: zfscrypt
|
||||||
|
.: configfile
|
||||||
|
[: test
|
||||||
|
appleloader: appleldr
|
||||||
|
authenticate: normal
|
||||||
|
background_color: gfxterm_background
|
||||||
|
backtrace: backtrace
|
||||||
|
badram: mmap
|
||||||
|
blocklist: blocklist
|
||||||
|
boot: boot
|
||||||
|
break: normal
|
||||||
|
cat: minicmd
|
||||||
|
cbmemc: cbmemc
|
||||||
|
chainloader: chain
|
||||||
|
clear: normal
|
||||||
|
cmp: cmp
|
||||||
|
configfile: configfile
|
||||||
|
continue: normal
|
||||||
|
coreboot_boottime: cbtime
|
||||||
|
cutmem: mmap
|
||||||
|
date: date
|
||||||
|
distrust: pgp
|
||||||
|
dump: minicmd
|
||||||
|
eval: eval
|
||||||
|
exit: minicmd
|
||||||
|
export: normal
|
||||||
|
extract_entries_configfile: configfile
|
||||||
|
extract_entries_source: configfile
|
||||||
|
extract_legacy_entries_configfile: legacycfg
|
||||||
|
extract_legacy_entries_source: legacycfg
|
||||||
|
fakebios: loadbios
|
||||||
|
false: true
|
||||||
|
fix_video: fixvideo
|
||||||
|
fwsetup: efifwsetup
|
||||||
|
gdbstub: gdb
|
||||||
|
gdbstub_break: gdb
|
||||||
|
gdbstub_stop: gdb
|
||||||
|
gptsync: gptsync
|
||||||
|
halt: halt
|
||||||
|
help: minicmd
|
||||||
|
hexdump_random: random
|
||||||
|
initrd16: linux16
|
||||||
|
initrd: linux
|
||||||
|
keymap: keylayouts
|
||||||
|
kfreebsd_loadenv: bsd
|
||||||
|
kfreebsd_module: bsd
|
||||||
|
kfreebsd_module_elf: bsd
|
||||||
|
knetbsd_module: bsd
|
||||||
|
knetbsd_module_elf: bsd
|
||||||
|
kopenbsd_ramdisk: bsd
|
||||||
|
legacy_check_password: legacycfg
|
||||||
|
legacy_configfile: legacycfg
|
||||||
|
legacy_initrd: legacycfg
|
||||||
|
legacy_initrd_nounzip: legacycfg
|
||||||
|
legacy_kernel: legacycfg
|
||||||
|
legacy_password: legacycfg
|
||||||
|
legacy_source: legacycfg
|
||||||
|
linux16: linux16
|
||||||
|
linux: linux
|
||||||
|
list_trusted: pgp
|
||||||
|
loadbios: loadbios
|
||||||
|
loadfont: font
|
||||||
|
lscoreboot: cbls
|
||||||
|
lsefi: lsefi
|
||||||
|
lsefimmap: lsefimmap
|
||||||
|
lsefisystab: lsefisystab
|
||||||
|
lsfonts: font
|
||||||
|
lsmmap: lsmmap
|
||||||
|
lsmod: minicmd
|
||||||
|
lssal: lssal
|
||||||
|
macppcbless: macbless
|
||||||
|
mactelbless: macbless
|
||||||
|
module2: multiboot2
|
||||||
|
module: multiboot
|
||||||
|
multiboot2: multiboot2
|
||||||
|
multiboot: multiboot
|
||||||
|
nativedisk: nativedisk
|
||||||
|
net_add_addr: net
|
||||||
|
net_add_dns: net
|
||||||
|
net_add_route: net
|
||||||
|
net_bootp: net
|
||||||
|
net_del_addr: net
|
||||||
|
net_del_dns: net
|
||||||
|
net_del_route: net
|
||||||
|
net_dhcp: net
|
||||||
|
net_get_dhcp_option: net
|
||||||
|
net_ipv6_autoconf: net
|
||||||
|
net_ls_addr: net
|
||||||
|
net_ls_cards: net
|
||||||
|
net_ls_dns: net
|
||||||
|
net_ls_routes: net
|
||||||
|
net_nslookup: net
|
||||||
|
normal: normal
|
||||||
|
normal_exit: normal
|
||||||
|
outb: iorw
|
||||||
|
outl: iorw
|
||||||
|
outw: iorw
|
||||||
|
parttool: parttool
|
||||||
|
password: password
|
||||||
|
password_pbkdf2: password_pbkdf2
|
||||||
|
play: play
|
||||||
|
read: read
|
||||||
|
reboot: reboot
|
||||||
|
return: normal
|
||||||
|
rmmod: minicmd
|
||||||
|
search.file: search_fs_file
|
||||||
|
search.fs_label: search_label
|
||||||
|
search.fs_uuid: search_fs_uuid
|
||||||
|
setparams: normal
|
||||||
|
shift: normal
|
||||||
|
source: configfile
|
||||||
|
terminal_input: terminal
|
||||||
|
terminal_output: terminal
|
||||||
|
test: test
|
||||||
|
testload: testload
|
||||||
|
time: time
|
||||||
|
true: true
|
||||||
|
usb: usbtest
|
||||||
|
videoinfo: videoinfo
|
||||||
|
videotest: videotest
|
||||||
|
write_byte: memrw
|
||||||
|
write_dword: memrw
|
||||||
|
write_word: memrw
|
||||||
|
wrmsr: wrmsr
|
||||||
|
xnu_devprop_load: xnu
|
||||||
|
xnu_kernel64: xnu
|
||||||
|
xnu_kernel: xnu
|
||||||
|
xnu_kext: xnu
|
||||||
|
xnu_kextdir: xnu
|
||||||
|
xnu_mkext: xnu
|
||||||
|
xnu_ramdisk: xnu
|
||||||
|
xnu_resume: xnu
|
||||||
|
xnu_uuid: xnu_uuid
|
||||||
|
zfs-bootfs: zfsinfo
|
||||||
|
zfsinfo: zfsinfo
|
||||||
BIN
files/board/arpl/p1/grub/i386-efi/configfile.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/configfile.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/core.efi
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/core.efi
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/cpio.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/cpio.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/cpio_be.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/cpio_be.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/cpuid.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/cpuid.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/crc64.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/crc64.mod
Normal file
Binary file not shown.
45
files/board/arpl/p1/grub/i386-efi/crypto.lst
Normal file
45
files/board/arpl/p1/grub/i386-efi/crypto.lst
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
RIJNDAEL: gcry_rijndael
|
||||||
|
RIJNDAEL192: gcry_rijndael
|
||||||
|
RIJNDAEL256: gcry_rijndael
|
||||||
|
AES128: gcry_rijndael
|
||||||
|
AES-128: gcry_rijndael
|
||||||
|
AES-192: gcry_rijndael
|
||||||
|
AES-256: gcry_rijndael
|
||||||
|
ADLER32: adler32
|
||||||
|
CRC64: crc64
|
||||||
|
ARCFOUR: gcry_arcfour
|
||||||
|
BLOWFISH: gcry_blowfish
|
||||||
|
CAMELLIA128: gcry_camellia
|
||||||
|
CAMELLIA192: gcry_camellia
|
||||||
|
CAMELLIA256: gcry_camellia
|
||||||
|
CAST5: gcry_cast5
|
||||||
|
CRC32: gcry_crc
|
||||||
|
CRC32RFC1510: gcry_crc
|
||||||
|
CRC24RFC2440: gcry_crc
|
||||||
|
DES: gcry_des
|
||||||
|
3DES: gcry_des
|
||||||
|
DSA: gcry_dsa
|
||||||
|
IDEA: gcry_idea
|
||||||
|
MD4: gcry_md4
|
||||||
|
MD5: gcry_md5
|
||||||
|
RFC2268_40: gcry_rfc2268
|
||||||
|
AES: gcry_rijndael
|
||||||
|
AES192: gcry_rijndael
|
||||||
|
AES256: gcry_rijndael
|
||||||
|
RIPEMD160: gcry_rmd160
|
||||||
|
RSA: gcry_rsa
|
||||||
|
SEED: gcry_seed
|
||||||
|
SERPENT128: gcry_serpent
|
||||||
|
SERPENT192: gcry_serpent
|
||||||
|
SERPENT256: gcry_serpent
|
||||||
|
SHA1: gcry_sha1
|
||||||
|
SHA224: gcry_sha256
|
||||||
|
SHA256: gcry_sha256
|
||||||
|
SHA512: gcry_sha512
|
||||||
|
SHA384: gcry_sha512
|
||||||
|
TIGER192: gcry_tiger
|
||||||
|
TIGER: gcry_tiger
|
||||||
|
TIGER2: gcry_tiger
|
||||||
|
TWOFISH: gcry_twofish
|
||||||
|
TWOFISH128: gcry_twofish
|
||||||
|
WHIRLPOOL: gcry_whirlpool
|
||||||
BIN
files/board/arpl/p1/grub/i386-efi/crypto.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/crypto.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/cryptodisk.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/cryptodisk.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/cs5536.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/cs5536.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/ctz_test.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/ctz_test.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/date.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/date.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/datehook.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/datehook.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/datetime.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/datetime.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/disk.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/disk.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/diskfilter.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/diskfilter.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/div.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/div.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/div_test.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/div_test.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/dm_nv.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/dm_nv.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/echo.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/echo.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/efi_gop.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/efi_gop.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/efi_uga.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/efi_uga.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/efifwsetup.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/efifwsetup.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/efinet.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/efinet.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/ehci.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/ehci.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/elf.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/elf.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/eval.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/eval.mod
Normal file
Binary file not shown.
BIN
files/board/arpl/p1/grub/i386-efi/exfat.mod
Normal file
BIN
files/board/arpl/p1/grub/i386-efi/exfat.mod
Normal file
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user