Jump to content
XPEnology Community

Tinycore RedPill loader (TCRP) - Development release 0.9


Recommended Posts

  • pocopico changed the title to Tinycore RedPill loader (TCRP) - Development release 0.9
  • flyride pinned this topic
  • 1 month later...
Posted (edited)
2 hours ago, tahuru said:

Hi, 

 

Is there a simple way to upgrade to 0.9 from 0.8 without running all the steps again?

 

Thx!



I think the easiest solution to accomplish this would be to introduce a second empty image as the TC home directory.
This way TC would be stored on one image that can be easily be swapped for another on update.

 

This of course has the drawback of requiring 2 disks in the vm for these images.

As follows:
TC.img -> mounted as TC's /root

TCHome.img -> mounted as TC /home/tc

 

@pocopicoWould it be possible to implement this?


 

Edited by luckcolors
Link to comment
Share on other sites

25 minutes ago, luckcolors said:



I think the easiest solution to accomplish this would be to introduce a second empty image as the TC home directory.
This way TC would be stored on one image that can be easily be swapped for another on update.

 

This of course has the drawback of requiring 2 disks in the vm for these images.

As follows:
TC.img -> mounted as TC's /root

TCHome.img -> mounted as TC /home/tc

 

@pocopicoWould it be possible to implement this?


 

 

Another easy way would be to do something like this:

Can I do this? Is it pocopico?

 

curl --location "https://github.com/pocopico/tinycore-redpill/raw/develop/rploader.sh" -O

./rploader.sh fullupgrade

Link to comment
Share on other sites

And, pocopico probably hasn't introduced it yet.
There is an incredibly handy feature that has recently been modified in the his develop repo.

 

For models using Device Tree such as DS920+, DS1621+, DVA1622
DTB patch to recognize Sataport's disk and NVMe is essential,
This part has been converted from the existing static method to a dynamic method.

 

The difference between the dtb static method and the dynamic method is huge.
The static method requires rebuilding the loader whenever the number of disks and ports of sataport change,
The dynamic method doesn't have to.

Link to comment
Share on other sites

4 hours ago, Peter Suh said:

And, pocopico probably hasn't introduced it yet.
There is an incredibly handy feature that has recently been modified in the his develop repo.

 

For models using Device Tree such as DS920+, DS1621+, DVA1622
DTB patch to recognize Sataport's disk and NVMe is essential,
This part has been converted from the existing static method to a dynamic method.

 

The difference between the dtb static method and the dynamic method is huge.
The static method requires rebuilding the loader whenever the number of disks and ports of sataport change,
The dynamic method doesn't have to.

I believe @pocopico worked with @fbelavenuto who did arpl project, to get that working...

Link to comment
Share on other sites

Posted (edited)
11 hours ago, Peter Suh said:

And, pocopico probably hasn't introduced it yet.
There is an incredibly handy feature that has recently been modified in the his develop repo.

 

For models using Device Tree such as DS920+, DS1621+, DVA1622
DTB patch to recognize Sataport's disk and NVMe is essential,
This part has been converted from the existing static method to a dynamic method.

 

The difference between the dtb static method and the dynamic method is huge.
The static method requires rebuilding the loader whenever the number of disks and ports of sataport change,
The dynamic method doesn't have to.

 

No major changes will be introduced in stable release. Only fixes. The dtcpatch by fbelavenuto should be included as a fix for 0.8.

 

To upgrade your 0.8 to develop 0.9 image you may proceed with what @Peter Suh suggested. 

 

curl --location "https://github.com/pocopico/tinycore-redpill/raw/develop/rploader.sh" -O

./rploader.sh fullupgrade

 

The automatic dtbpatch by fbelavenuto solves most of the issues we had with dtc patching in the past. Also dtc and dtbpatch binaries are copied during boot in runtime DSM for manual troubleshooting or for hotplug disk addition, if its required.

 

CPP code is open and available at fbelavenuto repo.

 

https://github.com/fbelavenuto/arpl-addons/blob/main/dtbpatch/src/main.cpp

 

 

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

  • 2 weeks later...
  • 2 weeks later...

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.   Paste as plain text instead

  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.

 Share

×
×
  • Create New...