Jump to content
XPEnology Community

TinyCore RedPill Loader (TCRP)


pocopico

Recommended Posts

36 minutes ago, lws8964 said:

Hi, can you help me, please

IMG_2191.JPG

 

Yes the repo you are using does not heve the required files for DS3615xs_42621, you need to change your custom_config.json to point to the following 

 

    "redpill_lkm": {
                "source_url": "https://github.com/pocopico/redpill-lkm.git",
                "branch": "master"
            },
            "redpill_load": {
                "source_url": "https://github.com/pocopico/redpill-load.git",
                "branch": "develop"
            },

 

then perform

 

./rlploader clean now

./rploader download bromolow-7.0.1-42218

./rploader listmods bromolow-7.0.1-42218

./rploader postupdate bromolow-7.0.1-42218

 

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

11 minutes ago, pocopico said:

 

Yes the repo you are using does not heve the required files for DS3615xs_42621, you need to change your custom_config.json to point to the following 

 

    "redpill_lkm": {
                "source_url": "https://github.com/pocopico/redpill-lkm.git",
                "branch": "master"
            },
            "redpill_load": {
                "source_url": "https://github.com/pocopico/redpill-load.git",
                "branch": "develop"
            },

 

then perform

 

./rlploader clean now

./rploader download bromolow-7.0.1-42218

./rploader listmods bromolow-7.0.1-42218

./rploader postupdate bromolow-7.0.1-42218

 

Sorry, i am new. How to change my custom_config.json.

Link to comment
Share on other sites

28 minutes ago, lws8964 said:

Sorry, i am new. How to change my custom_config.json.

 

Perform this command in RP LINUX.
The existing custom_config.json file will be updated.

 

git clone https://github.com/pocopico/tinycore-redpill

cp ./tinycore-redpill/custom_config.json .

 

 

After the update of user_config.json, you can see that the support list has increased as follows.

 

Version : 0.7.0.0
----------------------------------------------------------------------------------------
Available platform versions:
----------------------------------------------------------------------------------------
apollolake-6.2.4-25556
apollolake-7.0-41890
apollolake-7.0.1-42218
apollolake-7.1.0-42621
broadwell-7.0.1-42218
broadwell-7.1.0-42621
broadwellnk-7.0.1-42218
broadwellnk-7.1.0-42621
bromolow-6.2.4-25556
bromolow-7.0-41222
bromolow-7.0.1-42218
bromolow-7.1.0-42621
denverton-7.0.1-42218
denverton-7.1.0-42621
geminilake-7.0.1-42218
geminilake-7.1.0-42621
v1000-7.0.1-42218
v1000-7.1.0-42621

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

48 minutes ago, Peter Suh said:

 

Perform this command in RP LINUX.
The existing custom_config.json file will be updated.

 

git clone https://github.com/pocopico/tinycore-redpill

cp ./tinycore-redpill/custom_config.json .

 

 

After the update of user_config.json, you can see that the support list has increased as follows.

 

Version : 0.7.0.0
----------------------------------------------------------------------------------------
Available platform versions:
----------------------------------------------------------------------------------------
apollolake-6.2.4-25556
apollolake-7.0-41890
apollolake-7.0.1-42218
apollolake-7.1.0-42621
broadwell-7.0.1-42218
broadwell-7.1.0-42621
broadwellnk-7.0.1-42218
broadwellnk-7.1.0-42621
bromolow-6.2.4-25556
bromolow-7.0-41222
bromolow-7.0.1-42218
bromolow-7.1.0-42621
denverton-7.0.1-42218
denverton-7.1.0-42621
geminilake-7.0.1-42218
geminilake-7.1.0-42621
v1000-7.0.1-42218
v1000-7.1.0-42621

 

IMG_2207.JPG

Link to comment
Share on other sites

22 minutes ago, Vodka2014 said:

Hi All,

 

I am looking for an guide or help to get to DSM v7.x I have Jun Loader right now. Any help please on how to get this all working.

 

Thanks 

 

In the future, I will share three installation manuals.

1. For DSM 7.0.1 installation
2. For installing postupdate in DSM 7.1 for existing DSM 7.0.1 users
3. For DSM 7.1 installation (this installation will be completed within a few days)

What kind of thing do you want?

Edited by Peter Suh
Link to comment
Share on other sites

20 minutes ago, Peter Suh said:

 

 

Custom_config.json has not been changed.
Did you perform the following commands correctly?
Don't miss a dot (.) 

 

git clone https://github.com/pocopico/tinycore-redpill

cp ./tinycore-redpill/custom_config.json .

Can i use PuTTY. What is TC username and password?

 

 

Edited by lws8964
Link to comment
Share on other sites

7 minutes ago, Peter Suh said:

 

In the future, I will share three installation manuals.

1. For DSM 7.0.1 installation
2. For installing postupdate in DSM 7.1 for existing DSM 7.0.1 users
3. For DSM 7.1 installation (this installation will be completed within a few days)

What kind of thing do you want?

Good Day @Peter Suh

 

Thanks for the reply. I need help on how to get this loader installed and setup as i am not very Linux savvy. It is for Physical Hardware. Right now i am on DSM 6.2.3.

 

Is this all stable to use for an Prod System.

 

Thanks

Link to comment
Share on other sites

6 hours ago, Peter Suh said:

 

You didn't mention baremetal or VM environment.
It seems to me that it is a PROXMOX VM environment.
In VM, I know that NVMe cache has not yet been successful.
Baremetal is possible.

Hi, I am on VM, in a VM there is a SATA limitation of 6 disks.

Thank you for trying to help. 

  • Like 1
Link to comment
Share on other sites

Hello.

 

This guide is dedicated to installing DSM 7.0.1 BareMetal.

 

It is a translation from Korean to English using a translator.

 

Please understand if there is a slight misunderstanding.

 

Existing RedPill, which has been released since last year, can generate IMG files directly through the bootloader compilation process only if Linux is available separately.

 

This tinyCore RedPill provides a USB boot image with tinyCore Linux.

 

It's much easier to work without having to install Linux separately.

 

 

As usual, you can add the desired driver directly from the selection header and build it.

 

Tinycore supports the following platforms (DS918+/DS3615xs/DS3617xs/DS3622xs+/DS1621+/DV3221/DS920+).

 

You can continuously change the bootloader without re-creating the image (model/sn/mac, etc.)

 

Tinycore supports both legacy versions for baremetal and virtual environments.

 

 

1. Prepare bootloader IMG file

 

With the Download button in the middle of the GITHUB link below.Download the gz file.

In it, 0.4.6 version img.You can unzip the gz file again and use the img file.

 

(All files)

https://github.com/pocopico/tinycore-redpill

 

(for LEGACY)

https://github.com/pocopico/tinycore-redpill/raw/main/tinycore-redpill.v0.4.6.img.gz

 

(for UEFI)

https://github.com/pocopico/tinycore-redpill/raw/main/tinycore-redpill-uefi.v0.4.6.img.gz

 

(for VMWARE)

https://github.com/pocopico/tinycore-redpill/raw/main/tinycore-redpill.v0.4.6.vmdk.gz

 

 

 

2. Bootloader IMG file USB recording

 

Use the above tinycore-redpill.v0.4.6.img file to burn to USB with convenient image tools such as WinImage and Rufus.

 

There is no need to pre-adjust the configuration file to modify the VID/PID/Serial/MAC/SATAPortMap like JUN loader.

 

If you want to create a USB image on Mac or Linux, you can use the following DD command at the terminal.

 

(Suppose the USB DEVICE ID identified by diskutil is disk4)

 

sudo diskutil unmountDisk /dev/disk4

 

sudo dd if=/Users/MyAccount/Downloads/tinycore-redpill.v0.4.6.img of=/dev/disk4 bs=4m

 

agree eject.

 

 

 

3.tinyCore Linux Boot

 

USB boot by plugging into the PC you want to use as XPENOLOGY (you can start using UEFI 1 partition or USB CSM)

 

Only TinyCore Linux menu appears and runs automatically

 

Start the terminal app on the far right icon.

 

Use the ifconfig command to verify the ip address where the en0 LAN card is automatically allocated.

 

220210_lec_e7397197e78d8a0ccb100073529ff34d3adfbf13.thumb.jpg.48832af6aa2d6f8ae0c0379ddad6c1b3.jpg

 

 

 

4. CONFIG adjustment after SSH connection

 

Connect ssh from another PC, such as putty. ( id:tc / pass : P@ssw0rd )

 

After connecting, update to the latest version with the following command.

 

tc@box:~$ ./rploader.sh update now

 

 

Tinycore Redpill is still in a stable state of stabilization.

 

PocoPico, the developer of this program, will frequently fix bugs and announce rebuilding.

 

There's a possibility that this rebuild will happen from time to time.

 

Even if you use the first IMG file version of 0.4.6, you can continue to receive real-time updates of changes through the Internet.

 

Therefore, before using it for the first time, please make sure to download the final patch status with the update option.

 

 

 

If you've continued to migrate from JUN's XPhenology,

 

tc@box:~$vi user_config.json

 

The user_config.json file's VID/PID/Sn/Mac/SataPortMap, etc. are existing grub.Please refer to the cfg and insert it as it is.

 

For new installers, perform serial GEN/USB VID, PID auto detect, SataPortMap auto detect, etc. as follows.

 

The next process is DS3622xs+, which is currently undergoing the most stable session first. I will focus on explaining.

 

tc@box:~$ ./rploader.sh serialgen DS3622xs+

 

tc@box:~$ ./rploader.sh identifyusb now

 

tc@box:~$./rploader.sh satamap now (HBA card users are not required)

 

You can see that the contents of user_config.json are changed automatically.

 

 

 

Finally, it is common for existing users and new installers.

 

tc@box:~$catuser_config.json, assuming there are 4 built-in sata ports.

 

SataPortMap = "4",

 

DiskIdxMap = "00"

 

Please check if it is changed to the back.

 

After find.synology.com, you may not be able to find the SATA HDD during DSM installation.

 

The following is an example when a 6-port SATA expansion card is installed.

 

SataPortMap = "46",

 

DiskIdxMap = "0000"

 

(For those who use cards such as H200, H310, H710, etc., exceptional, you do not need to erase the option of this SataPortMap and DiskIdxMap itself.

 

Please erase the lines of the above two options in the vi editor and organize them well so that they don't end with Syntex errors. Of course.

 

./rploader.sh satamap now command is not required.)

 

 

 

5.BIOS built-in SATA port Hot Plug disable -> enable (important)

 

To avoid temporarily reducing the SataPortMap value set above by the number of HDD physically connected by Sata cable during DSM installation,

 

Be sure to turn on the Hot Plug function.

 

This reduces the probability of encountering an error message saying that the HDD cannot be found because the number of SataPortMap automatically above is recognized as normal recognized.

 

However, if M.2 and Sata ports are Muxed Sata ports that share Lane, it should be considered unusable.

 

 

 

6. Build bootloader after SSH connection

 

When you have finished adding the above extension driver, you will finally build the bootloader.

 

tc@box:~$ ./rploader.sh build broadwellnk-7.0.1-42218

 

The list of supported platforms can only be found in Help with the following commands:

 

tc@box:~$ ./rploader.sh

 

 

 

7. backup and reboot for bootloader use

 

After successfully completing the build, back up the configuration with the following command and restart the genology with USB.

 

tc@box:~$ filetool.sh -b &&/usr/bin/exitcheck.sh

 

Or

 

tc@box:~$ ./rploader.sh backup now

 

tc@box:~$ sudo reboot

 

It has the same effect.

 

The backed up settings and ext drivers remain the same.

 

The next time TinyCore Linux starts for correction, the setting value will be restored from the mydata.tgz file.

 

 

8. Launch the Grub Menu

 

BareMetal must select the first USB boot menu.

The first USB menu will be automatically selected.

The last selected menu will be stored and used for the next boot.

 

IMG_5003.thumb.JPG.0c45e1a4206efb55b7a49b328de5a17f.JPG

 

 

 

9. Installing DSM with find.synology.com

 

On an XPhenology PC,

There is a delay of about 1 to 2 minutes for IP allocation, so please wait a little longer.

There is nothing more to do on this XPhenology PC once you have checked the Kernel boot message.

 

Now look for XPhenology on another PC at find.synology.com.

 

If found successfully, proceed with the initial installation of DSM or the expected migration DSM installation process.

 

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

52 minutes ago, Vodka2014 said:

Good Day @Peter Suh

 

Thanks for the reply. I need help on how to get this loader installed and setup as i am not very Linux savvy. It is for Physical Hardware. Right now i am on DSM 6.2.3.

 

Is this all stable to use for an Prod System.

 

Thanks

 

I just shared the guide for installing DSM 7.0.1.

Please refer to the full contents.

Link to comment
Share on other sites

6 hours ago, Dvalin21 said:

Oh no, im waiting, now knowing it will be out soon!

 

@Dvalin21

 

I thought I didn't need postupdate when TPRC's new feature was released.
I think your problem needs to be solved separately.


There is no need to worry about encryption and non-encryption for 7.1 RC pat files used in TPRC's preliminary preparation for postupdate.
You can just update it in DSM 7.0.1 with the pat downloaded on the Sinology homepage.
Did we proceed like this?

And can you capture the log screen that says there is a mount error?
Even if I can't solve it, wouldn't someone else be able to answer?

  • Thanks 1
Link to comment
Share on other sites

3 hours ago, Peter Suh said:

 

@Dvalin21

 

I thought I didn't need postupdate when TPRC's new feature was released.
I think your problem needs to be solved separately.


There is no need to worry about encryption and non-encryption for 7.1 RC pat files used in TPRC's preliminary preparation for postupdate.
You can just update it in DSM 7.0.1 with the pat downloaded on the Sinology homepage.
Did we proceed like this?

And can you capture the log screen that says there is a mount error?
Even if I can't solve it, wouldn't someone else be able to answer?

isnt there an issue with the script for bromollow 7.1 ? i see that it points to sda3 when it should be sdf3 ?

 

Could not find pat file locally cached
Downloading pat file from URL : https://global.download.synology.com/download/DSM/release/7.1/42621/DSM_DS3615xs_42621.pat
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0Warning: Failed to create the file /mnt/sda3/auxfiles/DS3615xs_42621.pat: No
Warning: such file or directory
  0  339M    0 16384    0     0   123k      0  0:47:03 --:--:--  0:47:03  123k
curl: (23) Failed writing body (0 != 16384)
Failed to download PAT file /mnt/sda3/auxfiles/DS3615xs_42621.pat from https://global.download.synology.com/download/DSM/release/7.1/42621/DSM_DS3615xs_42621.pat

 

if i check in the rploader.sh

 curl --location ${pat_url} -o "/mnt/sda3/auxfiles/${MODEL}_${TARGET_REVISION}.pat"
        patfile="/mnt/sda3/auxfiles/${MODEL}_${TARGET_REVISION}.pat"
        if [ -f ${patfile} ]; then
            testarchive ${patfile}
        else
            echo "Failed to download PAT file $patfile from ${pat_url} "
            exit 99

 

all other path refer to sdf at least in my setup.

 

so i went back to basic by following your other notes:

 

    "redpill_lkm": {
                "source_url": "https://github.com/pocopico/redpill-lkm.git",
                "branch": "master"
            },
            "redpill_load": {
                "source_url": "https://github.com/pocopico/redpill-load.git",
                "branch": "develop"
            },

then perform

./rlploader clean now
./rploader download bromolow-7.0.1-42218
./rploader listmods bromolow-7.0.1-42218
./rploader postupdate bromolow-7.0.1-42218

 

but then i have a error symbol grub_disk_native_sectors not found.

and i am back to rescue mode 😕

Edited by titoum
Link to comment
Share on other sites

28 minutes ago, titoum said:

isnt there an issue with the script for bromollow 7.1 ? i see that it points to sda3 when it should be sdf3 ?

 


Could not find pat file locally cached
Downloading pat file from URL : https://global.download.synology.com/download/DSM/release/7.1/42621/DSM_DS3615xs_42621.pat
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0Warning: Failed to create the file /mnt/sda3/auxfiles/DS3615xs_42621.pat: No
Warning: such file or directory
  0  339M    0 16384    0     0   123k      0  0:47:03 --:--:--  0:47:03  123k
curl: (23) Failed writing body (0 != 16384)
Failed to download PAT file /mnt/sda3/auxfiles/DS3615xs_42621.pat from https://global.download.synology.com/download/DSM/release/7.1/42621/DSM_DS3615xs_42621.pat

 

if i check in the rploader.sh


 curl --location ${pat_url} -o "/mnt/sda3/auxfiles/${MODEL}_${TARGET_REVISION}.pat"
        patfile="/mnt/sda3/auxfiles/${MODEL}_${TARGET_REVISION}.pat"
        if [ -f ${patfile} ]; then
            testarchive ${patfile}
        else
            echo "Failed to download PAT file $patfile from ${pat_url} "
            exit 99

 

all other path refer to sdf at least in my setup.

 

Its a forgoten hardcoded dev .. it should bow be fixed ... 

  • Thanks 1
Link to comment
Share on other sites

7 hours ago, Peter Suh said:

 

Perform this command in RP LINUX.
The existing custom_config.json file will be updated.

 

git clone https://github.com/pocopico/tinycore-redpill

cp ./tinycore-redpill/custom_config.json .

 

 

After the update of user_config.json, you can see that the support list has increased as follows.

 

Version : 0.7.0.0
----------------------------------------------------------------------------------------
Available platform versions:
----------------------------------------------------------------------------------------
apollolake-6.2.4-25556
apollolake-7.0-41890
apollolake-7.0.1-42218
apollolake-7.1.0-42621
broadwell-7.0.1-42218
broadwell-7.1.0-42621
broadwellnk-7.0.1-42218
broadwellnk-7.1.0-42621
bromolow-6.2.4-25556
bromolow-7.0-41222
bromolow-7.0.1-42218
bromolow-7.1.0-42621
denverton-7.0.1-42218
denverton-7.1.0-42621
geminilake-7.0.1-42218
geminilake-7.1.0-42621
v1000-7.0.1-42218
v1000-7.1.0-42621


Hi
I have got exactly the same problem as lws8964.

After performing:

Quote

git clone https://github.com/pocopico/tinycore-redpill

cp ./tinycore-redpill/custom_config.json .

I have all the available platform versions. But still, the following message still appears
 

Quote

Checking config file existence -> No config file found, please use the proper repo, clean and download again

I do not know if I had to change also the global_config.json, but after changing it with the proper version, the message from above stayed the same.

Thank you :)

 

Edit:
I forgot to mention a couple of things:

- Successfully installed version 7.0 on baremetal
- Followed the post-update tutorial for bromolow (DS3615xs)

Should I change to other platform instead? ATM I have no files to lose

Edited by octfoc
Link to comment
Share on other sites

6 minutes ago, octfoc said:


Hi
I have got exactly the same problem as lws8964.

After performing:

I have all the available platform versions. But still, the following message still appears
 

I do not know if I had to change also the global_config.json, but after changing it with the proper version, the message from above stayed the same.

Thank you :)

 

perform the following : 

 

./rploader.sh clean now

./rploader.sh update now

./rploader fullupgrade not 

./rploader.sh download YOURPLATFORM

 

 

Link to comment
Share on other sites

The rploader.sh has reached version 0.7.0.0 

 

It now includes the following

 

- Two stage upgrade for 7.1

- 7.1. Loader creation from scratch

- Local (on stick/disk) Caching of created and downloaded files

- Support for DS920+ (Extensions have been compiled and added to my repo)

- Local Backup (on stick/disk) of current loader partitions 1/2 to /mnt/sdx3/backup/

 

Reminders : 

 

- always add jumkeys redpill-misc extension before you build loader for 7.1

- always add jumkeys redpill-dtb patch for model.dtb and update the model.dtb inside the extension (for ds1621 and ds920) 

 

Please when starting from clear image always perform  :

 

./rploader.sh clean now

./rploader.sh update now

./rploader.sh fullupgrade now (old files will be moved to /home/tc/old) 

./rploader.sh backup now

 

 

 

 

 

 

  • Like 3
Link to comment
Share on other sites

23 minutes ago, pocopico said:

Reminders : 

- always add jumkeys redpill-misc extension before you build loader for 7.1

super work as usual.

 

can you just give a hint how to add redpil misc extension if possible? i will try to do a build on bromllow after that :-)

 

edit: i guess this is the one

./rploader.sh ext bromolow-7.1.0-42621 add https://github.com/jumkey/redpill-load/raw/develop/redpill-misc/rpext-index.json


thx

Edited by titoum
Link to comment
Share on other sites

19 minutes ago, titoum said:

super work as usual.

 

can you just give a hint how to add redpil misc extension if possible? i will try to do a build on bromllow after that :-)
thx

 

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

Edited by Peter Suh
Link to comment
Share on other sites

playing around...sorry if i missed something:

 image.thumb.png.f79ea5e977fed2886706cddfe9a39ddc.png

 

it seems that variable is not set when doing  ./rploader.sh build broadwellnk-7.1.0-42621

 

ok my bad i didnt see testarchive was supposed to check if but it still doesnt seem to provide the value as expected :-)

 

just checked a bit further:

 

image.thumb.png.08efdab6fce43a3e03172c58117b1c7e.png

 

i hope this canl help if of course i didnt miss something 😕

pat file is directly from syno website so untouch

Edited by titoum
add info
Link to comment
Share on other sites

11 minutes ago, titoum said:

playing around...sorry if i missed something:

 image.thumb.png.f79ea5e977fed2886706cddfe9a39ddc.png

 

it seems that variable is not set when doing  ./rploader.sh build broadwellnk-7.1.0-42621

 

ok my bad i didnt see testarchive was supposed to check if but it still doesnt seem to provide the value as expected :-)

 

It seems that Pocopico is busy.
According to Pocopico's guide, to make 7.1 loader,
7.0.1 loader should be made first.

So, I record the USB again and perform it as below.

 

./rploader.sh update now

./rploader.sh fullupgrade now

./rploader.sh clean now

./rploader.sh download broadwellnk-7.0.1-42218

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

./rploader.sh build broadwellnk-7.0.1-42218

./rploader.sh build broadwellnk-7.1.0-42621

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