Skip to content
This repository has been archived by the owner on Oct 29, 2022. It is now read-only.

Commit

Permalink
dev-v7
Browse files Browse the repository at this point in the history
  • Loading branch information
s1oz committed Sep 24, 2021
1 parent 2122ab1 commit 6bf72fe
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build-ds3615xs-7.0.1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ tar -C./bromolow/ -xf ds.bromolow-7.0.dev.txz usr/local/x86_64-pc-linux-gnu/x86_
# build redpill-lkm
cd redpill-lkm
sed -i 's/ -std=gnu89/ -std=gnu89 -fno-pie/' ../bromolow/usr/local/x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/sys-root/usr/lib/modules/DSM-7.0/build/Makefile
make LINUX_SRC=../bromolow/usr/local/x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/sys-root/usr/lib/modules/DSM-7.0/build
make LINUX_SRC=../bromolow/usr/local/x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/sys-root/usr/lib/modules/DSM-7.0/build dev-v7
read -a KVERS <<< "$(sudo modinfo --field=vermagic redpill.ko)" && cp -fv redpill.ko ../redpill-load/ext/rp-lkm/redpill-linux-v${KVERS[0]}.ko || exit 1
cd ..

Expand Down
2 changes: 1 addition & 1 deletion build-ds918-7.0.1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ tar -C./apollolake/ -xf ds.apollolake-7.0.dev.txz usr/local/x86_64-pc-linux-gnu/

# build redpill-lkm
cd redpill-lkm
make LINUX_SRC=../apollolake/usr/local/x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/sys-root/usr/lib/modules/DSM-7.0/build
make LINUX_SRC=../apollolake/usr/local/x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/sys-root/usr/lib/modules/DSM-7.0/build dev-v7
read -a KVERS <<< "$(sudo modinfo --field=vermagic redpill.ko)" && cp -fv redpill.ko ../redpill-load/ext/rp-lkm/redpill-linux-v${KVERS[0]}.ko || exit 1
cd ..

Expand Down
3 changes: 3 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[来自于Izumiko/redpill-loader-action](https://github.com/Izumiko/redpill-loader-action)


# Building RedPill loader with Github action

DS918+ & DS3615xs DSM 7.0.1 loader
Expand Down
5 changes: 4 additions & 1 deletion user_config.DS3615xs.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
"sn": "1130LWN123456",
"mac1": "001132123456"
},
"synoinfo": {},
"synoinfo": {
"supportsystemperature": "no",
"supportsystempwarning": "no"
},
"ramdisk_copy": {}
}
5 changes: 4 additions & 1 deletion user_config.DS918+.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
"sn": "17A0PDN123456",
"mac1": "001132123456"
},
"synoinfo": {},
"synoinfo": {
"supportsystemperature": "no",
"supportsystempwarning": "no"
},
"ramdisk_copy": {}
}

0 comments on commit 6bf72fe

Please sign in to comment.