Jump to content
XPEnology Community

TinyCore RedPill loader (TCRP) - Development release 0.9


Recommended Posts

On 9/22/2022 at 11:05 PM, cferra said:

@pocopicoSo i feel out of the loop a bit, what does friend allow us to do? Direct updates from synology? More?  Color me intrigued - willing to test but a bit confused. 
 

how can I help?

 

Direct updates is a bit trickier than what it looks and we should in general avoid any updates before we are certain the update will not brake our systems.

 

Its for controlled updates and automatic patching similarly to what Jumkey did with JUN mode or with that fabio does on ARPL.

Link to comment
Share on other sites

I've tested all platforms that i support and fixed any issues i've found.

 

DS3615xs
DS3622xs
DS918+
DS920+
DVA3221 
DS3617xs
DS1621+
DVA1622

 

@Peter Suh can you please tell me which platforms you would also want TCRP Friend for ? 

 

Also for old installations that need add friend, you can execute :
 

./rploader.sh update
./rploader.sh fullupgrade
./rploader.sh bringfriend
  • Like 1
Link to comment
Share on other sites

@pocopico

yes of course, it worked as DS918+ with 6.2.3 (last update before DSM Change) and I've one equal HP 400 G2  running with that version... 

and I had once an early DSM 7 installed, but wanted to switch to JUNs method ... but no success anymore .

When installing first time,  NIC was working and I had connectivity but error because of SSD Error

 

Will try to install again from scratch ...

 

best keasee

Link to comment
Share on other sites

1 hour ago, pocopico said:

I've tested all platforms that i support and fixed any issues i've found.

 

DS3615xs
DS3622xs
DS918+
DS920+
DVA3221 
DS3617xs
DS1621+
DVA1622

 

@Peter Suh can you please tell me which platforms you would also want TCRP Friend for ? 

 

Also for old installations that need add friend, you can execute :

 

./rploader.sh update

./rploader.sh fullupgrade

./rploader.sh bringfriend

 

 

 

 

 

Did you read the results of my last test?  I had a problem with DS920+ and DS1621+.  I'll try again with a modified version.

Edited by Peter Suh
Link to comment
Share on other sites

1 hour ago, keasee said:

@pocopico

yes of course, it worked as DS918+ with 6.2.3 (last update before DSM Change) and I've one equal HP 400 G2  running with that version... 

and I had once an early DSM 7 installed, but wanted to switch to JUNs method ... but no success anymore .

When installing first time,  NIC was working and I had connectivity but error because of SSD Error

 

Will try to install again from scratch ...

 

best keasee

 

In my opinion, it would be better to test with existing TCRP first rather than with TCRP friends.  Let's analyze the junior log through ttyd.  I think you can check if the ssd's error is preventing the nic from booting.

Link to comment
Share on other sites

I see an error in two place in the bringfriend action.
I ignored it once and entered all y and proceeded.
is it ok?

 

tc@box:~$ ll
Mounting bootloader disk to get grub contents
mount: /mnt/sda1: /dev/sda1 already mounted on /mnt/sda1.
Mounted succesfully : /dev/sda1        48M   39M  9.6M  81% /mnt/sda1  -> Grub cfg is accessible and readable
Getting known loader grub variables
Sourcing vars, found in grub : 
/tmp/known.vars: line 1: DiskIdxMap: command not found
/tmp/known.vars: line 2: SataPortMap: command not found
Serial         | Mac             | Netif_num  | PID        | VID        | SataPortMap     | DiskIdxMap      
2040SQRM4YYWD  | 0011322A46E9    | 1          | 0xa4a5     | 0x0525     |                 |                 
Checking user config against grub vars
Grub var pid = 0xa4a5 Matches your user_config.json
Grub var vid = 0x0525 Matches your user_config.json
Grub var sn = 2040SQRM4YYWD Matches your user_config.json
Grub var mac1 = 0011322A46E9 Matches your user_config.json
./rploader.sh: line 138: [: ==: unary operator expected
Grub var SataPortMap =  does not match your user_config.json variable which is set to :  
Should we populate user_config.json with these variables ? [Yy/Nn] 
y
./rploader.sh: line 138: [: ==: unary operator expected
Grub var DiskIdxMap =  does not match your user_config.json variable which is set to :  
Should we populate user_config.json with these variables ? [Yy/Nn] 
y
Your TCRP friend seems in place, do you want to re-run the process ?
y
OK re-running the TCRP Friend bring over process
You are upgrading your system with TCRP friend.
Your system will still be able to boot using the USB/SATA options.
After bringing over TCRP Friend, The default boot option will be set TCRP Friend.
You will still have the option to move to SATA/USB but for automatic patching after an update,
please leave the default to TCRR Friend
If you agree with the above, please answer [Yy/Nn]y
Compining rd.gz and custom.gz and copying zimage to sda3 
Ramdisk in not compressed 
47493 blocks
Checking user config for general block
Result={
  "model": "DS1621+",
  "version": "7.0.1-42218",
  "zimghash": "f4648d0dd6b29ef6149b0ff46afe1fe32f81730aa79af72f37ffd3647c76f586",
  "rdhash": "73512c7bceb34cf7f7f93c2703db60496da0e27274fc45e5aefa0366c9734d6e",
  "usb_line": "earlyprintk syno_hw_version=DS1621+ console=ttyS0,115200n8 netif_num=1 synoboot2 pid=0xa4a5 earlycon=uart8250,io,0x3f8,115200n8 mac1=0011322A46E9 sn=2040SQRM4YYWD SMBusHddDynamicPower=1 vid=0x0525 elevator=elevator loglevel=15 DiskIdxMap vender_format_version=2 log_buf_len=32M root=/dev/md0 SataPortMap syno_ttyS1=serial,0x2f8 syno_ttyS0=serial,0x3f8 ",
  "sata_line": "earlyprintk syno_hw_version=DS1621+ console=ttyS0,115200n8 netif_num=1 synoboot2 pid=0xa4a5 earlycon=uart8250,io,0x3f8,115200n8 synoboot_satadom=2 mac1=0011322A46E9 sn=2040SQRM4YYWD SMBusHddDynamicPower=1 vid=0x0525 elevator=elevator loglevel=15 DiskIdxMap vender_format_version=2 log_buf_len=32M root=/dev/md0 SataPortMap syno_ttyS1=serial,0x2f8 syno_ttyS0=serial,0x3f8 "
}, File does not contain general block, adding block
Updated user_config with USB Command Line : earlyprintk syno_hw_version=DS1621+ console=ttyS0,115200n8 netif_num=1 synoboot2 pid=0xa4a5 earlycon=uart8250,io,0x3f8,115200n8 mac1=0011322A46E9 sn=2040SQRM4YYWD SMBusHddDynamicPower=1 vid=0x0525 elevator=elevator loglevel=15 DiskIdxMap vender_format_version=2 log_buf_len=32M root=/dev/md0 SataPortMap syno_ttyS1=serial,0x2f8 syno_ttyS0=serial,0x3f8 
Updated user_config with SATA Command Line : earlyprintk syno_hw_version=DS1621+ console=ttyS0,115200n8 netif_num=1 synoboot2 pid=0xa4a5 earlycon=uart8250,io,0x3f8,115200n8 synoboot_satadom=2 mac1=0011322A46E9 sn=2040SQRM4YYWD SMBusHddDynamicPower=1 vid=0x0525 elevator=elevator loglevel=15 DiskIdxMap vender_format_version=2 log_buf_len=32M root=/dev/md0 SataPortMap syno_ttyS1=serial,0x2f8 syno_ttyS0=serial,0x3f8 
Setting default boot entry to TCRP Friend
Cleaning up temp files
Unmounting file systems
tc@box:~$ 

 

Link to comment
Share on other sites

8 hours ago, pocopico said:

I've tested all platforms that i support and fixed any issues i've found.

 

DS3615xs
DS3622xs
DS918+
DS920+
DVA3221 
DS3617xs
DS1621+
DVA1622

 

@Peter Suh can you please tell me which platforms you would also want TCRP Friend for ? 

 

Also for old installations that need add friend, you can execute :

 

./rploader.sh update

./rploader.sh fullupgrade

./rploader.sh bringfriend

 

 

 

 

 

Updated DS1621+.

Loader's loading speed is much faster than last time.
Last time, the kernel shut down during the 42661 update process.
This time, after installing update 42962, the kernel enters the shutdown process.

 

1008257708_2022-09-231_16_37.png.f78241d6e4c72f6c8d5fe01e1d579625.png

 

Edited by Peter Suh
Link to comment
Share on other sites

2 hours ago, Peter Suh said:

The DS920+ remains unchanged from the original report.
The ip appears but network is not responding.

 

306586454_2022-09-232_15_02.thumb.png.1ae28a973c4aa87e75786aec60a543b2.png

 

For DS920+, i need to recreate the bsp patch and you can do the following to continue :

 

1. press control-c and run ./boot.sh patchkernel and then ./boot.sh

2. start from 42661

 

EDIT: bsp patch for DS920+ has been updated so you can recreate DS920+ 42218 and start from there.

Edited by pocopico
  • Like 1
Link to comment
Share on other sites

15 hours ago, pocopico said:

 

For DS920+, i need to recreate the bsp patch and you can do the following to continue :

 

1. press control-c and run ./boot.sh patchkernel and then ./boot.sh

2. start from 42661

 

EDIT: bsp patch for DS920+ has been updated so you can recreate DS920+ 42218 and start from there.

 

Rebuilt the loader for DS920+.
I tried to install 42218 dsm, the installation was successful, but the IP is not found again during the next boot process.

 

281472166_2022-09-247_57_34.thumb.png.c0a337f2a499c144149b64e9126fecc5.png

 

Link to comment
Share on other sites

6 hours ago, Peter Suh said:

 

Rebuilt the loader for DS920+.
I tried to install 42218 dsm, the installation was successful, but the IP is not found again during the next boot process.

 

281472166_2022-09-247_57_34.thumb.png.c0a337f2a499c144149b64e9126fecc5.png

 

 

I tried booting again the ds920+ 42218 that did not get an IP a while ago.

This time, the small update process proceeded normally, and the initial setting screen was successfully entered.

 

542779201_2022-09-242_52_30.thumb.png.aa9fdea1316ed4a16d12959925640c4d.png

Edited by Peter Suh
Link to comment
Share on other sites

1 hour ago, Peter Suh said:

 

I tried booting again the ds920+ 42218 that did not get an IP a while ago.

This time, the small update process proceeded normally, and the initial setting screen was successfully entered.

 

542779201_2022-09-242_52_30.thumb.png.aa9fdea1316ed4a16d12959925640c4d.png

 

 

Since then, I have installed 42661 and 42962 one after the other as shown in the loader below. All installations were successful,
The loader's log seems a bit odd.

204365777_2022-09-244_29_38.thumb.png.0f52b615bf974a86a8455dbc33493247.png

 

1659232969_2022-09-244_32_23.thumb.png.c74e85ec1293a39d0fb6a0a4e478410d.png

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...