Jump to content
XPEnology Community

TinyCore RedPill Loader Build Support Tool ( M-Shell )


Peter Suh

Recommended Posts

8 hours ago, Peter Suh said:

[NOTICE]

TCRP-MSHELL SA6400 i915 transcoding stabilization notice

 

A few days ago, when updating SA6400-7.2.1 U3, there was a fatal error when automatically patching the RAM disk, so I fixed it.

There was one more error left.

When automatic updates occur, not only ramdisk patches but also kernel patches occur.

 

The kernel patch script for kernel 5 was in the friend tools folder developed by @pocopico.

This script was not complete. So there was a problem that resulted in a kernel panic.

 

Stabilize the same by referring to ARPL's patch script.

Today I upgraded the FRIEND kernel to version 0.0.9i.

 

2023-11-267_48_25.thumb.png.a5dab5d9d48c1eefb320899d6c42770b.png

 

Currently, this version is verified by @MoetaYuko for Intel 4th, 11th, and 13th generations (a stable version that replaced the existing @jimmmmm version)

It has been replaced with the i915.ko file.

You can apply it by rebuilding the TCRP-mshell loader.

 

It seems that all processors from the 4th generation of Intel that were previously capable of transcoding will be capable of transcoding.

I think users should verify it one by one and give feedback.

 

Status of automatic update up to SA6400-7.2.1 U3 and presence of /dev/dri folder

This confirms the stable loading status of the i915 module.

 

2023-11-268_51_13.thumb.png.0b85196cd880d775080680d2c380efe2.png

 

 

I haven't been able to check the HW transcoding message because I don't have a plex pass yet, but if you have a pass, (HW) will likely appear.

I confirmed that even with SW transcoding, it played well while maintaining a CPU load of 7%.

 

2023-11-268_53_26.thumb.png.0ccefcfbd97c5fab8c0025361006dd55.png

 

No additional activation processing for transcoding, such as installing AME, etc. was done.

The serial number is also a virtual serial number randomly generated by TCRP.

For your follow-up....I just rebuilt the loader on my 8th Gen Intel Core i7-8700, 920+ to see your newly updated FRIEND was pulled down and integrated. Also upgraded to Update 3 as well.   I'm using a system with a real SN/MAC, have native activation (so I assume) of the AME.  I could happily HW Transcode before, and after all of these updates, I STILL can, which is a good thing. 🤠. Thank you for your continually amazing support!

IMG_0740.jpg

  • Like 2
Link to comment
Share on other sites

@Peter Suh Just took the plunge of switching from regular tcrp to your tcrp with M-shell. Burnt the v.1.0.0.0 img to usb and now im at the loader menu only to see that it doesnt list 918+ as a model to build for???? How come? is there an override to set that model? ive been on a 918+ build for a long time and wnt to stay on that for hardware video transcoding etc...

Is your tcrp somehow detecting i have a 12 core cpu and only listing models that support that # of cpus?

Edited by alirz1
Link to comment
Share on other sites

i must say, unfortunately there is no concise information available anywhere on this build process. Seems like it changes all the time and is never the same as before. So everytime, doing a build or upgrade seems to be a brand new adventure..Im not hating on anyone just that I seem to be stuck now where i dont see my model anywhere in the build list even in regular tcrp and dsm 7.2.1 doesnt seem to be listed as a platform in the build? Even though im sure others have updated to it somehow?

Link to comment
Share on other sites

54 minutes ago, alirz1 said:

@Peter Suh Just took the plunge of switching from regular tcrp to your tcrp with M-shell. Burnt the v.1.0.0.0 img to usb and now im at the loader menu only to see that it doesnt list 918+ as a model to build for???? How come? is there an override to set that model? ive been on a 918+ build for a long time and wnt to stay on that for hardware video transcoding etc...

Is your tcrp somehow detecting i have a 12 core cpu and only listing models that support that # of cpus?

 

 

Please tell us your CPU model.
Your question doesn't say the CPU model anywhere.
There are only so many CPUs with 12 cores.


The i7-8700 you mentioned below has 6 cores and 12 threads.


https://xpenology.com/forum/topic/13030-dsm-5x6x7x-cpu-name-cores-infomation-change-tool/?do=findComment&comment=451802


The standard for determining the Intel CPU generation related to transcoding is the presence of the movbe command.


https://github.com/PeterSuh-Q3/tinycore-redpill/blob/38def125c2e7072515951845d1f58f46e92f83a3/menu_m.sh#L582


If you want to forcefully select DS918+ from the model selection list in mshell,
Just select Remove Restrictions at the bottom again.


You must provide accurate information so that I can give you an accurate answer.

  • Like 1
Link to comment
Share on other sites

26 minutes ago, alirz1 said:

i must say, unfortunately there is no concise information available anywhere on this build process. Seems like it changes all the time and is never the same as before. So everytime, doing a build or upgrade seems to be a brand new adventure..Im not hating on anyone just that I seem to be stuck now where i dont see my model anywhere in the build list even in regular tcrp and dsm 7.2.1 doesnt seem to be listed as a platform in the build? Even though im sure others have updated to it somehow?

 

However, when I looked at the code of my menu_m.sh again,
I confirmed that DS918+, included in group 4, is still coded to be activated only for 8 threads or less.

https://github.com/PeterSuh-Q3/tinycore-redpill/blob/38def125c2e7072515951845d1f58f46e92f83a3/menu_m.sh#L903

In the past, I had a misunderstanding that DSM was related to kernel panic due to exceeding the number of threads, but it seems that that part was still in the code.
It is now clear that there is no correlation between the number of threads and kernel panics.
We will improve this part and lift the restriction.
If you reboot after about 10 minutes and try to enter the MSHELL menu again, the changed version will work.

Thank you for your comment.

  • Like 1
Link to comment
Share on other sites

10 minutes ago, Peter Suh said:

 

 

Please tell us your CPU model.
Your question doesn't say the CPU model anywhere.
There are only so many CPUs with 12 cores.


The i7-8700 you mentioned below has 6 cores and 12 threads.


https://xpenology.com/forum/topic/13030-dsm-5x6x7x-cpu-name-cores-infomation-change-tool/?do=findComment&comment=451802


The standard for determining the Intel CPU generation related to transcoding is the presence of the movbe command.


https://github.com/PeterSuh-Q3/tinycore-redpill/blob/38def125c2e7072515951845d1f58f46e92f83a3/menu_m.sh#L582


If you want to forcefully select DS918+ from the model selection list in mshell,
Just select Remove Restrictions at the bottom again.


You must provide accurate information so that I can give you an accurate answer.

Thank you. Appreciate your reply. I guess i will note that for next time. I ended up reinstalling regular tcrp and building from there. I seem to be up and running now.

Link to comment
Share on other sites

11 minutes ago, alirz1 said:

Thank you. Appreciate your reply. I guess i will note that for next time. I ended up reinstalling regular tcrp and building from there. I seem to be up and running now.

 

Will my response be too late?
Is it already too late to return from pocopico's TCRP to my mshell? lol
An update was just released that included a thank you note mentioning your nickname.
You can check today's automatic update.

 

2023-11-2810_23_51.thumb.png.939a94af32b94d465e6460233ed01fab.png

Edited by Peter Suh
Link to comment
Share on other sites

35 minutes ago, Peter Suh said:

 

Will my response be too late?
Is it already too late to return from pocopico's TCRP to my mshell? lol
An update was just released that included a thank you note mentioning your nickname.
You can check today's automatic update.

 

2023-11-2810_23_51.thumb.png.939a94af32b94d465e6460233ed01fab.png

Thanks again. Will have to switch to your loader on the next upgrade now.

I just recovered everything and don't want to go through that again lol.

 

Thank you. Really appreciate your quick  responses.

Link to comment
Share on other sites

В 17.11.2023 в 14:25, ansh сказал:

Hi

DELL PowerEdge 2950 - 6 disks.

Used tinycore-redpill.v095.m-shell bootloader.

DSM 7.2 DS3622xs+ shows disks with disk2.

image.png.14e978eb54289c0a5bd72fb635a3f2c4.png

 

 

root@syn-dmz-beta:/dev# parted -l 2> /dev/null |grep "^Disk /dev/s"
Disk /dev/sdb: 299GB
Disk /dev/sdc: 299GB
Disk /dev/sdd: 299GB
Disk /dev/sde: 299GB
Disk /dev/sdf: 299GB
Disk /dev/sdg: 299GB
root@syn-dmz-beta:/dev#

 

Вероятно, Disk1 - это флэш-накопитель USB с загрузчиком.

 

It's decided. Selected the USB loading menu. 

"If necessary, use the arrow keys to ensure that USB is selected and press ENTER."image.png.c040088759823ee0aa63b7cc56fbf788.png

Link to comment
Share on other sites

I thougt all update to 7.2.1 u3 goes smoothly, but i found some error.

 

In section 'hardware & power' when i change any thing and save, there is error message bottom bar: connection failed. check your network settings

The changes change and work as they should. In other section after any change status is green.

power.thumb.png.1dd31f889a263807e5c60d66ad26eae0.png

Link to comment
Share on other sites

1 hour ago, BartAcid said:

I thougt all update to 7.2.1 u3 goes smoothly, but i found some error.

 

In section 'hardware & power' when i change any thing and save, there is error message bottom bar: connection failed. check your network settings

The changes change and work as they should. In other section after any change status is green.

power.thumb.png.1dd31f889a263807e5c60d66ad26eae0.png

 

You are not the first to see a report like this.
I think it may be a defect in DSM itself that appears even in genuine Synology.
This problem does not affect the actual use of DSM.

  • Like 1
Link to comment
Share on other sites

13 minutes ago, pkdick1 said:

Hello Peter,

 

As Wjz304 decided  to stop any development, I tried to move back to m-shell: I therefore fashed an USB stick and tried to boot on it to install it. I enclose to my message the error messages I got: thank you in advance for your help.

 

Best regards

 

IMG20231202153814.jpg

IMG20231202153725.jpg

 

Did you use the final version of my mshell?

https://github.com/PeterSuh-Q3/tinycore-redpill/releases/tag/v1.0.0.0

 

And it seems like the USB stick can't find the 3rd partition.
Sometimes it happens that the USB stick is bad.

Link to comment
Share on other sites

I have one more question. Can you halp me?
I don't know nothing about FC connection. I want to connect directly PC to xpenology using that card EMULEX LPE12000 GBIC 8G FC HBA LOW AJ762-63003.
 
Is it compatible with loader and than with synology?

This can be inferred from the execution result of lspci -tvnnq. Please let us know here.


Sent from my iPhone using Tapatalk
Link to comment
Share on other sites

4 hours ago, Captainfingerbang said:

Well then, i dont have problems if you are telling me that is only what is showing and not real speed. Ok

 

 

On another note, do you know if your loaders have bluetooth support somewhere? 

I need it.

 

It seems like a request to extend rr's wifi function to mshell as well.
Bluetooth will likely work only if wifi is available.
Let's review.

Link to comment
Share on other sites

[NOTICE]

 

v1.0.0.5 Add offline loader build function

 

https://github.com/PeterSuh-Q3/tinycore-redpill/releases/tag/v1.0.0.5

 

Assign a drive letter to the USB 3rd partition in Windows 10 and prepare to pre-download the Github module for building an offline loader.


1. After downloading, installing, and running MiniTool Partition Wizard Free, assign a letter to the 3rd USB partition (change letter menu)
https://cdn2.minitool.com/?p=pw&e=pw-free
(It is normal if the drive letter is not visible immediately after changing)


2. Run powershell and install git app
winget install --id Git.Git -e --source winget


3. Rerun powershell


4. Move to the given drive root d: e: etc…


5. Execute the git clone / curl download command below
curl -Uri https://raw.githubusercontent.com/PeterSuh-Q3/tinycore-redpill/main/prepare-offline.bat -OutFile prepare-offline.bat
./prepare-offline.bat


6. Access Synology Download Center and download pat file
https://www.synology.com/en-us/support/download


Change the file name of the download folder ( remove DSM_, other English letters are all lowercase, + changes to p )
DSM_SA6400_69057.pat -> sa6400_69057.pat

DSM_DS920+_69057.pat -> ds920p_69057.pat


Copy the renamed pat file into the auxfiles folder created above.

 

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

10 hours ago, Peter Suh said:

[NOTICE]

 

v1.0.0.5 Add offline loader build function

 

https://github.com/PeterSuh-Q3/tinycore-redpill/releases/tag/v1.0.0.5

 

Assign a drive letter to the USB 3rd partition in Windows 10 and prepare to pre-download the Github module for building an offline loader.


1. After downloading, installing, and running MiniTool Partition Wizard Free, assign a letter to the 3rd USB partition (change letter menu)
https://cdn2.minitool.com/?p=pw&e=pw-free
(It is normal if the drive letter is not visible immediately after changing)


2. Run powershell and install git app
winget install --id Git.Git -e --source winget


3. Rerun powershell


4. Move to the given drive root d: e: etc…


5. Execute the git clone / curl download command below
curl -Uri https://raw.githubusercontent.com/PeterSuh-Q3/tinycore-redpill/main/prepare-offline.bat -OutFile prepare-offline.bat
./prepare-offline.bat


6. Access Synology Download Center and download pat file
https://www.synology.com/en-us/support/download


Change the file name of the download folder ( remove DSM_, other English letters are all lowercase, + changes to p )
DSM_SA6400_69057.pat -> sa6400_69057.pat

DSM_DS920+_69057.pat -> ds920p_69057.pat


Copy the renamed pat file into the auxfiles folder created above.

 

Wow great job 😀

So as far as understand from Linux its possible to do step "1." GParted (alternative to MiniTool) and then steps 2-3 can be skipped. Step "5." Prepare offline.bat can be converted to .sh and can be executed in local path instead of having to download it from GitHub (in case something happens to repository)?

 

  • Like 1
Link to comment
Share on other sites

[NOTICE]

 

v1.0.0.5 Add offline loader build function

 

https://github.com/PeterSuh-Q3/tinycore-redpill/releases/tag/v1.0.0.5

 

[Mount the third USB partition on MacOS and prepare to pre-download the Github module for building an offline loader]


1. Run the terminal app


2. Check disk#s3 (disk number) with diskutil list


3. Create temporary directory for mounting and mount USB 3rd FAT32 partition RW
(Assuming TCRP USB is disk3)
sudo mkdir /Volumes/disk3s3
sudo mount -t msdos /dev/disk3s3 /Volumes/disk3s3


4. Go to the mounted path
cd /Volumes/disk3s3


5. Execute the git clone / curl download command below
curl -kLO https://raw.githubusercontent.com/PeterSuh-Q3/tinycore-redpill/main/prepare-offline.bat
./prepare-offline.bat

 

6. Access Synology Download Center and download pat file
https://www.synology.com/en-us/support/download

 

Change the file name of the download folder ( remove DSM_, other English letters are all lowercase, + changes to p )
DSM_SA6400_69057.pat -> sa6400_69057.pat

DSM_DS920+_69057.pat -> ds920p_69057.pat


Copy the renamed pat file into the auxfiles folder created above.

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

5 minutes ago, dimakv2014 said:

Wow great job 😀

So as far as understand from Linux its possible to do step "1." GParted (alternative to MiniTool) and then steps 2-3 can be skipped. Step "5." Prepare offline.bat can be converted to .sh and can be executed in local path instead of having to download it from GitHub (in case something happens to repository)?

 

 

Lastly, I plan to produce a guide prepared by Ubuntu.
I think it will be similar to the MacOS I just wrote about, but easier. I will test it out and write a guide and post it.

Edited by Peter Suh
  • Thanks 2
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...