Jump to content
XPEnology Community

TinyCore RedPill Loader (TCRP)


pocopico

Recommended Posts

@pocopico help me pls. Now i have a appololake ds918 redpill with dsm 7.0.1 previos install ended without any errors.. update from 7.0.1 to 7.0.1 update 3 too witout any errors.. now i want to update to 7.1-42621 ... so should I update the sourcecode and rebuild the redpill? THX!

Edited by loveburn
Link to comment
Share on other sites

1 hour ago, Dvalin21 said:

So just some info reporting. I went ahead and flashed my sas card to IT Mode. I now uses mpt3sas ext driver. Now that I've flashed it I am able to use all 4 drives still showing 1-4 (although not in the right order, but im good at the moment). If no one has said it yet, let me just say it now.  You HAVE to flash your sas to the latest firmware or at least to IT Mode in order for it to work correctly. Tomorrow I will be working on migrating data and installing apps.  

Nothing new there. It were always stated you must have a IT mode HBA card to make it work with DSM.

  • Like 1
Link to comment
Share on other sites

1 hour ago, loveburn said:

@pocopico help me pls. Now i have a appololake ds918 redpill with dsm 7.0.1 previos install ended without any errors.. update from 7.0.1 to 7.0.1 update 3 too witout any errors.. now i want to update to 7.1-42621 ... so should I update the sourcecode and rebuild the redpill? THX!

 

The two stage upgrade has been tested for 918+ to 7.1.0. Please update your custom_config.json to point to https://github.com/pocopico/redpill-load master branch and you can perform the two stage upgrade. Remember to also add Jumkeys redpill-misc before running the postupgrade process.

 

 

  • Thanks 1
Link to comment
Share on other sites

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

 

The two stage upgrade has been tested for 918+ to 7.1.0. Please update your custom_config.json to point to https://github.com/pocopico/redpill-load master branch and you can perform the two stage upgrade. Remember to also add Jumkeys redpill-misc before running the postupgrade process.

 

 

last try i am using red-pill helper for build the loader, because i don't have a linux on my mac... and can't to use VMM , may be have a simple method for build this?

Link to comment
Share on other sites

7 hours ago, alirz1 said:

Anyone tried setting up a vm in VMware workstation? Should that work/ is supported?

im trying to setup a dsm 7.0.1 vm, all is good until redpill downloads the PAT file, starts unpacking it. At that point my vim basically stops responding, ping to vm’s iP stops after a minute or so. Perhaps a kernel panic in the background? I have to rest the vm every time.

My sataportmap is set to 1, diskidmap  set to 00, also tried 0A00, etc…

the vm only has two disks. 0:0 is the red pill vmdk. I added second disk at sata 1:0 for data.

 

any idea why it might be freezing? Thanks 

 

 

 

I have it working in VMware Workstation Pro. I had to change the vitrual NIC from "e1000" to "vmxnet3" before it would pickup an IP address.

You do this by modifiying the VMX file. edit the file and change: (ethernet0.virtualDev = "vmxnet3").

Save and reboot, be sure and select SATA on reboot.

Link to comment
Share on other sites

2 hours ago, loveburn said:

last try i am using red-pill helper for build the loader, because i don't have a linux on my mac... and can't to use VMM , may be have a simple method for build this?

 

 

This Linux is the XUBUNTU OVA distribution, a light version of UBUNTU 20.04. You can install and load VMWARE or VIRTUALBOX.
However, Korean is set to the default, so please change the language to the language you want. This OVA is actually manufactured in Mac as ORACLE VIRTUALBOX.

 

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

  • Like 1
Link to comment
Share on other sites

6 minutes ago, loveburn said:

im in, but in custom_config.json not information about 7.1 just 7.0.1.......

 

Pocopico seems to mean to find information that can be put into custom_config.json in this load github.
It must be very difficult for people who are new to it.
I'm making my own image using the functions in this load.
It is possible with the following commands. However, this is not easy either.
There has been a continuous blockage and it is currently in progress with Dolbycat.
Please wait a little longer.


./build-loader.sh 'DS918+' '7.1-42621'

Link to comment
Share on other sites

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

Please wait a little longer.

Sure i be waiting for .... because now 7.1 it's Release Candidate and may be not FINAL, anyway i am interesting how a can build new boot loader for 7.1 in future....

Edited by loveburn
Link to comment
Share on other sites

@pocopico i try to install ubuntu 18 to VM and try use your script BUT have a errors

first checksum of PAT file downloaded via script not the same in script json configs i try to edit checksum but have errors with unpacking WHY?

 

localhostpc~/redpill-load-master$ ./build-loader.sh DS918+ 7.1-42621
[#] 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/loveburn/redpill-load-master/custom/extensions/_new_ext_index.tmp_json
######################################################################### 100,0%######################################################################### 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://github.com/pocopico/rp-ext/raw/main/redpill-boot-wait/rpext-index.json
[#] Platforms supported: dva3221_42621 dva3221_42218 ds3615xs_42218u2 ds3615xs_42218u3 ds3615xs_42218 ds3615xs_42621 ds3617xs_41222 ds920p_42621 ds918p_25556 ds918p_41890 ds918p_42621 ds1621p_42218 ds3617xs_42621 ds3615xs_25556 ds1621p_42621 ds3615xs_41222 ds920p_42218 ds3617xs_42218 
[#] =======================================================================================

[#] Checking runtime for required tools... [OK]
[#] Updating redpill-boot-wait extension... 
[#] Downloading remote file https://github.com/pocopico/rp-ext/raw/main/redpill-boot-wait/rpext-index.json to /home/loveburn/redpill-load-master/custom/extensions/_new_ext_index.tmp_json
######################################################################### 100,0%######################################################################### 100,0%

[#] Extension redpill-boot-wait index is already up to date
[#] Updating redpill-boot-wait extension... [OK]
[#] Checking runtime for required tools... [OK]
[#] Updating ds918p_42621 platforms extensions... 
[#] Downloading remote file https://github.com/pocopico/rp-ext/raw/main/redpill-boot-wait/recipes/universal.json to /home/loveburn/redpill-load-master/custom/extensions/_ext_new_rcp.tmp_json
######################################################################### 100,0%######################################################################### 100,0%

[#] Filling-in newly downloaded recipe for extension redpill-boot-wait platform ds918p_42621
[#] Downloading remote file https://github.com/pocopico/rp-ext/raw/main/redpill-boot-wait/src/boot-wait.sh to /home/loveburn/redpill-load-master/custom/extensions/redpill-boot-wait/ds918p_42621/boot-wait.sh
######################################################################### 100,0%######################################################################### 100,0%
[#] Verifying /home/loveburn/redpill-load-master/custom/extensions/redpill-boot-wait/ds918p_42621/boot-wait.sh file... [OK]
[#] Successfully processed recipe for extension redpill-boot-wait platform ds918p_42621
[#] Verifying /home/loveburn/redpill-load-master/custom/extensions/redpill-boot-wait/ds918p_42621/boot-wait.sh file... [OK]
[#] Updating extensions... [OK]
[#] PAT file /home/loveburn/redpill-load-master/cache/ds918p_42621.pat not found - downloading from https://global.download.synology.com/download/DSM/release/7.1/42621/DSM_DS918%2B_42621.pat
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  342M  100  342M    0     0  10.3M      0  0:00:32  0:00:32 --:--:-- 10.1M
[#] Verifying /home/loveburn/redpill-load-master/cache/ds918p_42621.pat file... [OK]
[#] Unpacking /home/loveburn/redpill-load-master/cache/ds918p_42621.pat file to /home/loveburn/redpill-load-master/build/1649001733/pat-ds918p_42621-unpacked... [ERR]
[!] Failed to unpack tar

/bin/tar: This does not look like a tar archive
/bin/tar: Skipping to next header
/bin/tar: Exiting with failure status due to previous errors

*** Process will exit ***

 

Edited by loveburn
Link to comment
Share on other sites

11 minutes ago, loveburn said:

@pocopico i try to install ubuntu 18 to VM and try use your script BUT have a errors

first checksum of PAT file downloaded via script not the same in script json configs i try to edit checksum but have errors with unpacking WHY?

 


localhostpc~/redpill-load-master$ ./build-loader.sh DS918+ 7.1-42621
[#] 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/loveburn/redpill-load-master/custom/extensions/_new_ext_index.tmp_json
######################################################################### 100,0%######################################################################### 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://github.com/pocopico/rp-ext/raw/main/redpill-boot-wait/rpext-index.json
[#] Platforms supported: dva3221_42621 dva3221_42218 ds3615xs_42218u2 ds3615xs_42218u3 ds3615xs_42218 ds3615xs_42621 ds3617xs_41222 ds920p_42621 ds918p_25556 ds918p_41890 ds918p_42621 ds1621p_42218 ds3617xs_42621 ds3615xs_25556 ds1621p_42621 ds3615xs_41222 ds920p_42218 ds3617xs_42218 
[#] =======================================================================================

[#] Checking runtime for required tools... [OK]
[#] Updating redpill-boot-wait extension... 
[#] Downloading remote file https://github.com/pocopico/rp-ext/raw/main/redpill-boot-wait/rpext-index.json to /home/loveburn/redpill-load-master/custom/extensions/_new_ext_index.tmp_json
######################################################################### 100,0%######################################################################### 100,0%

[#] Extension redpill-boot-wait index is already up to date
[#] Updating redpill-boot-wait extension... [OK]
[#] Checking runtime for required tools... [OK]
[#] Updating ds918p_42621 platforms extensions... 
[#] Downloading remote file https://github.com/pocopico/rp-ext/raw/main/redpill-boot-wait/recipes/universal.json to /home/loveburn/redpill-load-master/custom/extensions/_ext_new_rcp.tmp_json
######################################################################### 100,0%######################################################################### 100,0%

[#] Filling-in newly downloaded recipe for extension redpill-boot-wait platform ds918p_42621
[#] Downloading remote file https://github.com/pocopico/rp-ext/raw/main/redpill-boot-wait/src/boot-wait.sh to /home/loveburn/redpill-load-master/custom/extensions/redpill-boot-wait/ds918p_42621/boot-wait.sh
######################################################################### 100,0%######################################################################### 100,0%
[#] Verifying /home/loveburn/redpill-load-master/custom/extensions/redpill-boot-wait/ds918p_42621/boot-wait.sh file... [OK]
[#] Successfully processed recipe for extension redpill-boot-wait platform ds918p_42621
[#] Verifying /home/loveburn/redpill-load-master/custom/extensions/redpill-boot-wait/ds918p_42621/boot-wait.sh file... [OK]
[#] Updating extensions... [OK]
[#] PAT file /home/loveburn/redpill-load-master/cache/ds918p_42621.pat not found - downloading from https://global.download.synology.com/download/DSM/release/7.1/42621/DSM_DS918%2B_42621.pat
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  342M  100  342M    0     0  10.3M      0  0:00:32  0:00:32 --:--:-- 10.1M
[#] Verifying /home/loveburn/redpill-load-master/cache/ds918p_42621.pat file... [OK]
[#] Unpacking /home/loveburn/redpill-load-master/cache/ds918p_42621.pat file to /home/loveburn/redpill-load-master/build/1649001733/pat-ds918p_42621-unpacked... [ERR]
[!] Failed to unpack tar

/bin/tar: This does not look like a tar archive
/bin/tar: Skipping to next header
/bin/tar: Exiting with failure status due to previous errors

*** Process will exit ***

 

 

 

I'm stuck with the same problem as @loveburn.

 

 

 

Link to comment
Share on other sites

@loveburn @Peter Suh 
 

It’s not possible YET to build a 7.1 loader using the current build loader script, because Syno encrypts the pat file. It would have never been possible if there weren’t people that could figure out how to do so. Please have patience and either follow the thread or wait for a better solution or even better create a solution yourselves and help others as well.  

  • Like 3
Link to comment
Share on other sites

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

@loveburn @Peter Suh 
 

It’s not possible YET to build a 7.1 loader using the current build loader script, because Syno encrypts the pat file. It would have never been possible if there weren’t people that could figure out how to do so. Please have patience and either follow the thread or wait for a better solution or even better create a solution yourselves and help others as well.  

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

So I just waiting little more .....

Edited by loveburn
Link to comment
Share on other sites

9 hours ago, bc0421 said:

I have it working in VMware Workstation Pro. I had to change the vitrual NIC from "e1000" to "vmxnet3" before it would pickup an IP address.

You do this by modifiying the VMX file. edit the file and change: (ethernet0.virtualDev = "vmxnet3").

Save and reboot, be sure and select SATA on reboot.


thanks but getting an iP is not my issue. I get the iP fine and ssh to the vm etc.. it’s just that, after the reloaded script downloads the PAT file and starts unpacking it, my vm complete halts. I have allocated 5gb to disk disk, as this is just for testing, I’m guessing 5gb should be enough space.

Link to comment
Share on other sites

11 hours ago, pocopico said:

 

The two stage upgrade has been tested for 918+ to 7.1.0. Please update your custom_config.json to point to https://github.com/pocopico/redpill-load master branch and you can perform the two stage upgrade. Remember to also add Jumkeys redpill-misc before running the postupgrade process.

 

 


@pocopico so I have the dumbest question. That GitHub url you mention to build the loader. Does that loader need to be built on the bare metal machine that I would be setting my as my xpenology box? If not then how does the loader include the drivers for the bare metal hardware? Thanks.

 

 

Link to comment
Share on other sites

ok so after bumping the vm memory to 2GB it seems to have worked, the loader was built. Now when i reboot and choose the SATA boot option from the menu, it just sits at

"Decompressin linux, ...Parsing ELF...Done"

"Booting Kernel".

 

At this point, i cant seem to find the synology in synology assistant, so im not sure if its picking up an IP or not? Are we able to see any logs via some serial console etc? I know in the past with JUN's loader we wouldnt be able to see anything in the vm console after the kernel booting message..

Could this be due to possible incorrect sataport map etc? i have currently set it to 1 and diskid map to "0A00".

 

Note, as mentioned previosuly, this is all being setup in vmware working station. where, duting the tinycore uild process i have an IP etc..

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