Jump to content
XPEnology Community

TinyCore RedPill Loader Build Support Tool ( M-Shell )


Peter Suh

Recommended Posts

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

Just doing my due diligence here out of curiousity. I Can see an Arc loader here. https://github.com/AuxXxilium/arc/releases/tag/24.2.10

and i see a LIST of patches here: https://github.com/AuxXxilium/arc-patches

But i dont see an "Arc Loader with Arc Patch" any where. could you please point me to the patch portion or is it included? I'm a lil lost

:)

Just install Arc Loader and select "With Arc Patch" when config it !

Link to comment
Share on other sites

8 hours ago, Captainfingerbang said:

Just doing my due diligence here out of curiousity. I Can see an Arc loader here. https://github.com/AuxXxilium/arc/releases/tag/24.2.10

and i see a LIST of patches here: https://github.com/AuxXxilium/arc-patches

But i dont see an "Arc Loader with Arc Patch" any where. could you please point me to the patch portion or is it included? I'm a lil lost

 

@Captainfingerbang

 

I asked you a favor, but didn't you see it?

 

 

Link to comment
Share on other sites

8 hours ago, Captainfingerbang said:

This begs one question ONLY from curiousity, could one use 1 set serial/mac on 2 different machines at same time? And Keep QC?

 

 

I don't think this will work.

In my case, I had DS918+ SN and QC and migrated to DS920+.

It means that there was no ban in this process alone.

Link to comment
Share on other sites

23 hours ago, dj_nsk said:

test only ==> Arc Loader with Arc Patch

 

11 hours ago, Peter Suh said:

 

 

I understand that Arc loader provides various crack tools for violating the license that can irritate Synology.

 

This is a sensitive matter.


@dj_nsk, @Captainfingerbang  I hope you two will no longer mention ARC's license violations in this topic.


I do not agree with ARC's violations.


Please inquire in the ARC section.

 

8 hours ago, Captainfingerbang said:

Just doing my due diligence here out of curiousity. I Can see an Arc loader here. https://github.com/AuxXxilium/arc/releases/tag/24.2.10

and i see a LIST of patches here: https://github.com/AuxXxilium/arc-patches

But i dont see an "Arc Loader with Arc Patch" any where. could you please point me to the patch portion or is it included? I'm a lil lost

 

7 hours ago, dj_nsk said:

:)

Just install Arc Loader and select "With Arc Patch" when config it !

 

You have both been asked by Peter Suh not to derail the thread with the ARC loader which is a separate loader.

If you have questions or comments about that loader, create a new thread.

Link to comment
Share on other sites

12 минут назад, Polanskiman сказал:

 

You have both been asked by Peter Suh not to derail the thread with the ARC loader which is a separate loader.

If you have questions or comments about that loader, create a new thread.

Yes, I apologize to my dear @Peter Suh

(I didn't pay attention to which branch I was responding to)

Link to comment
Share on other sites

Hi

 

while checking about AMD GPU support in XPEnology, I ran into this post :

 

https://jim.plus/blog/post/jim/amd-gpu-drivers-for-synology

 

apparently, he managed to get AMD GPU working with Synology SA6400.

 

I unfortunately do not have a full understanding of the explanation given and I was wondering how could this work be integrated in the loader to get proper gpu integration and hardware acceleration support in Plex for instance

 

thanks

fishton

Link to comment
Share on other sites

On 2/12/2024 at 7:30 PM, Peter Suh said:

 

I don't think this will work.

In my case, I had DS918+ SN and QC and migrated to DS920+.

It means that there was no ban in this process alone.

So what i just attempted was:  I used my real serial and mac from my original 918+ but now using SA6400 TCRP FRIEND new test build, of course i turned off the 918+,

im able to login to Synology site from DSM but when i go to enable QC i get this error: I dns already set to 8.8.8.8. 8.8.4.4  so i dont know if i have to wait??

Peter how did you get this working?

 

image.thumb.png.de30038ad74f981dec4cad640402a480.png

Link to comment
Share on other sites

On 2/12/2024 at 9:29 AM, Peter Suh said:

 

I'm sorry. Even though I knew that the 5900X was a model without an iGPU, I overlooked it.
If you decide to migrate to a model other than DS918+, I recommend trying SA6400 instead of DS2422+.
If you have an Intel iGPU in the original SA6400, H/W transcoding is easily handled.
There is no need to install AME, nor does it require a genuine Serial or Mac. Codec patches are also unnecessary.
However, I am also curious about how the SA6400 operates without an iGPU.
If H/W transcoding is not possible, at least S/W transcoding should work.
I also have Works that can be run with only a Xeon CPU without an iGPU.
I will tell you the results of testing how the SA6400 works.

 

I can confirm that running SA6400 with no IGPU on 5900x fully works with creating thumbnails. All 4k videos have thumbnails.

EDIT! THIS IS INCORRECT ITS ONLY MAKING THUMBNAILS FOR 4k VIDEO THAT IS AVC,  NOT HEVC.

What is WEIRD is that my DS918+ build with Real Serial Mac DOES convert 4k Hevc WITHOUT IGPU on X99 E5-2680v4

The very scary thing that happened with this machine was, i built the loader with 2422. Somehow it got switched to SA6400. 

Is there something in your tools that maybe "suggests" the proper loader based on hardware, then selects it?

 

This really freaked me out.

Edited by Captainfingerbang
Link to comment
Share on other sites

On 2/12/2024 at 7:30 PM, Peter Suh said:

 

I don't think this will work.

In my case, I had DS918+ SN and QC and migrated to DS920+.

It means that there was no ban in this process alone.

 

I have a couple things left to do guys and still using TCRP Friend by Peter Suh for new build.

  • I need to get my QC from 918+ working over to SA6400 machine , its not allowing me.
  • Then move 10 ssd shr over without issue.
  • Peter, are you suggesting that because the DS920+ is the Successor to the DS918+ is why QC still works? Like same family?
  • Now i need a solution for Creating video thumbnails for 4k videos that are HEVC

 

Backing up 918+ now.

Any suggestions?

 

I want to just throw this all away and purchase new INTEL setup with IGPU. Frustrating.

 

 

 

 

Edited by Captainfingerbang
Link to comment
Share on other sites

Can please tell me how can I set M-shell to assign my existing hdd synology bootloader to show in grub? Right now it only showing Tinycore Redpill Image on list.

Also, when I use ./rploader.sh postupdate ds_model_version it throwing error.

 

tc@box:~$ ./rploader.sh postupdate ds918p-7.1.1-42962
platform_selected={
  "id": "ds918p-7.1.1-42962",
  "platform_name": "apollolake",
  "downloads": {
    "os": {
      "sha256": "9905e145f3bd88fcc938b00882be10281861867e5165ae98aefa37be0d5d34b5"
    }
  },
  "add_extensions": [
    {
      "all-modules": "https://raw.githubusercontent.com/PeterSuh-Q3/tcrp-modules/master/all-modules/rpext-index.json",
      "powersched": "https://raw.githubusercontent.com/PeterSuh-Q3/tcrp-addons/master/powersched/rpext-index.json",
      "storagepanel": "https://raw.githubusercontent.com/PeterSuh-Q3/tcrp-addons/master/storagepanel/rpext-index.json"
    }
  ]
}
Rploader Version  : 1.1.0.0
Extensions        :   all-modules
  powersched
  storagepanel 
Extensions URL    : "https://raw.githubusercontent.com/PeterSuh-Q3/tcrp-modules/master/all-modules/rpext-index.json",
"https://raw.githubusercontent.com/PeterSuh-Q3/tcrp-addons/master/powersched/rpext-index.json",
"https://raw.githubusercontent.com/PeterSuh-Q3/tcrp-addons/master/storagepanel/rpext-index.json"
TARGET_PLATFORM   : ds918p
TARGET_VERSION    : 7.1.1
TARGET_REVISION   : 42962
KERNEL_MAJOR      : 4
MODULE_ALIAS_FILE : modules.alias.4.json
SYNOMODEL         : ds918p_42962
MODEL             : DS918+
KERNEL VERSION    : 5.10.55
Local Cache Folder : /mnt/sdb3/auxfiles
DATE Internet     : 18022024 Local : 18022024
Checking Internet Access -> OK
Loader sources already downloaded, pulling latest
Already up to date.
Removing any old redpill.ko modules
Looking for redpill for : ds918p_42962 
parse error: Expected string key before ':' at line 1, column 4
Module does not contain platorm information for ds918p_42962

 

 

I want to boot in my nas drive. I previously had tinycore redpil apollolake 7.1.0 42661 update to 42962 via DSM GUI. After update I am in hdd recovery loop in Tinycore Redpill which showing old DSM model still. So I want to use M-shell.

 

Link to comment
Share on other sites

10 hours ago, goodone007 said:

Can please tell me how can I set M-shell to assign my existing hdd synology bootloader to show in grub? Right now it only showing Tinycore Redpill Image on list.

Also, when I use ./rploader.sh postupdate ds_model_version it throwing error.

 

tc@box:~$ ./rploader.sh postupdate ds918p-7.1.1-42962
platform_selected={
  "id": "ds918p-7.1.1-42962",
  "platform_name": "apollolake",
  "downloads": {
    "os": {
      "sha256": "9905e145f3bd88fcc938b00882be10281861867e5165ae98aefa37be0d5d34b5"
    }
  },
  "add_extensions": [
    {
      "all-modules": "https://raw.githubusercontent.com/PeterSuh-Q3/tcrp-modules/master/all-modules/rpext-index.json",
      "powersched": "https://raw.githubusercontent.com/PeterSuh-Q3/tcrp-addons/master/powersched/rpext-index.json",
      "storagepanel": "https://raw.githubusercontent.com/PeterSuh-Q3/tcrp-addons/master/storagepanel/rpext-index.json"
    }
  ]
}
Rploader Version  : 1.1.0.0
Extensions        :   all-modules
  powersched
  storagepanel 
Extensions URL    : "https://raw.githubusercontent.com/PeterSuh-Q3/tcrp-modules/master/all-modules/rpext-index.json",
"https://raw.githubusercontent.com/PeterSuh-Q3/tcrp-addons/master/powersched/rpext-index.json",
"https://raw.githubusercontent.com/PeterSuh-Q3/tcrp-addons/master/storagepanel/rpext-index.json"
TARGET_PLATFORM   : ds918p
TARGET_VERSION    : 7.1.1
TARGET_REVISION   : 42962
KERNEL_MAJOR      : 4
MODULE_ALIAS_FILE : modules.alias.4.json
SYNOMODEL         : ds918p_42962
MODEL             : DS918+
KERNEL VERSION    : 5.10.55
Local Cache Folder : /mnt/sdb3/auxfiles
DATE Internet     : 18022024 Local : 18022024
Checking Internet Access -> OK
Loader sources already downloaded, pulling latest
Already up to date.
Removing any old redpill.ko modules
Looking for redpill for : ds918p_42962 
parse error: Expected string key before ':' at line 1, column 4
Module does not contain platorm information for ds918p_42962

 

 

I want to boot in my nas drive. I previously had tinycore redpil apollolake 7.1.0 42661 update to 42962 via DSM GUI. After update I am in hdd recovery loop in Tinycore Redpill which showing old DSM model still. So I want to use M-shell.

 

 

This is not a case where postupdate should be used.

postupdate is no longer needed.

Did you rebuild your loader for 7.1.1-42962?

Updates should not be made without rebuilding the loader.

Link to comment
Share on other sites

sorry if this has been asked before, but can you use the nvme alone as storage pool?
i had install DS923+ m-shell to thinkcentre m715q with 1tb nvme and 256 ssd;
DSM 7.2.1-69057 Update 4 detected both SSD and nvme,

installed syno_enable_m2_volume.sh and was able to add nvme to storage pool;

 

is there a way to use the nvme alone? when i tried to remove the ssd, it did not work;

appreciate your help.

 

thanks.

Edited by sam juan
Link to comment
Share on other sites

12 hours ago, dj_nsk said:

no, at least one SATA drive is required to run DSM :(

 

 

The current mechanism of nvmevolume addon is copied from 007revad, and volume is activated only when the schedule is executed at least once in the form of a service after DSM is installed.

I am trying to improve nvmevolume and change it to on the fly method.
I would like to try to see if volume conversion is possible at the DSM junior level with only nvme, which is what users want.
If you see an NVMe volume at the junior level, you probably don't need a separate SATA disk.

If the test succeeds or fails, we will share the results.

  • Like 1
Link to comment
Share on other sites

[NOTICE]

 

Distribution of nvmevolume-onthefly addon (immediate version)

 

This is an addon that further complements the existing nvme volume.

 

I originally tried to reflect the requests of users who asked if it could be operated alone without a SATA type disk by creating a volume using only nvme, but after testing for several days, it did not work well.

 

Instead, SATA disks still need to be present, but this is improved with out-of-the-box volumeting capabilities.

 

The reason why this immediate reflection version was developed is that the existing version uses a service scheduling method, so even though the libhwcontrol.so.1 file has been hexa-patched once at the DSM installation completion stage, at least one more boot is required for the volume to appear. It flies.

 

Because users were not aware of this, many of them received the patch script from the original author, @007revad, twice and processed it.

 

This improved, immediate version allows volume conversion to be confirmed immediately upon first login after installing DSM and creating an account.

 

Analyzing the original author @007revad's script, I found that it simply ended up patching only one hex value,

like when activating the nvme cache of DS918+ in the past.
One line of xxd command processing is enough.

 

Back up the original to /lib64/libhwcontrol.so.1.bak.
https://github.com/PeterSuh-Q3/tcrp-addons/blob/main/nvmevolume-onthefly/src/install.sh
 
I don't know if this is an appropriate expression since my native language is not English.
@007revad's script method is called "AFTER SHOT".
I think that most REDPILL ADDON methods should be “ON THE FLY”.
Otherwise, a reboot must always follow after script processing.

 

Testing has only been completed focusing on version 7.2, so I hope users can verify older versions.

 

As always, you must rebuild the loader to change to the new addon.

 

This addon seems to help maintain the continuity of volume that temporarily disappears after migrating to another model or installing a version upgrade.

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

Posted (edited)

Hi, I've built the boot with TCRP and it worked fine, I tried clone bootloader to ssd and some error like not enough space appeared, then I can't access my DSM anymore, I try to build a new bootloader but I stuck with this message error:

 

nohup: redirecting stderr to stdout

failed in waitforX

 

and commandline tc@box: ~$ appear

 

What should I do now?

IMG_3615.HEIC

Edited by Canh Nguyen Huu
Link to comment
Share on other sites

Wow!  Thank you!

 

Thank you for this amazing project.  All of it, Xpenology, and this TCRP M-Shell build.  I'm so impressed with the work that has gone into this.  I've just checked it out again, it's been a few years since I first looked at it, and it's amazing how up-to-date it is and how simple installation has become.  

 

Turning old hardware into a functional NAS running DSM.  Congratulation!

 

Just amazing!

 

Thank you

  • Thanks 1
Link to comment
Share on other sites

@Peter Suh I want to run xpenology on my old Netgear Pro4 NAS with Intel Atom. I found tutorial how to do this using old 6.2.3 JUN`s Mod but i want to try to use latest DSM version :)

 

To do this i need to compile redpill.img in "vanilla style" - meaning without TCRP (pure compile of redpill-load repository). I tried to do this using your repo, i changed some lines in build-loader.sh file but i got an error ".../img-mnt/part1/custom.gz, no left space on device"

 

Can you help me?

Link to comment
Share on other sites

On 3/14/2024 at 9:21 PM, shibby said:

@Peter Suh I want to run xpenology on my old Netgear Pro4 NAS with Intel Atom. I found tutorial how to do this using old 6.2.3 JUN`s Mod but i want to try to use latest DSM version :)

 

To do this i need to compile redpill.img in "vanilla style" - meaning without TCRP (pure compile of redpill-load repository). I tried to do this using your repo, i changed some lines in build-loader.sh file but i got an error ".../img-mnt/part1/custom.gz, no left space on device"

 

Can you help me?

 

 

 

Perhaps you want to take the loader.img file that was created in the middle.
However, the method via loader.img is the old method.
You need to apply a time machine to use older versions of redpill-load and tinycore-redpill, but this may not be easy.

 

 

 

Your Netgear Pro4 NAS does not support USB booting?
It seems to be a 4-bay product so you can use 4 disks.

 

The following functions have been completed with the recently added functions to mshell.
"Inject Bootloader to Syno Disk"

 


I haven't uploaded a manual or guide yet.
I was planning to upload it after completing more stability tests.
Today, as stability has been verified to some extent, I will upload the manual.

 

This method allows the bootloader to boot using only the hard disk.
You will need at least 2 disks.
Currently, the function of injecting with SHR diss alone has not been completed.

At least one BASIC or JBOD type disk is required.

 

How about completing the bootloader injection to these hard disks on a PC with USB bootloader enabled and then transferring these disks to the Netgear Pro4 NAS?

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