Jump to content
XPEnology Community

TinyCore RedPill loader (TCRP) - Development release 0.9


Recommended Posts

Setting default boot entry to TCRO Friend
sed: can't read localdiskp1/boot/grub/grub.cfg: No such file or directory
Machine is VIRTUAL Hypervisor=KVM
Setting default boot entry to SATA

 

 

Failed to set TCRP friend as default boot entry
Because it is virtual, we set SATA as the default boot entry again.
I think you need to do one of the two.

Link to comment
Share on other sites

5 minutes ago, Peter Suh said:

I used rploader.sh that was modified again with a Fix typo a while ago.
Boot end defaults to USB, not friends.

 

508389235_2022-09-2110_04_06.thumb.png.bde55e4b16b05e9becb5c9d7bfc00b89.png

 

 

I applied your script and changed it a bit.

 

The default value of 0 in grub.cfg was not searched, but the method was changed to a desired value.

https://github.com/PeterSuh-Q3/tinycore-redpill/blob/main/grubmenu.sh

 

Link to comment
Share on other sites

4 часа назад, Peter Suh сказал:

 

When DSM boots in junior mode, connect to the root account (no password) via ttyd console for TCRP or telnet otherwise.

Another way is to connect with a serial cable (including virtual) and proceed with the same process.

 

I don't understand how I can send a reboot request from here with logging into tiny core.

 

image.png

Link to comment
Share on other sites

The build of DS3622xs+ 7.1.1-42962 loader is successful.


However, the friend loader's response was too slow, so I searched for the cause.
There was a second virtual NIC that was not assigned a MAC address and DHCP IP.
This will cause the loader boot to be delayed up to 10 times, so you need to be careful.

 

A slightly different message appears in the log of the loader,
DSM is normally installed.

 

1895888814_2022-09-2110_30_15.thumb.png.92cd584937d725225c58cc23c2fd9cb6.png

Link to comment
Share on other sites

1 час назад, sbv3000 сказал:

server mobos generally have this feature, an ip kvm, there are add on cards based on r-pi might work https://www.youtube.com/watch?v=cVWF3u-y-Zg

other option is to run in esxi if your hardware supports it, you always have 'console access' so could access grub menu

Yes, I know about such solutions, I just thought that it is possible to make something from under the DSM

Link to comment
Share on other sites

5 minutes ago, Peter Suh said:

 

Changed to root with sudo as above
just use reboot
Under normal user login
Just use sudo reboot .
What's wrong?

 

In the above Synology log-in state, you cannot check the log in which the TCRP loader works.
You have to enter the junior state, which is the same as the installation stage of DSM.
In the GNU grub boot menu, the contents of grub.cfg can be edited with the e key.
Write force_junior at the end of the line and enter booting with F10.
Then you can enter TTYD where you can check the TCRP log you want without logging in to Synology.

Edited by Peter Suh
Link to comment
Share on other sites

10 минут назад, Peter Suh сказал:

 

In the above Synology log-in state, you cannot check the log in which the TCRP loader works.
You have to enter the junior state, which is the same as the installation stage of DSM.
In the GNU grub boot menu, the contents of grub.cfg can be edited with the e key.
Write force_junior at the end of the line and enter booting with F10.
Then you can enter TTYD where you can check the TCRP log you want without logging in to Synology.

 see. I asked all this to understand if it is possible to somehow get into tiny core to rebuild the bootloader without connecting a keyboard monitor and mouse

Link to comment
Share on other sites

9 minutes ago, aportnov said:

 see. I asked all this to understand if it is possible to somehow get into tiny core to rebuild the bootloader without connecting a keyboard monitor and mouse

 

Yes, well tinycore is the only entry on a clean image so it will boot directly on TCRP. Then SSH is enabled by default and you can SSH to TCRP. Username is tc and password is P@ssw0rd

Link to comment
Share on other sites

1 минуту назад, pocopico сказал:

 

Yes, well tinycore is the only entry on a clean image so it will boot directly on TCRP. Then SSH is enabled by default and you can SSH to TCRP. Username is tc and password is P@ssw0rd

 

That's what I'm doing, I'm just at work now and don't have physical access, but I wanted to experiment with the system

Link to comment
Share on other sites

5 minutes ago, aportnov said:

 

That's what I'm doing, I'm just at work now and don't have physical access, but I wanted to experiment with the system

 

As mentioned above, the best way to monitor without directly connecting a keyboard and mouse to the XPE main body PC is through a serial cable. Because it doesn't even need a network connection. The next best thing is via telnet, assuming the network connection is successful. TTYD seems to be supported only by pocopico's TCRP.

 

 

Edited by Peter Suh
Link to comment
Share on other sites

41 minutes ago, Peter Suh said:

The build of DS3622xs+ 7.1.1-42962 loader is successful.


However, the friend loader's response was too slow, so I searched for the cause.
There was a second virtual NIC that was not assigned a MAC address and DHCP IP.
This will cause the loader boot to be delayed up to 10 times, so you need to be careful.

 

A slightly different message appears in the log of the loader,
DSM is normally installed.

 

1895888814_2022-09-2110_30_15.thumb.png.92cd584937d725225c58cc23c2fd9cb6.png

 

Well i fixed most of the friend issues and I have so far tested successfully DS3615xs and DVA3221. 

  • Like 1
Link to comment
Share on other sites

I tried to install DVA3221 but the extension mlx4 had some issued.

Could you please help me to solve this

 

[#] Checking runtime for required tools... [OK]
[#] Adding new extension from https://github.com/pocopico/rp-ext/tree/main/mlx4_core...
[#] Downloading remote file https://github.com/pocopico/rp-ext/tree/main/mlx4_core to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json
#=O#- #     #

[-] JSON file "/home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json" is invalid:

parse error: Invalid numeric literal at line 8, column 10
[-] Extension loaded from https://github.com/pocopico/rp-ext/tree/main/mlx4_core (id: ) is invalid: index JSON file is unparsable. Please report that to the extension maintainer via help URL
[!] The index file for https://github.com/pocopico/rp-ext/tree/main/mlx4_core extension is invalid - please report that to the extension maintainer

*** Process will exit ***

 

Link to comment
Share on other sites

43 minutes ago, pocopico said:

 

Well i fixed most of the friend issues and I have so far tested successfully DS3615xs and DVA3221. 

 

The process of installing DSM update to 42218->42661->42962 of DS3622xs+ that you requested earlier has also been completed successfully.

 

There is only one minor problem in the process of creating an account for the first time after installing 42218 DSM.

You have to log in as admin once without a password.
The usual DS name setting and account/password creation screen appears.

 

Now, after testing a few more models, I think it would be good to release them in earnest.
A full-scale release means Synology auto-update.

Link to comment
Share on other sites

DS918+ is the cleanest.

 

There was no process of logging in to admin without a password when the 42218's DSM was set up for the first time.

 

I built the 42218 loader and updated 2 times to 42218->42661->42962 .

 

In the process of using the 42661 DSM, the automatic update in the DS was activated and I used it.

 

1447165981_2022-09-2210_34_09.thumb.png.f9e0c263e6a03113269ba0341237a6ba.png

  • Thanks 1
Link to comment
Share on other sites

1 hour ago, Peter Suh said:

The DS1621+ requires a lot of patience.
The reaction rate is too slow.
I think I waited about 5 minutes or more to see that screen.
Although the network is not disconnected like the DS920+,
There must be a reason it takes so long to load.
Do you have routines that keep waiting for some processing?

 

806641752_2022-09-2211_06_05.thumb.png.239fd1914bd2fbbfd891f443411e049b.png

 

When rebooting after installing 42218 DSM in DS1621+, the loading speed is not very fast, but it seems appropriate.
And similarly, I need to log in to admin without a password to be able to set it up for the first time.
Automatic update of 42661 DSM is available in Update and Restore in 42218 Control Panel.

 

1250387549_2022-09-2212_46_51.thumb.png.0e309809b98a73251d3858a194499b56.png

 

133560169_2022-09-2212_47_21.thumb.png.9d9d06a9f6a2d4597d6ec66baf060feb.png

 

 

However, after the 42661 DSM automatic update, the kernel crashes during the reboot process.

 

 

335115148_2022-09-2212_58_25.thumb.png.b693cc51b68bba04a53a44f6fb5faf24.png

 

Edited by Peter Suh
Link to comment
Share on other sites

Hi Poco, Hi Peter

 

Installation works fine with local ip (via dhcp)!

but after reboot, I don't have any network interface anymore - it is dead - not connecting.

 

changed serial and satamap afterwards and built again.

 

do I need a special add-on or driver and how to add it?

 

best Mondi

 

Spoiler

 

tc@box:~$ ./rploader.sh upgrade

rploader.sh

 

Version : 0.9.0.2

----------------------------------------------------------------------------------------

 

Usage: ./rploader.sh <action> <platform version> <static or compile module> [extension manager arguments]

 

Actions: build, ext, download, clean, update, listmod, serialgen, identifyusb, patchdtc,

satamap, backup, backuploader, restoreloader, restoresession, mountdsmroot, postupdate,

mountshare, version, monitor, help

 

----------------------------------------------------------------------------------------

Available platform versions:

----------------------------------------------------------------------------------------

apollolake-7.0-41890

apollolake-7.0.1-42218

apollo.....

 

----------------------------------------------------------------------------------------

Check custom_config.json for platform settings.

tc@box:~$ ./rploader.sh fullupgrade

Performing a full TCRP upgrade

Warning some of your local files will be moved to /home/tc/old/xxxx.2022-Sep-22-12-59

Updating custom_config.json

.........................................

 

Please make sure you are using the latest 1GB img before using backup option

Current /home/tc size is 3.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]

y

Backing up home files to sdb : Backing up files to /mnt/sdb3//mydata.tgz

Done.

 

tc@box:~$ ./rploader.sh clean

Clearing local redpill files

tc@box:~$ ./rploader.sh build apollolake-7.0.1-42218 withfriend

ln: failed to create symbolic link '/lib64': Permission denied

bspatch does not exist, bringing over from repo

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

100 10232  100 10232    0     0  37896      0 --:--:-- --:--:-- --:--:-- 37896

Rploader Version : 0.9.2.1

Loader source : https://github.com/pocopico/redpill-load.git Loader Branch : develop

Redpill module source : https://github.com/pocopico/redpill-lkm.git : Redpill module branch : master

Extensions :   redpill-misc

Extensions URL : "https://github.com/pocopico/redpill-load/raw/develop/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.0.1

TARGET_REVISION : 42218

REDPILL_LKM_MAKE_TARGET : test-v7

KERNEL_MAJOR : 4

MODULE_ALIAS_FILE :  modules.alias.4.json

SYNOMODEL : ds918p_42218

MODEL : DS918+

Local Cache Folder : /mnt/sdb3/auxfiles

DATE Internet : 22092022 Local : 22092022

Checking Internet Access -> OK

Checking if a newer version exists on the develop repo -> Version is current

Cloning into 'redpill-lkm'...

remote: Enumerating objects: 1398, done.

remote: Counting objects: 100% (470/470), done.

remote: Compressing objects: 100% (134/134), done.

remote: Total 1398 (delta 355), reused 405 (delta 323), pack-reused 928

Receiving objects: 100% (1398/1398), 2.78 MiB | 3.98 MiB/s, done.

Resolving deltas: 100% (918/918), done.

Cloning into 'redpill-load'...

remote: Enumerating objects: 2565, done.

remote: Counting objects: 100% (51/51), done.

remote: Compressing objects: 100% (45/45), done.

remote: Total 2565 (delta 19), reused 27 (delta 6), pack-reused 2514

Receiving objects: 100% (2565/2565), 117.40 MiB | 8.79 MiB/s, done.

Resolving deltas: 100% (1244/1244), done.

withfriend option set, My friend will be added

No extra build option or static specified, using default <static>

Using static compiled redpill extension

Removing any old redpill.ko modules

Looking for redpill for : ds918p_42218

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 8086d00001912  Required Extension : i915

Searching for matching extension for i915

Found SATA Controller : pciid 8086d0000a102  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 ds1621p_42951 ds918p_41890 dva3221_42661 ds3617xs_42621 ds3617xs_42218 ds920p_42661 dva3221_42962 ds918p_42661 ds3622xsp_42962 ds3617xs_42951 dva1622_42218 dva1622_42621 ds920p_42962 ds1621p_42661 dva1622_42951 ds918p_25556 dva3221_42218 ds3615xs_42661 dva3221_42951 ds3622xsp_42661 ds3622xsp_42218 ds2422p_42962 dva1622_42962 ds2422p_42218 dva3221_42621 ds3615xs_42962 ds3617xs_42962 ds3615xs_41222 ds920p_42951 ds2422p_42951 ds918p_42621 ds3617xs_42661 ds3615xs_25556 ds920p_42218 ds920p_42621 ds918p_42962 ds3615xs_42951 ds3622xsp_42951 dva1622_42661 ds918p_42218 ds2422p_42621 ds1621p_42621 ds3615xs_42621 ds3615xs_42218 ds1621p_42962 ds3622xsp_42621

[#] =======================================================================================

 

Found Ethernet Interface : pciid 10ecd00008168 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

cp: cannot stat '/home/tc/custom-module/*42218*.pat': No such file or directory

Processing add_extensions entries found on custom_config.json file :   redpill-misc

Adding extension "https://github.com/pocopico/redpill-load/raw/develop/redpill-misc/rpext-index.json"

[#] Checking runtime for required tools... [OK]

[#] Adding new extension from https://github.com/pocopico/redpill-load/raw/develop/redpill-misc/rpext-index.json...

[#] Downloading remote file https://github.com/pocopico/redpill-load/raw/develop/redpill-misc/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json

############################################################################################################################################################################################################################################### 100.0%

[OK]

[#] ========================================== redpill-misc ==========================================

[#] Extension name: Misc shell

[#] Description: Misc shell

[#] To get help visit: https://github.com/pocopico/redpill-load/raw/develop/redpill-misc

[#] Extension preparer/packer: https://github.com/pocopico/redpill-load/raw/develop/redpill-misc

[#] Software author: https://github.com/pocopico/redpill-load/raw/develop/redpill-misc

[#] Update URL: https://github.com/pocopico/redpill-load/raw/develop/redpill-misc/rpext-index.json

[#] Platforms supported: ds1621p_42218 ds1621p_42951 ds918p_41890 dva3221_42661 ds3617xs_42621 ds3617xs_42218 ds920p_42661 dva3221_42962 ds918p_42661 ds3622xsp_42962 ds3617xs_42951 ds920p_42962 ds1621p_42661 dva1622_42951 ds918p_25556 dva3221_42218 ds3615xs_42661 dva3221_42951 ds3622xsp_42661 ds3622xsp_42218 dva1622_42962 dva3221_42621 ds3615xs_42962 ds3617xs_42962 ds3615xs_41222 ds920p_42951 ds918p_42621 ds3617xs_42661 ds3615xs_25556 ds920p_42218 ds920p_42621 ds918p_42962 ds3615xs_42951 ds3622xsp_42951 dva1622_42661 ds918p_42218 ds1621p_42621 ds3615xs_42621 ds3615xs_42218 ds1621p_42962 ds3622xsp_42621

[#] =======================================================================================

 

Updating extension : redpill-misc contents for model : ds918p_42218

[#] Checking runtime for required tools... [OK]

[#] Updating ds918p_42218 platforms extensions...

[#] Downloading remote file https://github.com/pocopico/redpill-load/raw/develop/redpill-misc/recipes/universal.json to /home/tc/redpill-load/custom/extensions/_ext_new_rcp.tmp_json

############################################################################################################################################################################################################################################### 100.0%

 

[#] Filling-in newly downloaded recipe for extension redpill-misc platform ds918p_42218

[#] Downloading remote file https://github.com/pocopico/redpill-load/raw/develop/redpill-misc/releases/install.sh to /home/tc/redpill-load/custom/extensions/redpill-misc/ds918p_42218/install.sh

############################################################################################################################################################################################################################################### 100.0%

[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-misc/ds918p_42218/install.sh file... [OK]

[#] Downloading remote file https://github.com/pocopico/redpill-load/raw/develop/redpill-misc/releases/install-all.sh to /home/tc/redpill-load/custom/extensions/redpill-misc/ds918p_42218/install-all.sh

############################################################################################################################################################################################################################################### 100.0%

[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-misc/ds918p_42218/install-all.sh file... [OK]

[#] Downloading remote file https://github.com/tsl0922/ttyd/releases/download/1.6.3/ttyd.x86_64 to /home/tc/redpill-load/custom/extensions/redpill-misc/ds918p_42218/ttyd

############################################################################################################################################################################################################################################### 100.0%

[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-misc/ds918p_42218/ttyd file... [OK]

[#] Downloading remote file https://github.com/pocopico/redpill-load/raw/develop/redpill-misc/releases/install_rd.sh to /home/tc/redpill-load/custom/extensions/redpill-misc/ds918p_42218/install_rd.sh

############################################################################################################################################################################################################################################### 100.0%

[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-misc/ds918p_42218/install_rd.sh file... [OK]

[#] Downloading remote file https://github.com/pocopico/redpill-load/raw/develop/redpill-misc/releases/lrzsz.tar.gz to /home/tc/redpill-load/custom/extensions/redpill-misc/ds918p_42218/lrzsz.tar.gz

############################################################################################################################################################################################################################################### 100.0%

[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-misc/ds918p_42218/lrzsz.tar.gz file... [OK]

[#] Unpacking files from /home/tc/redpill-load/custom/extensions/redpill-misc/ds918p_42218/lrzsz.tar.gz to /home/tc/redpill-load/custom/extensions/redpill-misc/ds918p_42218/... [OK]

[#] Successfully processed recipe for extension redpill-misc platform ds918p_42218

[#] Unpacking files from /home/tc/redpill-load/custom/extensions/redpill-misc/ds918p_42218/lrzsz.tar.gz to /home/tc/redpill-load/custom/extensions/redpill-misc/ds918p_42218/... [OK]

[#] Checking runtime for required tools... [OK]

[#] Updating extensions...

 

[#] Checking runtime for required tools... [OK]

[#] Adding new extension from https://github.com/pocopico/rp-ext/raw/main/redpill-boot-wait/rpext-index.json...

[#] Downloading remote file https://github.com/pocopico/rp-ext/raw/main/redpill-boot-wait/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json

############################################################################################################################################################################################################################################### 100.0%

[OK]

[#] ========================================== redpill-boot-wait ==========================================

[#] Extension name: RedPill Bootwait

[#] Description: Simple extension which stops the execution early waiting for the boot device to appear

[#] To get help visit: https://github.com/pocopico/rp-ext/redpill-boot-wait

[#] Extension preparer/packer: https://github.com/pocopico/rp-ext/tree/main/redpill-boot-wait

[#] Update URL: https://raw.githubusercontent.com/pocopico/rp-ext/master/redpill-boot-wait/rpext-index.json

[#] Platforms supported: ds1621p_42218 ds1621p_42951 ds918p_41890 dva3221_42661 ds3617xs_42621 ds3617xs_42218 ds920p_42661 dva3221_42962 ds918p_42661 ds3622xsp_42962 ds3617xs_42951 ds920p_42962 ds1621p_42661 dva1622_42951 ds918p_25556 dva3221_42218 ds3615xs_42661 dva3221_42951 ds3622xsp_42661 ds2422p_42661 ds3622xsp_42218 ds2422p_42962 dva1622_42962 ds2422p_42218 dva3221_42621 ds3615xs_42962 ds3617xs_42962 ds3615xs_41222 ds920p_42951 ds2422p_42951 ds918p_42621 ds3617xs_42661 ds3615xs_25556 ds920p_42218 ds920p_42621 ds918p_42962 ds3615xs_42951 ds3622xsp_42951 ds920p_42550 dva1622_42661 ds918p_42218 ds2422p_42621 ds1621p_42621 ds3615xs_42621 ds3615xs_42218 ds1621p_42962 ds3622xsp_42621

[#] =======================================================================================

 

[#] Checking runtime for required tools... [OK]

[#] Updating pocopico.r8169 extension...

[#] 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%

 

[#] Extension pocopico.r8169 index is already up to date

[#] Updating redpill-boot-wait extension...

[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/redpill-boot-wait/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json

############################################################################################################################################################################################################################################### 100.0%

 

[#] Extension redpill-boot-wait index is already up to date

[#] Updating redpill-misc extension...

[#] Downloading remote file https://github.com/pocopico/redpill-load/raw/develop/redpill-misc/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json

############################################################################################################################################################################################################################################### 100.0%

 

[#] Extension redpill-misc index is already up to date

[#] Updating redpill-misc extension... [OK]

[#] Checking runtime for required tools... [OK]

[#] Updating ds918p_42218 platforms extensions...

[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/r8169/releases/ds918p_42218.json to /home/tc/redpill-load/custom/extensions/_ext_new_rcp.tmp_json

############################################################################################################################################################################################################################################### 100.0%

 

[#] Filling-in newly downloaded recipe for extension pocopico.r8169 platform ds918p_42218

[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/r8169/releases/r8169-4.4.180plus.tgz to /home/tc/redpill-load/custom/extensions/pocopico.r8169/ds918p_42218/r8169-4.4.180plus.tgz

############################################################################################################################################################################################################################################### 100.0%

[#] Verifying /home/tc/redpill-load/custom/extensions/pocopico.r8169/ds918p_42218/r8169-4.4.180plus.tgz file... [OK]

[#] Unpacking files from /home/tc/redpill-load/custom/extensions/pocopico.r8169/ds918p_42218/r8169-4.4.180plus.tgz to /home/tc/redpill-load/custom/extensions/pocopico.r8169/ds918p_42218/... [OK]

[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/r8169/src/check-r8169.sh to /home/tc/redpill-load/custom/extensions/pocopico.r8169/ds918p_42218/check-r8169.sh

############################################################################################################################################################################################################################################### 100.0%

[#] Verifying /home/tc/redpill-load/custom/extensions/pocopico.r8169/ds918p_42218/check-r8169.sh file... [OK]

[#] Successfully processed recipe for extension pocopico.r8169 platform ds918p_42218

[#] Downloading remote file https://github.com/RedPill-TTG/redpill-boot-wait/raw/master/recipes/universal.json to /home/tc/redpill-load/custom/extensions/_ext_new_rcp.tmp_json

############################################################################################################################################################################################################################################### 100.0%

[#] Filling-in newly downloaded recipe for extension redpill-boot-wait platform ds918p_42218

[#] Downloading remote file https://raw.githubusercontent.com/RedPill-TTG/redpill-boot-wait/master/src/boot-wait.sh to /home/tc/redpill-load/custom/extensions/redpill-boot-wait/ds918p_42218/boot-wait.sh

############################################################################################################################################################################################################################################### 100.0%

[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-boot-wait/ds918p_42218/boot-wait.sh file... [OK]

[#] Successfully processed recipe for extension redpill-boot-wait platform ds918p_42218

[#] Downloading remote file https://github.com/pocopico/redpill-load/raw/develop/redpill-misc/recipes/universal.json to /home/tc/redpill-load/custom/extensions/_ext_new_rcp.tmp_json

############################################################################################################################################################################################################################################### 100.0%

[#] Extension redpill-misc for ds918p_42218 platform is already up to date

[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-boot-wait/ds918p_42218/boot-wait.sh file... [OK]

[#] Updating extensions... [OK]

[#] PAT file /home/tc/redpill-load/cache/ds918p_42218.pat not found - downloading from https://global.download.synology.com/download/DSM/release/7.0.1/42218/DSM_DS918%2B_42218.pat

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

100  338M  100  338M    0     0  10.8M      0  0:00:31  0:00:31 --:--:-- 10.6M

[#] Verifying /home/tc/redpill-load/cache/ds918p_42218.pat file... [OK]

[#] Unpacking /home/tc/redpill-load/cache/ds918p_42218.pat file to /home/tc/redpill-load/build/1663851662/pat-ds918p_42218-unpacked... [OK]

[#] Verifying /home/tc/redpill-load/build/1663851662/pat-ds918p_42218-unpacked/zImage file... [OK]

[#] Patching /home/tc/redpill-load/build/1663851662/pat-ds918p_42218-unpacked/zImage to /home/tc/redpill-load/build/1663851662/zImage-patched... [OK]

[#] Verifying /home/tc/redpill-load/build/1663851662/pat-ds918p_42218-unpacked/rd.gz file... [OK]

[#] Unpacking /home/tc/redpill-load/build/1663851662/pat-ds918p_42218-unpacked/rd.gz file to /home/tc/redpill-load/build/1663851662/rd-ds918p_42218-unpacked... [OK]

[#] Apply patches to /home/tc/redpill-load/build/1663851662/rd-ds918p_42218-unpacked... [OK]

[#] Patching config files in ramdisk... [OK]

[#] Adding OS config patching... [OK]

[#] Repacking ramdisk to /home/tc/redpill-load/build/1663851662/rd-patched-ds918p_42218.gz... [OK]

[#] Bundling extensions... [#] Checking runtime for required tools... [OK]

[#] Dumping ds918p_42218 platform extensions to /home/tc/redpill-load/build/1663851662/custom-initrd/exts... [OK]

[#] Packing custom ramdisk layer to /home/tc/redpill-load/build/1663851662/custom.gz... [OK]

[#] Generating GRUB config... [OK]

[#] Creating loader image at loader.img... [OK]

[#] Cleaning up... [OK]

Mounting /dev/sdb1 to localdiskp1

/dev/sdb2 localdiskp2

Creating tinycore entry

menuentry 'Tiny Core Image Build' {

        savedefault

        set root=(hd0,msdos3)

        echo Loading Linux...

        linux /vmlinuz64 loglevel=3 cde waitusb=5 vga=791

        echo Loading initramfs...

        initrd /corepure64.gz

        echo Booting TinyCore for loader creation

}

Bringing over my friend

############################################################################################################################################################################################################################################### 100.0%

############################################################################################################################################################################################################################################### 100.0%

############################################################################################################################################################################################################################################### 100.0%

bzImage-friend checksum OK !

initrd-friend checksum OK !

menuentry 'Tiny Core Friend' {

        savedefault

        set root=(hd0,msdos3)

        echo Loading Linux...

        linux /bzImage-friend loglevel=3 cde waitusb=5 vga=791

        echo Loading initramfs...

        initrd /initrd-friend

        echo Booting TinyCore Friend

}

Entries in Localdisk bootloader :

=======================================================================

menuentry 'RedPill DS918+ v7.0.1-42218 (USB, Verbose)' {

menuentry 'RedPill DS918+ v7.0.1-42218 (SATA, Verbose)' {

menuentry 'Tiny Core Image Build' {

menuentry 'Tiny Core Friend' {

Updated user_config with USB Command Line : withefi earlyprintk syno_hw_version=DS918+ console=ttyS0,115200n8 netif_num=1 pid=0xa4a5 earlycon=uart8250,io,0x3f8,115200n8 syno_port_thaw=1 mac1=001132CBD5B1 sn=2040SQRM4YYWD vid=0x0525 elevator=elevator loglevel=15 HddHotplug=0 DiskIdxMap=0A00 syno_hdd_detect=0 vender_format_version=2 syno_hdd_powerup_seq=1 log_buf_len=32M root=/dev/md0 SataPortMap=58

Updated user_config with SATA Command Line : withefi earlyprintk syno_hw_version=DS918+ console=ttyS0,115200n8 netif_num=1 pid=0xa4a5 earlycon=uart8250,io,0x3f8,115200n8 synoboot_satadom=2 syno_port_thaw=1 mac1=001132CBD5B1 sn=2040SQRM4YYWD vid=0x0525 elevator=elevator loglevel=15 HddHotplug=0 DiskIdxMap=0A00 syno_hdd_detect=0 vender_format_version=2 syno_hdd_powerup_seq=1 log_buf_len=32M root=/dev/md0 SataPortMap=58

Ramdisk in not compressed

33648 blocks

3314 blocks

36960 blocks

Setting default boot entry to TCRP Friend

Cleaning up files

Caching files for future use

Found /home/tc/redpill-load/cache/ds918p_42218.pat, copying to cache directory : /mnt/sdb3/auxfiles

Saving user session for future use. Saving current extensions  -> OK !

Saving current user_config.json  -> OK !

 


 

Spoiler

 

tc@box:~$ ifconfig

eth0      Link encap:Ethernet  HWaddr EC:8E:.........

          inet addr:192.168.0.139  Bcast:192.168.0.255  Mask:255.255.255.0

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:377446 errors:0 dropped:147 overruns:0 frame:0

          TX packets:142892 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:552082631 (526.5 MiB)  TX bytes:10342384 (9.8 MiB)

 

IMG_0792.jpg

Link to comment
Share on other sites

On 9/22/2022 at 8:38 PM, keasee said:

Hi Poco, Hi Peter

 

Installation works fine with local ip (via dhcp)!

but after reboot, I don't have any network interface anymore - it is dead - not connecting.

 

changed serial and satamap afterwards and built again.

 

do I need a special add-on or driver and how to add it?

 

best Mondi

 

  Install Process (Hide contents)

 

tc@box:~$ ./rploader.sh upgrade

rploader.sh

 

Version : 0.9.0.2

----------------------------------------------------------------------------------------

 

Usage: ./rploader.sh <action> <platform version> <static or compile module> [extension manager arguments]

 

Actions: build, ext, download, clean, update, listmod, serialgen, identifyusb, patchdtc,

satamap, backup, backuploader, restoreloader, restoresession, mountdsmroot, postupdate,

mountshare, version, monitor, help

 

----------------------------------------------------------------------------------------

Available platform versions:

----------------------------------------------------------------------------------------

apollolake-7.0-41890

apollolake-7.0.1-42218

apollo.....

 

----------------------------------------------------------------------------------------

Check custom_config.json for platform settings.

tc@box:~$ ./rploader.sh fullupgrade

Performing a full TCRP upgrade

Warning some of your local files will be moved to /home/tc/old/xxxx.2022-Sep-22-12-59

Updating custom_config.json

.........................................

 

Please make sure you are using the latest 1GB img before using backup option

Current /home/tc size is 3.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]

y

Backing up home files to sdb : Backing up files to /mnt/sdb3//mydata.tgz

Done.

 

tc@box:~$ ./rploader.sh clean

Clearing local redpill files

tc@box:~$ ./rploader.sh build apollolake-7.0.1-42218 withfriend

ln: failed to create symbolic link '/lib64': Permission denied

bspatch does not exist, bringing over from repo

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

100 10232  100 10232    0     0  37896      0 --:--:-- --:--:-- --:--:-- 37896

Rploader Version : 0.9.2.1

Loader source : https://github.com/pocopico/redpill-load.git Loader Branch : develop

Redpill module source : https://github.com/pocopico/redpill-lkm.git : Redpill module branch : master

Extensions :   redpill-misc

Extensions URL : "https://github.com/pocopico/redpill-load/raw/develop/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.0.1

TARGET_REVISION : 42218

REDPILL_LKM_MAKE_TARGET : test-v7

KERNEL_MAJOR : 4

MODULE_ALIAS_FILE :  modules.alias.4.json

SYNOMODEL : ds918p_42218

MODEL : DS918+

Local Cache Folder : /mnt/sdb3/auxfiles

DATE Internet : 22092022 Local : 22092022

Checking Internet Access -> OK

Checking if a newer version exists on the develop repo -> Version is current

Cloning into 'redpill-lkm'...

remote: Enumerating objects: 1398, done.

remote: Counting objects: 100% (470/470), done.

remote: Compressing objects: 100% (134/134), done.

remote: Total 1398 (delta 355), reused 405 (delta 323), pack-reused 928

Receiving objects: 100% (1398/1398), 2.78 MiB | 3.98 MiB/s, done.

Resolving deltas: 100% (918/918), done.

Cloning into 'redpill-load'...

remote: Enumerating objects: 2565, done.

remote: Counting objects: 100% (51/51), done.

remote: Compressing objects: 100% (45/45), done.

remote: Total 2565 (delta 19), reused 27 (delta 6), pack-reused 2514

Receiving objects: 100% (2565/2565), 117.40 MiB | 8.79 MiB/s, done.

Resolving deltas: 100% (1244/1244), done.

withfriend option set, My friend will be added

No extra build option or static specified, using default <static>

Using static compiled redpill extension

Removing any old redpill.ko modules

Looking for redpill for : ds918p_42218

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 8086d00001912  Required Extension : i915

Searching for matching extension for i915

Found SATA Controller : pciid 8086d0000a102  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 ds1621p_42951 ds918p_41890 dva3221_42661 ds3617xs_42621 ds3617xs_42218 ds920p_42661 dva3221_42962 ds918p_42661 ds3622xsp_42962 ds3617xs_42951 dva1622_42218 dva1622_42621 ds920p_42962 ds1621p_42661 dva1622_42951 ds918p_25556 dva3221_42218 ds3615xs_42661 dva3221_42951 ds3622xsp_42661 ds3622xsp_42218 ds2422p_42962 dva1622_42962 ds2422p_42218 dva3221_42621 ds3615xs_42962 ds3617xs_42962 ds3615xs_41222 ds920p_42951 ds2422p_42951 ds918p_42621 ds3617xs_42661 ds3615xs_25556 ds920p_42218 ds920p_42621 ds918p_42962 ds3615xs_42951 ds3622xsp_42951 dva1622_42661 ds918p_42218 ds2422p_42621 ds1621p_42621 ds3615xs_42621 ds3615xs_42218 ds1621p_42962 ds3622xsp_42621

[#] =======================================================================================

 

Found Ethernet Interface : pciid 10ecd00008168 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

cp: cannot stat '/home/tc/custom-module/*42218*.pat': No such file or directory

Processing add_extensions entries found on custom_config.json file :   redpill-misc

Adding extension "https://github.com/pocopico/redpill-load/raw/develop/redpill-misc/rpext-index.json"

[#] Checking runtime for required tools... [OK]

[#] Adding new extension from https://github.com/pocopico/redpill-load/raw/develop/redpill-misc/rpext-index.json...

[#] Downloading remote file https://github.com/pocopico/redpill-load/raw/develop/redpill-misc/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json

############################################################################################################################################################################################################################################### 100.0%

[OK]

[#] ========================================== redpill-misc ==========================================

[#] Extension name: Misc shell

[#] Description: Misc shell

[#] To get help visit: https://github.com/pocopico/redpill-load/raw/develop/redpill-misc

[#] Extension preparer/packer: https://github.com/pocopico/redpill-load/raw/develop/redpill-misc

[#] Software author: https://github.com/pocopico/redpill-load/raw/develop/redpill-misc

[#] Update URL: https://github.com/pocopico/redpill-load/raw/develop/redpill-misc/rpext-index.json

[#] Platforms supported: ds1621p_42218 ds1621p_42951 ds918p_41890 dva3221_42661 ds3617xs_42621 ds3617xs_42218 ds920p_42661 dva3221_42962 ds918p_42661 ds3622xsp_42962 ds3617xs_42951 ds920p_42962 ds1621p_42661 dva1622_42951 ds918p_25556 dva3221_42218 ds3615xs_42661 dva3221_42951 ds3622xsp_42661 ds3622xsp_42218 dva1622_42962 dva3221_42621 ds3615xs_42962 ds3617xs_42962 ds3615xs_41222 ds920p_42951 ds918p_42621 ds3617xs_42661 ds3615xs_25556 ds920p_42218 ds920p_42621 ds918p_42962 ds3615xs_42951 ds3622xsp_42951 dva1622_42661 ds918p_42218 ds1621p_42621 ds3615xs_42621 ds3615xs_42218 ds1621p_42962 ds3622xsp_42621

[#] =======================================================================================

 

Updating extension : redpill-misc contents for model : ds918p_42218

[#] Checking runtime for required tools... [OK]

[#] Updating ds918p_42218 platforms extensions...

[#] Downloading remote file https://github.com/pocopico/redpill-load/raw/develop/redpill-misc/recipes/universal.json to /home/tc/redpill-load/custom/extensions/_ext_new_rcp.tmp_json

############################################################################################################################################################################################################################################### 100.0%

 

[#] Filling-in newly downloaded recipe for extension redpill-misc platform ds918p_42218

[#] Downloading remote file https://github.com/pocopico/redpill-load/raw/develop/redpill-misc/releases/install.sh to /home/tc/redpill-load/custom/extensions/redpill-misc/ds918p_42218/install.sh

############################################################################################################################################################################################################################################### 100.0%

[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-misc/ds918p_42218/install.sh file... [OK]

[#] Downloading remote file https://github.com/pocopico/redpill-load/raw/develop/redpill-misc/releases/install-all.sh to /home/tc/redpill-load/custom/extensions/redpill-misc/ds918p_42218/install-all.sh

############################################################################################################################################################################################################################################### 100.0%

[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-misc/ds918p_42218/install-all.sh file... [OK]

[#] Downloading remote file https://github.com/tsl0922/ttyd/releases/download/1.6.3/ttyd.x86_64 to /home/tc/redpill-load/custom/extensions/redpill-misc/ds918p_42218/ttyd

############################################################################################################################################################################################################################################### 100.0%

[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-misc/ds918p_42218/ttyd file... [OK]

[#] Downloading remote file https://github.com/pocopico/redpill-load/raw/develop/redpill-misc/releases/install_rd.sh to /home/tc/redpill-load/custom/extensions/redpill-misc/ds918p_42218/install_rd.sh

############################################################################################################################################################################################################################################### 100.0%

[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-misc/ds918p_42218/install_rd.sh file... [OK]

[#] Downloading remote file https://github.com/pocopico/redpill-load/raw/develop/redpill-misc/releases/lrzsz.tar.gz to /home/tc/redpill-load/custom/extensions/redpill-misc/ds918p_42218/lrzsz.tar.gz

############################################################################################################################################################################################################################################### 100.0%

[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-misc/ds918p_42218/lrzsz.tar.gz file... [OK]

[#] Unpacking files from /home/tc/redpill-load/custom/extensions/redpill-misc/ds918p_42218/lrzsz.tar.gz to /home/tc/redpill-load/custom/extensions/redpill-misc/ds918p_42218/... [OK]

[#] Successfully processed recipe for extension redpill-misc platform ds918p_42218

[#] Unpacking files from /home/tc/redpill-load/custom/extensions/redpill-misc/ds918p_42218/lrzsz.tar.gz to /home/tc/redpill-load/custom/extensions/redpill-misc/ds918p_42218/... [OK]

[#] Checking runtime for required tools... [OK]

[#] Updating extensions...

 

[#] Checking runtime for required tools... [OK]

[#] Adding new extension from https://github.com/pocopico/rp-ext/raw/main/redpill-boot-wait/rpext-index.json...

[#] Downloading remote file https://github.com/pocopico/rp-ext/raw/main/redpill-boot-wait/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json

############################################################################################################################################################################################################################################### 100.0%

[OK]

[#] ========================================== redpill-boot-wait ==========================================

[#] Extension name: RedPill Bootwait

[#] Description: Simple extension which stops the execution early waiting for the boot device to appear

[#] To get help visit: https://github.com/pocopico/rp-ext/redpill-boot-wait

[#] Extension preparer/packer: https://github.com/pocopico/rp-ext/tree/main/redpill-boot-wait

[#] Update URL: https://raw.githubusercontent.com/pocopico/rp-ext/master/redpill-boot-wait/rpext-index.json

[#] Platforms supported: ds1621p_42218 ds1621p_42951 ds918p_41890 dva3221_42661 ds3617xs_42621 ds3617xs_42218 ds920p_42661 dva3221_42962 ds918p_42661 ds3622xsp_42962 ds3617xs_42951 ds920p_42962 ds1621p_42661 dva1622_42951 ds918p_25556 dva3221_42218 ds3615xs_42661 dva3221_42951 ds3622xsp_42661 ds2422p_42661 ds3622xsp_42218 ds2422p_42962 dva1622_42962 ds2422p_42218 dva3221_42621 ds3615xs_42962 ds3617xs_42962 ds3615xs_41222 ds920p_42951 ds2422p_42951 ds918p_42621 ds3617xs_42661 ds3615xs_25556 ds920p_42218 ds920p_42621 ds918p_42962 ds3615xs_42951 ds3622xsp_42951 ds920p_42550 dva1622_42661 ds918p_42218 ds2422p_42621 ds1621p_42621 ds3615xs_42621 ds3615xs_42218 ds1621p_42962 ds3622xsp_42621

[#] =======================================================================================

 

[#] Checking runtime for required tools... [OK]

[#] Updating pocopico.r8169 extension...

[#] 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%

 

[#] Extension pocopico.r8169 index is already up to date

[#] Updating redpill-boot-wait extension...

[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/redpill-boot-wait/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json

############################################################################################################################################################################################################################################### 100.0%

 

[#] Extension redpill-boot-wait index is already up to date

[#] Updating redpill-misc extension...

[#] Downloading remote file https://github.com/pocopico/redpill-load/raw/develop/redpill-misc/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json

############################################################################################################################################################################################################################################### 100.0%

 

[#] Extension redpill-misc index is already up to date

[#] Updating redpill-misc extension... [OK]

[#] Checking runtime for required tools... [OK]

[#] Updating ds918p_42218 platforms extensions...

[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/r8169/releases/ds918p_42218.json to /home/tc/redpill-load/custom/extensions/_ext_new_rcp.tmp_json

############################################################################################################################################################################################################################################### 100.0%

 

[#] Filling-in newly downloaded recipe for extension pocopico.r8169 platform ds918p_42218

[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/r8169/releases/r8169-4.4.180plus.tgz to /home/tc/redpill-load/custom/extensions/pocopico.r8169/ds918p_42218/r8169-4.4.180plus.tgz

############################################################################################################################################################################################################################################### 100.0%

[#] Verifying /home/tc/redpill-load/custom/extensions/pocopico.r8169/ds918p_42218/r8169-4.4.180plus.tgz file... [OK]

[#] Unpacking files from /home/tc/redpill-load/custom/extensions/pocopico.r8169/ds918p_42218/r8169-4.4.180plus.tgz to /home/tc/redpill-load/custom/extensions/pocopico.r8169/ds918p_42218/... [OK]

[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/r8169/src/check-r8169.sh to /home/tc/redpill-load/custom/extensions/pocopico.r8169/ds918p_42218/check-r8169.sh

############################################################################################################################################################################################################################################### 100.0%

[#] Verifying /home/tc/redpill-load/custom/extensions/pocopico.r8169/ds918p_42218/check-r8169.sh file... [OK]

[#] Successfully processed recipe for extension pocopico.r8169 platform ds918p_42218

[#] Downloading remote file https://github.com/RedPill-TTG/redpill-boot-wait/raw/master/recipes/universal.json to /home/tc/redpill-load/custom/extensions/_ext_new_rcp.tmp_json

############################################################################################################################################################################################################################################### 100.0%

[#] Filling-in newly downloaded recipe for extension redpill-boot-wait platform ds918p_42218

[#] Downloading remote file https://raw.githubusercontent.com/RedPill-TTG/redpill-boot-wait/master/src/boot-wait.sh to /home/tc/redpill-load/custom/extensions/redpill-boot-wait/ds918p_42218/boot-wait.sh

############################################################################################################################################################################################################################################### 100.0%

[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-boot-wait/ds918p_42218/boot-wait.sh file... [OK]

[#] Successfully processed recipe for extension redpill-boot-wait platform ds918p_42218

[#] Downloading remote file https://github.com/pocopico/redpill-load/raw/develop/redpill-misc/recipes/universal.json to /home/tc/redpill-load/custom/extensions/_ext_new_rcp.tmp_json

############################################################################################################################################################################################################################################### 100.0%

[#] Extension redpill-misc for ds918p_42218 platform is already up to date

[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-boot-wait/ds918p_42218/boot-wait.sh file... [OK]

[#] Updating extensions... [OK]

[#] PAT file /home/tc/redpill-load/cache/ds918p_42218.pat not found - downloading from https://global.download.synology.com/download/DSM/release/7.0.1/42218/DSM_DS918%2B_42218.pat

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

100  338M  100  338M    0     0  10.8M      0  0:00:31  0:00:31 --:--:-- 10.6M

[#] Verifying /home/tc/redpill-load/cache/ds918p_42218.pat file... [OK]

[#] Unpacking /home/tc/redpill-load/cache/ds918p_42218.pat file to /home/tc/redpill-load/build/1663851662/pat-ds918p_42218-unpacked... [OK]

[#] Verifying /home/tc/redpill-load/build/1663851662/pat-ds918p_42218-unpacked/zImage file... [OK]

[#] Patching /home/tc/redpill-load/build/1663851662/pat-ds918p_42218-unpacked/zImage to /home/tc/redpill-load/build/1663851662/zImage-patched... [OK]

[#] Verifying /home/tc/redpill-load/build/1663851662/pat-ds918p_42218-unpacked/rd.gz file... [OK]

[#] Unpacking /home/tc/redpill-load/build/1663851662/pat-ds918p_42218-unpacked/rd.gz file to /home/tc/redpill-load/build/1663851662/rd-ds918p_42218-unpacked... [OK]

[#] Apply patches to /home/tc/redpill-load/build/1663851662/rd-ds918p_42218-unpacked... [OK]

[#] Patching config files in ramdisk... [OK]

[#] Adding OS config patching... [OK]

[#] Repacking ramdisk to /home/tc/redpill-load/build/1663851662/rd-patched-ds918p_42218.gz... [OK]

[#] Bundling extensions... [#] Checking runtime for required tools... [OK]

[#] Dumping ds918p_42218 platform extensions to /home/tc/redpill-load/build/1663851662/custom-initrd/exts... [OK]

[#] Packing custom ramdisk layer to /home/tc/redpill-load/build/1663851662/custom.gz... [OK]

[#] Generating GRUB config... [OK]

[#] Creating loader image at loader.img... [OK]

[#] Cleaning up... [OK]

Mounting /dev/sdb1 to localdiskp1

/dev/sdb2 localdiskp2

Creating tinycore entry

menuentry 'Tiny Core Image Build' {

        savedefault

        set root=(hd0,msdos3)

        echo Loading Linux...

        linux /vmlinuz64 loglevel=3 cde waitusb=5 vga=791

        echo Loading initramfs...

        initrd /corepure64.gz

        echo Booting TinyCore for loader creation

}

Bringing over my friend

############################################################################################################################################################################################################################################### 100.0%

############################################################################################################################################################################################################################################### 100.0%

############################################################################################################################################################################################################################################### 100.0%

bzImage-friend checksum OK !

initrd-friend checksum OK !

menuentry 'Tiny Core Friend' {

        savedefault

        set root=(hd0,msdos3)

        echo Loading Linux...

        linux /bzImage-friend loglevel=3 cde waitusb=5 vga=791

        echo Loading initramfs...

        initrd /initrd-friend

        echo Booting TinyCore Friend

}

Entries in Localdisk bootloader :

=======================================================================

menuentry 'RedPill DS918+ v7.0.1-42218 (USB, Verbose)' {

menuentry 'RedPill DS918+ v7.0.1-42218 (SATA, Verbose)' {

menuentry 'Tiny Core Image Build' {

menuentry 'Tiny Core Friend' {

Updated user_config with USB Command Line : withefi earlyprintk syno_hw_version=DS918+ console=ttyS0,115200n8 netif_num=1 pid=0xa4a5 earlycon=uart8250,io,0x3f8,115200n8 syno_port_thaw=1 mac1=001132CBD5B1 sn=2040SQRM4YYWD vid=0x0525 elevator=elevator loglevel=15 HddHotplug=0 DiskIdxMap=0A00 syno_hdd_detect=0 vender_format_version=2 syno_hdd_powerup_seq=1 log_buf_len=32M root=/dev/md0 SataPortMap=58

Updated user_config with SATA Command Line : withefi earlyprintk syno_hw_version=DS918+ console=ttyS0,115200n8 netif_num=1 pid=0xa4a5 earlycon=uart8250,io,0x3f8,115200n8 synoboot_satadom=2 syno_port_thaw=1 mac1=001132CBD5B1 sn=2040SQRM4YYWD vid=0x0525 elevator=elevator loglevel=15 HddHotplug=0 DiskIdxMap=0A00 syno_hdd_detect=0 vender_format_version=2 syno_hdd_powerup_seq=1 log_buf_len=32M root=/dev/md0 SataPortMap=58

Ramdisk in not compressed

33648 blocks

3314 blocks

36960 blocks

Setting default boot entry to TCRP Friend

Cleaning up files

Caching files for future use

Found /home/tc/redpill-load/cache/ds918p_42218.pat, copying to cache directory : /mnt/sdb3/auxfiles

Saving user session for future use. Saving current extensions  -> OK !

Saving current user_config.json  -> OK !


 

  ifconfig (Hide contents)

 

tc@box:~$ ifconfig

eth0      Link encap:Ethernet  HWaddr EC:8E:.........

          inet addr:192.168.0.139  Bcast:192.168.0.255  Mask:255.255.255.0

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:377446 errors:0 dropped:147 overruns:0 frame:0

          TX packets:142892 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:552082631 (526.5 MiB)  TX bytes:10342384 (9.8 MiB)

 

IMG_0792.jpg

 

 

No you have your extensions identified. It should work. Can you please stop boot by pressing <ctrl-c> before the timeour and run an lsmod ? 

Link to comment
Share on other sites

  • Polanskiman changed the title to TinyCore RedPill loader (TCRP) - Development release 0.9

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...