Jump to content
XPEnology Community

TinyCore RedPill Loader (TCRP)


pocopico

Recommended Posts

7 hours ago, loveburn said:

My IQ level is : bread...))))

So I just waiting little more .....

 

@loveburn

 

It can be a painful test, but...
Another expert who already knows how to compile lkm posted a successful build with dsm 7.1 rc and ds918+.
I'm following the expert's advice, but it's not easy.
This person gave me some advice, which is consistent with what @pocopico explained.
"From dsm 7.1, the synology pat is encrypted. You have to unpack it and repack and work on the pat file."

Use the command below to download from GitHub.
git clone https://github.com/pocopico/redpill-load.git

There are two shell scripts for this part: ds918+ and ds920+ in the redpill-load/buildpat directory.
These shells seem to help regenerate this encrypted pat file.

I don't know how to use this regenerated pat file.
It seems that this file should be used for manual updates in the 7.0.1 DSM boot state.
I haven't succeeded in creating this file yet, so I'm going to focus on it today.

 

P.S :

Also, the issue that tar can't decompress the pat file is...
I think it's because of this new encrypted method.
Therefore, it is impossible to decompress using the conventional method.
Developers seem to have prepared separate shell scripts.

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

1827852452_2022-04-0410_06_39.thumb.png.a767069df6973ba0a4abf4490eabf355.png

 

 

With the help of @dolbycat, I finally succeeded in installing DS918+ 7.1 RC.

The following is the installation method.

Realtek NIC and HBA cards are not recognized. You should only proceed with Intel NIC and internal/external SATA.

1. Download pocopico or RedwinX Redfill-Load GitHub to a separate Linux.
It can be built in the Xubuntu OVA shared above with Google Drive before.

https://drive.google.com/file/d/19XwxRTDcJwMPlJ7gLQIr9argi_jeSTtE/view

user id : toolc / pass word P@ssw0rd

 


git clone https://github.com/RedwinX/redpill-load.git or
git clone https://github.com/pocopico/redpill-load.git

2.Prepare user_config.json for DS918+

3. After adjusting the chmod +x authority,

Create a /buildpat folder in the root and copy the Shell file.
running /buildpat# ./buildpat-918p-7.1-42621.sh
for unencrypted ds918p_42621.pat recreate.

4. Move the regenerated ds918p_42621.pat file to the cache folder.
/redpill-load/buildpat# mv ds918p_42621.pat ../cache

5. config.json SHA256 Value Calibration for DS918+ 7.1 RC
/redpill-load/config/DS918+/7.1-42621# vi config.json
"os": {
"id": "ds918p_42621",
"pat_url": "https://global.download.synology.com/download/DSM/release/7.1/42621/DSM_DS918%2B_42621.pat",
"sha256": "e7fa975757d5faa6a275b68b130e7fd552263157a39bc71507ea6f2f466bb359"
--> Change to "sha256": 63a7b5bcdb23a8a4b4586e0d41f9dc95d62ca4d64bfe7baffa9323e531e77954"
},

6. Forced injection of redfill-linux-v4.4.180+.ko file (lkm compilation omitted)
Copy to /redpil-load/ext/rp-lkm directory
After downloading the file in the following path, rename the decompressed redpill.ko.
https://github.com/pocopico/rp-ext/blob/main/redpill/releases/redpill-4.4.180plus.tgz

or You can download it directly from this link.

https://drive.google.com/file/d/1HF-q5YbUcp0vZ57qV3zE7zAQxbERvdvg/view?usp=sharing

7. Build DS918 Bootloader Image
/redpill-load# ./build-loader.sh DS918+ 7.1-42621

8. Check the built image, copy the LOCAL PC, and record the USB.
*.img result exists in /redpil-load/images directory

Edited by Peter Suh
  • Like 5
Link to comment
Share on other sites

7 minutes ago, titoum said:

so i guess same approach can be done for 3622xs as well?

 

No.

 

The installation method of DS3622xs+ for DSM 7.1 RC must use TC.

The installation method is as follows.

1. Download the DSM 7.1 PAT file from the Synology Download Center with 7.0.1 already installed.

Update and restore in the synology DSM 7.0.1 to manually update.

(You must precede this course.) Please do not go to update the bootloader below.)

https://global.download.synology.com/download/DSM/release/7.1/42621/DSM_DS3622xs%2B_42621.pat?model=DS3622xs%2B&bays=12&dsm_version=7.1&build_number=42621&_ga=2.102639492.468865575.1648586076-1552442944.1645047990



2. Once rebooted, quickly boot to the bottom Tinycore Linux on the keyboard.



3. As a default tc user (no root switching to sudo su, especially for HBA SCSI drivers, absolutely prohibited using sudo, what @pocopico has confirmed) below

Execute any command without omission.

./rploader.sh update now

./rploader.sh backuploader now

./rploader.sh download broadwellnk-7.0.1-42218

(Expanded driver that only needs DS3622xs+)

./rploader.sh ext broadwellnk-7.0.1-42218 add https://github.com/jumkey/redpill-load/raw/develop/redpill-misc/rpext-index.json

(BROADWELLNK Model: DS3622xs+ Version: 7.1.0-42621 Loader versioning process is required for two questions y)

./rploader.sh postupdate broadwellnk-7.0.1-42218

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

36 minutes ago, Peter Suh said:

3. As a default tc user (no root switching to sudo su, especially for HBA SCSI drivers, absolutely prohibited using sudo, what @pocopico has confirmed) below

Execute any command without omission.

./rploader.sh update now

./rploader.sh backuploader now

./rploader.sh download broadwellnk-7.0.1-42218

(Expanded driver that only needs DS3622xs+)

./rploader.sh ext broadwellnk-7.0.1-42218 add https://github.com/jumkey/redpill-load/raw/develop/redpill-misc/rpext-index.json

(BROADWELLNK Model: DS3622xs+ Version: 7.1.0-42621 Loader versioning process is required for two questions y)

./rploader.sh postupdate broadwellnk-7.0.1-42218

 

ok so far i am good with my wrong update as my baremetal is now 7.1 where key is not.

so i followed you procedure. i had to provide the img file at the right location with the expected name but then it goes through (some warning message about recipe missing with jumkey) and the *.img is no where to be found anymore. is there a specific place for it ?

Link to comment
Share on other sites

1 hour ago, titoum said:

 

ok so far i am good with my wrong update as my baremetal is now 7.1 where key is not.

so i followed you procedure. i had to provide the img file at the right location with the expected name but then it goes through (some warning message about recipe missing with jumkey) and the *.img is no where to be found anymore. is there a specific place for it ?

 

Do you know how to use TC?
https://github.com/pocopico/tinycore-redpill/blob/main/README.md

I don't know why you want to handle the img file.
TC fits the handle of the img file to TC, and I just need to enter the grub menu and use it.

I did not care about the location of the img while following the installation procedure above.

  • Like 1
Link to comment
Share on other sites

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

*.img result exists in /redpil-load/images directory

YEP it's working Bro!!! i am build the loader i am use the syno VM and Ubuntu 18.04 .. and just update my 7.0.1 update 3 to 7.1 RC sorry for RUS lang, but i think it's simple to understand))))

7.1.thumb.png.bf22abad1449f59294b39d735f804823.png

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

3 minutes ago, Dvalin21 said:

@Peter Suh When doing the process for updating ds3622 to 7.1, it always comes down to a point where it says failed to mount. Im able to do the entire process up to this point without sudo. 

 

It is up to you to proceed further with the current TCRP version, but can you wait for the new version in a few days?

  • Like 1
Link to comment
Share on other sites

15 hours ago, Peter Suh said:

 

No.

 

The installation method of DS3622xs+ for DSM 7.1 RC must use TC.

The installation method is as follows.

1. Download the DSM 7.1 PAT file from the Synology Download Center with 7.0.1 already installed.

Update and restore in the synology DSM 7.0.1 to manually update.

(You must precede this course.) Please do not go to update the bootloader below.)

https://global.download.synology.com/download/DSM/release/7.1/42621/DSM_DS3622xs%2B_42621.pat?model=DS3622xs%2B&bays=12&dsm_version=7.1&build_number=42621&_ga=2.102639492.468865575.1648586076-1552442944.1645047990



2. Once rebooted, quickly boot to the bottom Tinycore Linux on the keyboard.



3. As a default tc user (no root switching to sudo su, especially for HBA SCSI drivers, absolutely prohibited using sudo, what @pocopico has confirmed) below

Execute any command without omission.

./rploader.sh update now

./rploader.sh backuploader now

./rploader.sh download broadwellnk-7.0.1-42218

(Expanded driver that only needs DS3622xs+)

./rploader.sh ext broadwellnk-7.0.1-42218 add https://github.com/jumkey/redpill-load/raw/develop/redpill-misc/rpext-index.json

(BROADWELLNK Model: DS3622xs+ Version: 7.1.0-42621 Loader versioning process is required for two questions y)

./rploader.sh postupdate broadwellnk-7.0.1-42218

Hi, can you help me, please

IMG_2191.JPG

Link to comment
Share on other sites

11 minutes ago, lws8964 said:

Hi, can you help me, please

IMG_2191.JPG

 

 

Here is a separate detailed guide for DS3615.
However, no successful cases of DS3615 have been reported yet.
In a few days, there will be a new version that can be upgraded more easily, so can you wait a little longer?
It's your choice, but it's also an alternative to try DS3622 instead right now.
It is known that DS3622 is also possible in an environment where DS3615 is operated.

 

 

Link to comment
Share on other sites

13 minutes ago, Peter Suh said:

 

 

Here is a separate detailed guide for DS3615.
However, no successful cases of DS3615 have been reported yet.
In a few days, there will be a new version that can be upgraded more easily, so can you wait a little longer?
It's your choice, but it's also an alternative to try DS3622 instead right now.
It is known that DS3622 is also possible in an environment where DS3615 is operated.

 

 

Ok, Thanks so much.

Link to comment
Share on other sites

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