Yes, i have baremetall install on asrock J4205 motherboard.
Sure that i'm doing something wrong but i don't know what.
tc@box:~$ wget https://github.com/PeterSuh-Q3/tinycore-redpill/raw/main/my.sh.gz
; tar -zxvf my.sh.gz;
Connecting to github.com (140.82.112.4:443)
Connecting to raw.githubusercontent.com (185.199.108.133:443)
saving to 'my.sh.gz'
my.sh.gz 100% |********************************| 3015 0:00:00 ETA
'my.sh.gz' saved
my.sh
tc@box:~$ ./my.sh DS918+
MODEL is DS918+
Checking Internet Access -> OK
Checking if a newer mshell version exists on the repo -> There is a newer versio n of m shell script on the repo should we use that ? [yY/nN]y
OK, updating, please re-run after updating
m.sh
Updating m shell with latest updates
tc@box:~$ ./my.sh DS918+
MODEL is DS918+
Checking Internet Access -> OK
Checking if a newer mshell version exists on the repo -> Version is current
tcrppart is sdb3
making directory /mnt/sdb3/auxfiles and make link custom-module
TARGET_PLATFORM is apollolake
Checking Internet Access -> OK
Checking if a newer version exists on the repo -> There is a newer version of th e script on the repo should we use that ? [yY/nN]OK, updating, please re-run aft er updating
Updating tinycore loader with latest updates
Backing up files to /mnt/sdb3//mydata.tgz
Done.
Performing a full TCRP upgrade
Warning some of your local files will be moved to /home/tc/old/xxxx.2022-May-04- 06-11
Updating custom_config.json
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 33840 100 33840 0 0 44351 0 --:--:-- --:--:-- --:--:-- 202k
Updating global_config.json
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 5692 100 5692 0 0 8992 0 --:--:-- --:--:-- --:--:-- 8992
Updating modules.alias.3.json.gz
mv: cannot stat 'modules.alias.3.json.gz': No such file or directory
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 5591 100 5591 0 0 12424 0 --:--:-- --:--:-- --:--:-- 12424
Updating modules.alias.4.json.gz
mv: cannot stat 'modules.alias.4.json.gz': No such file or directory
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 89007 100 89007 0 0 182k 0 --:--:-- --:--:-- --:--:-- 182k
Updating rpext-index.json
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 211k 100 211k 0 0 325k 0 --:--:-- --:--:-- --:--:-- 325k
Updating user_config.json
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 431 100 431 0 0 687 0 --:--:-- --:--:-- --:--:-- 10775
Updating dtc
mv: cannot stat 'dtc': No such file or directory
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 146k 100 146k 0 0 194k 0 --:--:-- --:--:-- --:--:-- 194k
Updating rploader.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 78809 100 78809 0 0 164k 0 --:--:-- --:--:-- --:--:-- 164k
Updating ds1621p.dts
mv: cannot stat 'ds1621p.dts': No such file or directory
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 3026 100 3026 0 0 4864 0 --:--:-- --:--:-- --:--:-- 73804
Updating ds920p.dts
mv: cannot stat 'ds920p.dts': No such file or directory
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 2423 100 2423 0 0 3833 0 --:--:-- --:--:-- --:--:-- 3833
Please make sure you are using the latest 1GB img before using backup option
Current /home/tc size is 2.5M , try to keep it less than 1GB as it might not fit into your image
Should i update the sdb with your current files [Yy/Nn]
OK, keeping last status
Do you want to restore your own user_config.json from old directory ? [Yy/Nn]
y
Before changing user_config.json
{
"extra_cmdline": {
"pid": "0xa4a5",
"vid": "0x0525",
"sn": "1230LWN009033",
"mac1": "0011322A46E7",
"SataPortMap": "58",
"DiskIdxMap": "0A00"
},
"synoinfo": {
"internalportcfg" : "0xffff",
"maxdisks" : "16",
"support_bde_internal_10g" : "no",
"support_disk_compatibility" : "no",
"support_memory_compatibility" : "no"
},
"ramdisk_copy": {
}
}
Serial Number for Model : 1860PDN021237
Mac Address for Model DS918+ : 00:11:32:CB:B9:22
Should i update the user_config.json with these values ? [Yy/Nn]
Found Kingston DT SerialNumber: 001CC0EC34D1BC31F63A02A0
Vendor ID : 0x0951 Product ID : 0x1642
Should i update the user_config.json with these values ? [Yy/Nn]
HBA: 00:12.0 Disks : 2
HBA: 00:13.2 Disks : 2
SataPortMap=22
DiskIdxMap=0002
Should i update the user_config.json with these values ? [Yy/Nn]
DSM PAT file pre-downloading in progress...
https://global.download.synology.com/download/DSM/release/7.1/42661-1/DSM_DS918+_42661.pat
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 3322 100 3322 0 0 1753 0 0:00:01 0:00:01 --:--:-- 1752
Loader Building in progress...
Rploader Version : 0.7.0.7
Loader source : https://github.com/pocopico/redpill-load.git Loader Branch : develop
Redpill module source : https://github.com/RedPill-TTG/redpill-lkm.git : Redpill module branch : master
Extensions : redpill-misc
Extensions URL : "https://github.com/pocopico/redpill-load/raw/master/redpill-misc/rpext-index.json"
TOOLKIT_URL : https://sourceforge.net/projects/dsgpl/files/toolkit/DSM7.0/ds.apollolake-7.0.dev.txz/download
TOOLKIT_SHA : d349fa644392d4cfab8191243ee38aaa32bd517208c144678e0c855cb5a619ea
SYNOKERNEL_URL : https://sourceforge.net/projects/dsgpl/files/Synology NAS GPL Source/25426branch/apollolake-source/linux-4.4.x.txz/download
SYNOKERNEL_SHA : af815ee065775d2e569fd7176e25c8ba7ee17a03361557975c8e5a4b64230c5b
COMPILE_METHOD : toolkit_dev
TARGET_PLATFORM : apollolake
TARGET_VERSION : 7.1.0
TARGET_REVISION : 42661
REDPILL_LKM_MAKE_TARGET : test-v7
KERNEL_MAJOR : 4
MODULE_ALIAS_FILE : modules.alias.4.json
SYNOMODEL : ds918p_42661
MODEL : DS918+
Local Cache Folder : /mnt/sdb3/auxfiles
DATE Internet : 04052022 Local : 04052022
Checking Internet Access -> OK
Checking if a newer version exists on the repo -> Version is current
Cloning into 'redpill-lkm'...
remote: Enumerating objects: 1051, done.
remote: Counting objects: 100% (251/251), done.
remote: Compressing objects: 100% (34/34), done.
remote: Total 1051 (delta 234), reused 217 (delta 217), pack-reused 800
Receiving objects: 100% (1051/1051), 441.74 KiB | 1.08 MiB/s, done.
Resolving deltas: 100% (727/727), done.
Cloning into 'redpill-load'...
remote: Enumerating objects: 1720, done.
remote: Counting objects: 100% (5/5), done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 1720 (delta 0), reused 2 (delta 0), pack-reused 1715
Receiving objects: 100% (1720/1720), 28.45 MiB | 13.78 MiB/s, done.
Resolving deltas: 100% (819/819), done.
No extra build option specified, using default <static>
Using static compiled redpill extension
Removing any old redpill.ko modules
Looking for redpill for : ds918p_42661
Getting file https://raw.githubusercontent.com/pocopico/rp-ext/master/redpill/releases/redpill-4.4.180plus.tgz
Extracting module
Got redpill-linux-v4.4.180+.ko
Testing modules.alias.4.json -> File OK
------------------------------------------------------------------------------------------------
It looks that you will need the following modules :
Found VGA Controller : pciid 8086d00005a84 Required Extension : i915
Searching for matching extension for i915
Found SATA Controller : pciid 8086d00005ae3 Required Extension : ahci
Searching for matching extension for ahci
Found SATA Controller : pciid 1b21d00000612 Required Extension : ahci
Searching for matching extension for ahci
[#] Checking runtime for required tools... [OK]
[#] Adding new extension from https://raw.githubusercontent.com/pocopico/rp-ext/master/r8169/rpext-index.json...
[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/r8169/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json
######################################################################## 100.0%
[OK]
[#] ========================================== pocopico.r8169 ==========================================
[#] Extension name: r8169
[#] Description: Adds RealTek RTL-8169 Gigabit Ethernet driver Support
[#] To get help visit: <todo>
[#] Extension preparer/packer: https://github.com/pocopico/rp-ext/tree/main/r8169
[#] Software author: https://github.com/pocopico
[#] Update URL: https://raw.githubusercontent.com/pocopico/rp-ext/master/r8169/rpext-index.json
[#] Platforms supported: ds1621p_42218 ds918p_41890 dva3221_42661 ds3617xs_42621 ds3617xs_42218 ds920p_42661 ds918p_42661 ds1621p_42661 ds918p_25556 dva3221_42218 ds3615xs_42661 ds3622xsp_42661 ds3622xsp_42218 dva3221_42621 ds3615xs_41222 ds918p_42621 ds3617xs_42661 ds3615xs_25556 ds920p_42218 ds920p_42621 ds918p_42218 ds1621p_42621 ds3615xs_42621 ds3615xs_42218 ds3622xsp_42621
[#] =======================================================================================
Found Ethernet Interface : pciid 10ecd00008161 Required Extension : r8169
Searching for matching extension for r8169
Found matching extension :
"https://raw.githubusercontent.com/pocopico/rp-ext/master/r8169/rpext-index.json"
------------------------------------------------------------------------------------------------
Starting loader creation
Found tinycore cache folder, linking to home/tc/custom-module
Checking user_config.json : Done
Entering redpill-load directory
Removing bundled exts directories
Cache directory OK
Found build request for revision greater than 42218
Getting required extraction tool
------------------------------------------------------------------
Checking tinycore cache folder
Found tinycore cache folder, linking to home/tc/custom-module
Creating temp folder /tmp/synoesp
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 345M 100 345M 0 0 66.5M 0 0:00:05 0:00:05 --:--:-- 68.4M
Entering synoesp
extract rd.gz
finish
cpio: dev/console: Cannot mknod: Operation not permitted
cpio: dev/net/tun: Cannot mknod: Operation not permitted
42506 blocks
extract rd
mkdir: cannot create directory '/mnt/sdb3/auxfiles': File exists
Copying required files to local cache folder for future use
Copying usr/lib/libcurl.so.4 to /mnt/sdb3/auxfiles
Copying usr/lib/libmbedcrypto.so.5 to /mnt/sdb3/auxfiles
Copying usr/lib/libmbedtls.so.13 to /mnt/sdb3/auxfiles
Copying usr/lib/libmbedx509.so.1 to /mnt/sdb3/auxfiles
Copying usr/lib/libmsgpackc.so.2 to /mnt/sdb3/auxfiles
Copying usr/lib/libsodium.so to /mnt/sdb3/auxfiles
Copying usr/lib/libsynocodesign-ng-virtual-junior-wins.so.7 to /mnt/sdb3/auxfiles
Copying usr/syno/bin/scemd to /mnt/sdb3/auxfiles
Copying required libraries to local lib directory
Linking lib to lib64
Copying executable
Removing temp folder /tmp/synoesp
Checking if tools is accessible
/bin/syno_extract_system_patch: /usr/local/lib/libcurl.so.4: no version information available (required by /bin/syno_extract_system_patch)
Copyright (c) 2003-2021 Synology Inc. All rights reserved.
/bin/syno_extract_system_patch PATCH_PATH DEST_PATH
Executed succesfully
Creating temp folder /tmp/pat
Checking for cached pat file
Found tinycore cache folder, linking to home/tc/custom-module
Found locally cached pat file /home/tc/custom-module/ds918p_42661.pat
Could not determine if file /home/tc/custom-module/ds918p_42661.pat is encrypted or not, maybe corrupted
-rwxrwxrwx 1 root root 3322 May 4 06:11 /home/tc/custom-module/ds918p_42661.pat
041
Backup in progress...
Clearing local redpill files
Please make sure you are using the latest 1GB img before using backup option
Current /home/tc size is 2.3M , try to keep it less than 1GB as it might not fit into your image
Should i update the sdb with your current files [Yy/Nn]
Backing up home files to sdb : Backing up files to /mnt/sdb3//mydata.tgz
Done.
tc@box:~$ ls
custom_config.json ds920p.dts global_config.json modules.alias.3.json my.sh rpext-index.json user_config.json
ds1621p.dts dtc m.sh modules.alias.4.json my.sh.gz rploader.sh
tc@box:~$ ls -la
total 2240
drwxr-s--- 6 tc staff 580 May 4 06:12 ./
drwxrwxr-x 3 root staff 60 Nov 25 19:27 ../
drwxr-s--- 2 tc staff 40 Nov 25 19:27 .X.d/
-rw------- 1 tc staff 48 May 4 05:47 .Xauthority
-rwxr-xr-x 1 tc staff 275 Nov 25 19:27 .Xdefaults
-rw-rw-r-- 1 tc staff 117 May 4 06:15 .ash_history
-rw-r--r-- 1 tc staff 424 Feb 13 2021 .ashrc
-rw-r--r-- 1 tc staff 45 Nov 25 20:15 .bashrc
-rwxr-xr-x 1 root staff 2590 Jan 5 09:50 .dialogrc
drwxr-sr-x 3 tc staff 60 Nov 25 19:27 .fltk/
drwxr-s--- 3 tc staff 60 Nov 25 19:27 .local/
-rw-r--r-- 1 tc staff 937 Nov 28 21:43 .profile
-rwxr-xr-x 1 tc staff 103 Nov 25 19:27 .setbackground
lrwxrwxrwx 1 root staff 20 May 4 05:47 .wbar -> /usr/local/tce.icons
drwxr-sr-x 4 tc staff 80 May 4 05:47 .wmx/
-rwx------ 1 tc staff 550 Nov 25 19:27 .xsession
-rw-r--r-- 1 tc staff 33840 May 4 06:11 custom_config.json
-rw-r--r-- 1 tc staff 3026 May 4 06:11 ds1621p.dts
-rw-r--r-- 1 tc staff 2423 May 4 06:11 ds920p.dts
-rw-r--r-- 1 tc staff 150200 May 4 06:11 dtc
-rw-r--r-- 1 tc staff 5692 May 4 06:11 global_config.json
-rwxr-xr-x 1 tc staff 13161 Apr 30 10:13 m.sh
-rw-r--r-- 1 tc staff 81845 May 4 06:11 modules.alias.3.json
-rw-r--r-- 1 tc staff 1628600 May 4 06:11 modules.alias.4.json
-rwxr-xr-x 1 tc staff 13457 Apr 30 10:13 my.sh
-rw-r--r-- 1 tc staff 3001 May 4 06:10 my.sh.gz
-rw-r--r-- 1 tc staff 216702 May 4 06:11 rpext-index.json
-rwx------ 1 tc staff 78809 May 4 06:11 rploader.sh
-rw-r--r-- 1 tc staff 431 May 4 06:11 user_config.json
tc@box:~$ pwd