From 5e565790bbe1cfeabf2088b814cdb41f36fb1b51 Mon Sep 17 00:00:00 2001 From: pocopico Date: Wed, 9 Mar 2022 16:57:19 +0200 Subject: [PATCH] Added DVA3221 --- custom_config.json | 27 +++++++++++++++++++++++++++ rploader.sh | 10 +++++++--- 2 files changed, 34 insertions(+), 3 deletions(-) diff --git a/custom_config.json b/custom_config.json index 3c791d1c..043a867a 100644 --- a/custom_config.json +++ b/custom_config.json @@ -139,6 +139,33 @@ "source_url": "https://github.com/jumkey/redpill-load.git", "branch": "develop" } + }, + { + "id": "denverton-7.0.1-42218", + "platform_version": "denverton-7.0.1-42218", + "user_config_json": "denverton_user_config-test.json", + "docker_base_image": "debian:8-slim", + "redpill_lkm_make_target": "dev-v7", + "compile_with": "toolkit_dev", + "downloads": { + "kernel": { + "url": "https://sourceforge.net/projects/dsgpl/files/Synology%20NAS%20GPL%20Source/25426branch/denverton-source/linux-4.4.x.txz/download", + "sha256": "d3e85eb80f16a83244fcae6016ab6783cd8ac55e3af2b4240455261396e1e1be" + + }, + "toolkit_dev": { + "url": "https://sourceforge.net/projects/dsgpl/files/toolkit/DSM7.0/ds.denverton-7.0.dev.txz/download", + "sha256": "6dc6818bad28daff4b3b8d27b5e12d0565b65ee60ac17e55c36d913462079f57" + } + }, + "redpill_lkm": { + "source_url": "https://github.com/dogodefi/redpill-lkm.git", + "branch": "develop" + }, + "redpill_load": { + "source_url": "https://github.com/dogodefi/redpill-load.git", + "branch": "develop" + } }, { "id": "apollolake-7.0-41890", diff --git a/rploader.sh b/rploader.sh index 6f204ec5..08470c45 100644 --- a/rploader.sh +++ b/rploader.sh @@ -2,12 +2,12 @@ # # Author : # Date : 22030911 -# Version : 0.4.6.0 +# Version : 0.4.7.0 # # # User Variables : -rploaderver="0.4.6.0" +rploaderver="0.4.7.0" rploaderepo="https://github.com/pocopico/tinycore-redpill/raw/main/rploader.sh" redpillextension="https://github.com/pocopico/rp-ext/raw/main/redpill/rpext-index.json" @@ -681,6 +681,8 @@ function getstaticmodule() { SYNOMODEL="ds3622xsp_$TARGET_REVISION" elif [ "${TARGET_PLATFORM}" = "v1000" ] ; then SYNOMODEL="ds1621p_$TARGET_REVISION" + elif [ "${TARGET_PLATFORM}" = "denverton" ] ; then + SYNOMODEL="dva3221_$TARGET_REVISION" fi echo "Looking for redpill for : $SYNOMODEL " @@ -756,6 +758,8 @@ function buildloader() { SYNOMODEL="DS3622xs+" elif [ "${TARGET_PLATFORM}" = "v1000" ] ; then SYNOMODEL="DS1621+" + elif [ "${TARGET_PLATFORM}" = "denverton" ] ; then + SYNOMODEL="DVA3221" fi @@ -937,7 +941,7 @@ function getvars() { KERNEL_MAJOR="3" MODULE_ALIAS_FILE="modules.alias.3.json" ;; - apollolake | broadwell | broadwellnk | v1000 ) + apollolake | broadwell | broadwellnk | v1000 | denverton ) KERNEL_MAJOR="4" MODULE_ALIAS_FILE="modules.alias.4.json" ;;