Jump to content
XPEnology Community

TinyCore RedPill Loader (TCRP)


pocopico

Recommended Posts

@pocopicois it possible

to also keep the option not to auto add extensions except the misc one / in my case the mlx driver doesn’t work with the extension but works oob so I’d rather not include that one when I build or update.  Others might see some similar results and might need to exclude an ext as well. 

Link to comment
Share on other sites

testing 7.1.0 for bromolow

 

Starting loader creation
Found tinycore cache folder, linking to home/tc/custom-module
Checking user_config.json : Done
Entering redpill-load directory
Removing bundled exts directories
Removing : thethorgroup.virtio
Removing : thethorgroup.boot-wait
Cache directory OK
Found build request for revision greater than 42218
Getting required extraction tool
------------------------------------------------------------------
Checking tinycore cache folder
Found tinycore cache folder, linking to home/tc/custom-module
Creating temp folder /tmp/synoesp
Found custom pat file /home/tc/custom-module/ds3615xs_42218.pat
Processing old pat file to extract required files for extraction
Entering synoesp
extract rd.gz
finish
cpio: dev/net/tun: Cannot mknod: Operation not permitted
cpio: dev/console: Cannot mknod: Operation not permitted
37236 blocks
extract rd
mkdir: cannot create directory '/mnt/sda3/auxfiles': File exists
Copying required files to local cache folder for future use
Copying usr/lib/libcurl.so.4 to /mnt/sda3/auxfiles
Copying usr/lib/libmbedcrypto.so.5 to /mnt/sda3/auxfiles
Copying usr/lib/libmbedtls.so.13 to /mnt/sda3/auxfiles
Copying usr/lib/libmbedx509.so.1 to /mnt/sda3/auxfiles
Copying usr/lib/libmsgpackc.so.2 to /mnt/sda3/auxfiles
Copying usr/lib/libsodium.so to /mnt/sda3/auxfiles
Copying usr/lib/libsynocodesign-ng-virtual-junior-wins.so.7 to /mnt/sda3/auxfiles
Copying usr/syno/bin/scemd to /mnt/sda3/auxfiles
Copying required libraries to local lib directory
Linking lib to lib64
Copying executable
Removing temp folder /tmp/synoesp
Checking if tools is accessible
/bin/syno_extract_system_patch: /usr/local/lib/libcurl.so.4: no version information available (requi                                                                                                                                                                                                                         red by /bin/syno_extract_system_patch)
Copyright (c) 2003-2021 Synology Inc. All rights reserved.

/bin/syno_extract_system_patch PATCH_PATH DEST_PATH
Executed succesfully
Creating temp folder /tmp/pat
Checking for cached pat file
Found tinycore cache folder, linking to home/tc/custom-module
Could not find pat file locally cached
cat: /home/tc/redpill-load/config/DS3615xs/7.1.0-42621/config.json: No such file or directory
Configdir : /home/tc/redpill-load/config/DS3615xs/7.1.0-42621
Configfile: /home/tc/redpill-load/config/DS3615xs/7.1.0-42621/config.json
Pat URL :
Downloading pat file from URL :
curl: no URL specified!
curl: try 'curl --help' for more information
Failed to download PAT file //mnt/sda3/auxfiles/ds3615xs_42621.pat from
tc@box:~$ Starting loader creation
Removing : thethorgroup.boot-wait
Cache directory OK
-sh: Starting: not found
Found build request for revision greater than 42218
tc@box:~$ Found tinycore cache folder, linking to home/tc/custom-module
-sh: Found: not found
tc@box:~$ Checking user_config.json : Done
-sh: Checking: not found
tc@box:~$ Entering redpill-load directory
-sh: Entering: not found
tc@box:~$ Removing bundled exts directories
Entering synoesp
-sh: Removing: not found
tc@box:~$ Removing : thethorgroup.virtio
cpio: dev/net/tun: Cannot mknod: Operation not permitted
-sh: Removing: not found
tc@box:~$ Removing : thethorgroup.boot-wait
-sh: Removing: not foundmkdir:
 cannot create directory '/mnt/sda3/auxfiles': File exists
tc@box:~$ Cache directory OK
-sh: Cache: not found
tc@box:~$ Found build request for revision greater than 42218
-sh: Found: not found
tc@box:~$ Getting required extraction tool
-sh: Getting: not found
tc@box:~$ ------------------------------------------------------------------
-sh: ------------------------------------------------------------------: not found
tc@box:~$ Checking tinycore cache folder
-sh: Checking: not found
tc@box:~$ Found tinycore cache folder, linking to home/tc/custom-module
-sh: Found: not found
tc@box:~$ Creating temp folder /tmp/synoesp
-sh: Creating: not found
tc@box:~$ Found custom pat file /home/tc/custom-module/ds3615xs_42218.pat
-sh: Found: not found
tc@box:~$ Processing old pat file to extract required files for extraction
-sh: Processing: not found
tc@box:~$ Entering synoesp
-sh: Entering: not found
tc@box:~$ extract rd.gz
-sh: extract: not found
tc@box:~$ finish
-sh: finish: not found
tc@box:~$ cpio: dev/net/tun: Cannot mknod: Operation not permitted
-sh: cpio:: not found
tc@box:~$ cpio: dev/console: Cannot mknod: Operation not permitted
-sh: cpio:: not found
tc@box:~$ 37236 blocks
-sh: 37236: not found
tc@box:~$ extract rd
-sh: extract: not found
tc@box:~$ mkdir: cannot create directory '/mnt/sda3/auxfiles': File exists
-sh: mkdir:: not found
tc@box:~$ Copying required files to local cache folder for future use
-sh: Copying: not found
tc@box:~$ Copying usr/lib/libcurl.so.4 to /mnt/sda3/auxfiles
-sh: Copying: not found
tc@box:~$ Copying usr/lib/libmbedcrypto.so.5 to /mnt/sda3/auxfiles
-sh: Copying: not found
tc@box:~$ Copying usr/lib/libmbedtls.so.13 to /mnt/sda3/auxfiles
-sh: Copying: not found
tc@box:~$ Copying usr/lib/libmbedx509.so.1 to /mnt/sda3/auxfiles
-sh: Copying: not found
tc@box:~$ Copying usr/lib/libmsgpackc.so.2 to /mnt/sda3/auxfiles
-sh: Copying: not found
tc@box:~$ Copying usr/lib/libsodium.so to /mnt/sda3/auxfiles
-sh: Copying: not found
tc@box:~$ Copying usr/lib/libsynocodesign-ng-virtual-junior-wins.so.7 to /mnt/sda3/auxfiles
-sh: Copying: not found
tc@box:~$ Copying usr/syno/bin/scemd to /mnt/sda3/auxfiles
-sh: Copying: not found
tc@box:~$ Copying required libraries to local lib directory
-sh: Copying: not found
tc@box:~$ Linking lib to lib64
-sh: Linking: not found
tc@box:~$ Copying executable
-sh: Copying: not found
tc@box:~$ Removing temp folder /tmp/synoesp
-sh: Removing: not found
tc@box:~$ Checking if tools is accessible
-sh: Checking: not found
tc@box:~$ /bin/syno_extract_system_patch: /usr/local/lib/libcurl.so.4: no version information availa
ble (required by /bin/syno_extract_system_patch)
-sh: syntax error: unexpected "("

Link to comment
Share on other sites

11 minutes ago, faninx said:

@pocopico

My mobo is ASRock Rack C3758D4I-4L. When I boot tinycore-redpill on baremetal, it got black screen after tinycore's grub and auto reboot about 10 seconds later. But, it's all fine on VM. I don't know why.

Try disabling “above 4g decoding” in bios

Link to comment
Share on other sites

So Im going through the process of building 7.1 and everything seems to be working.  Im checking to see how long does the screen hang on 

Found tinycore cache folder, linking to home/tc/custom-module
ln: failed to create symbolic link '/home/tc/custom-module/auxfiles': File exists
ls: cannot access '/home/tc/custom-module/*ds3622xsp_42621*.pat': No such file or directory
Found locally cached pat file

 

Before it finishes

Link to comment
Share on other sites

12 minutes ago, faninx said:

@pocopico

My mobo is ASRock Rack C3758D4I-4L. When I boot tinycore-redpill on baremetal, it got black screen after tinycore's grub and auto reboot about 10 seconds later. But, it's all fine on VM. I don't know why.

 

Sometimes there is the same phenomenon in my baremetal. But there's nothing wrong with the movement.

  • Like 1
Link to comment
Share on other sites

10 minutes ago, Dvalin21 said:

So Im going through the process of building 7.1 and everything seems to be working.  Im checking to see how long does the screen hang on 

Found tinycore cache folder, linking to home/tc/custom-module
ln: failed to create symbolic link '/home/tc/custom-module/auxfiles': File exists
ls: cannot access '/home/tc/custom-module/*ds3622xsp_42621*.pat': No such file or directory
Found locally cached pat file

 

Before it finishes

 

Did you build the 7.0.1 loader first?
It seems to be the same log that I made a mistake when I built 7.1.0 loader right away without the above process.

Link to comment
Share on other sites

According to pocopico's guide, to make 7.1 loader,
7.0.1 loader should be made first.
 

I hope Pocopico will check it again
I think the order of the building below is correct.

 

./rploader.sh update now

./rploader.sh fullupgrade now

./rploader.sh clean now

 

./rploader.sh serialgen DS3622xs+

./rploader.sh identifyusb now

./rploader.sh satamap 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

  • Like 1
  • Thanks 2
Link to comment
Share on other sites

12 minutes ago, Peter Suh said:

According to pocopico's guide, to make 7.1 loader,
7.0.1 loader should be made first.
 

I hope Pocopico will check it again
I think the order of the building below is correct.

 

./rploader.sh update now

./rploader.sh fullupgrade now

./rploader.sh clean now

 

./rploader.sh serialgen DS3622xs+

./rploader.sh identifyusb now

./rploader.sh satamap 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

Yeah I think I did. Ill go back and try again

Link to comment
Share on other sites

Found tinycore cache folder, linking to home/tc/custom-module
Could not find pat file locally cached
Configdir : /home/tc/redpill-load/config/DS3622xs+/7.1.0-42621 
Configfile: /home/tc/redpill-load/config/DS3622xs+/7.1.0-42621/config.json 
Pat URL : ds.pat
Downloading pat file from URL : ds.pat 
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: ds.pat
Failed to download PAT file //mnt/sda3/auxfiles/ds3622xsp_42621.pat from ds.pat 
 

@Peter Suh Also

Link to comment
Share on other sites

8 minutes ago, Dvalin21 said:

Found tinycore cache folder, linking to home/tc/custom-module
Could not find pat file locally cached
Configdir : /home/tc/redpill-load/config/DS3622xs+/7.1.0-42621 
Configfile: /home/tc/redpill-load/config/DS3622xs+/7.1.0-42621/config.json 
Pat URL : ds.pat
Downloading pat file from URL : ds.pat 
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: ds.pat
Failed to download PAT file //mnt/sda3/auxfiles/ds3622xsp_42621.pat from ds.pat 
 

@Peter Suh Also

 

@Dvalin21

 

 

It is exactly the same as the error that occurred to me.
So I did the bug report as below and am waiting for the reply from pocopico.

 

 

 

Link to comment
Share on other sites

@Peter Suh

I also got the following error

[-] The extension pocopico.tg3 was found. However, the extension index has no recipe for ds3622xsp_42621 platform. It may not be
[-] supported on that platform, or author didn't updated it for that platform yet. You can try running
[-] "ext-manager.sh update" to refresh indexes for all extensions manually. Below are the currently known information about
[-] the extension stored locally: [#] ========================================== pocopico.tg3 ==========================================
[#] Extension name: tg3
[#] Description: Adds Broadcom Tigon3 ethernet driver Support
[#] To get help visit: <todo>
[#] Extension preparer/packer: https://github.com/pocopico/rp-ext/tree/master/tg3
[#] Software author: https://github.com/pocopico
[#] Update URL: https://raw.githubusercontent.com/pocopico/rp-ext/master/tg3/rpext-index.json
[#] Platforms supported: ds3617xs_25556u2 ds918p_41890 ds3617xs_42218 ds3615xs_25556u2 ds3617xs_25556 ds918p_25556 ds3622xsp_42218 ds3615xs_41222 ds3617xs_42218u2 ds3615xs_25556 ds918p_42218 ds3615xs_42218 
[#] =======================================================================================

[!] Cannot continue due to previous errors (see above)

*** Process will exit ***
[!] Failed to update all extensions for ds3622xsp_42621 platform - see errors above

*** Process will exit ***
 

Link to comment
Share on other sites

4 minutes ago, Dvalin21 said:

@Peter Suh

I also got the following error

[-] The extension pocopico.tg3 was found. However, the extension index has no recipe for ds3622xsp_42621 platform. It may not be
[-] supported on that platform, or author didn't updated it for that platform yet. You can try running
[-] "ext-manager.sh update" to refresh indexes for all extensions manually. Below are the currently known information about
[-] the extension stored locally: [#] ========================================== pocopico.tg3 ==========================================
[#] Extension name: tg3
[#] Description: Adds Broadcom Tigon3 ethernet driver Support
[#] To get help visit: <todo>
[#] Extension preparer/packer: https://github.com/pocopico/rp-ext/tree/master/tg3
[#] Software author: https://github.com/pocopico
[#] Update URL: https://raw.githubusercontent.com/pocopico/rp-ext/master/tg3/rpext-index.json
[#] Platforms supported: ds3617xs_25556u2 ds918p_41890 ds3617xs_42218 ds3615xs_25556u2 ds3617xs_25556 ds918p_25556 ds3622xsp_42218 ds3615xs_41222 ds3617xs_42218u2 ds3615xs_25556 ds918p_42218 ds3615xs_42218 
[#] =======================================================================================

[!] Cannot continue due to previous errors (see above)

*** Process will exit ***
[!] Failed to update all extensions for ds3622xsp_42621 platform - see errors above

*** Process will exit ***
 

 

There is no ds3622xsp_42621 as seen on the supported platform of the log.
Driver version not yet supported.
I think it's a NIC, but is it possible to temporarily disable it and replace it with another NIC?
There is no problem with Intel or REALTEK.

 

Edited by Peter Suh
Link to comment
Share on other sites

I'm getting the same thing on bromolow-7.1.0-42621

 

Pat URL :
Downloading pat file from URL :
curl: no URL specified!
curl: try 'curl --help' for more information
Failed to download PAT file //mnt/sda3/auxfiles/ds3615xs_42621.pat from

 

It looks to me like it's just missing the url for the pat....

Link to comment
Share on other sites

2 minutes ago, Peter Suh said:

 

There is no ds3622xsp_42621 as seen on the supported platform of the log.
Driver version not yet supported.
I think it's a NIC, but is it possible to temporarily disable it and replace it with another NIC?
There is no problem with Intel or REALTEK.

 

Yes it is a nic, i think e1000e. I need it as I dont have any other nic. Is there a way to force it?

Edited by Dvalin21
Link to comment
Share on other sites

11 minutes ago, RacerX said:

I'm getting the same thing on bromolow-7.1.0-42621

 

Pat URL :
Downloading pat file from URL :
curl: no URL specified!
curl: try 'curl --help' for more information
Failed to download PAT file //mnt/sda3/auxfiles/ds3615xs_42621.pat from

 

It looks to me like it's just missing the url for the pat....

@Peter SuhI got passed that part by copying the ds3622sxp_42621.pat file to mnt/sda3/auxfiles  

Edited by Dvalin21
Link to comment
Share on other sites

7 minutes ago, Dvalin21 said:

@Peter SuhI noticed that the loader did created the unencrypted 7.1.0 pat file. Do you think if I were to go ahead and rebuild 7.0.1 and update manually, do you think it would complete?

 

Yes, the unencrypted pat file is used
If you look at the last line of the first capture image I reported below, the pat file is well copied to the mounted path.
But it's the root authority. I have inquired to Pocopico if there is a problem with this part.

 

 

Link to comment
Share on other sites

2 hours ago, Peter Suh said:

@pocopico

 

This is the result of receiving test support from another helper.
In the ESXI environment, the fullupgrade process to 0.7.0.1 was performed
The same error result is coming out.

 

75d6a359fb40ef9ddcfda33bb33d4a71.jpg.b068d80f1e6dda6dfbd2d5d5591785bd.jpg

 

 

845cc296a2ad245831fbed7f969e46ff.jpg.cc74a4ae50c4901fbdffb1127e507499.jpg

 

 

For the first error the cp -adf that is used tries to archive to file so it also tries to preserve permissions and on FAT filesystem the unix permissions are not allowes

 

Its was indeed a redpill-load config issue on my repo, I've updated the config files and have tested exacty the same and i've created two different loaders for 920 &3622

My suggestion is to start clear although the pull that happend in the build process should have fix that 

 

https://github.com/pocopico/redpill-load/commits/develop/config/DS3622xs%2B/7.1.0-42621/config.json

Link to comment
Share on other sites

9 minutes ago, Dvalin21 said:9분 전, 드발린21은 이렇게 말했다.

@Peter SuhI got passed that part by copying the ds3622sxp_42621.pat file to mnt/sda3/auxfiles   @Peter SuI는 ds3622sxp_42621.pat 파일을 mnt/sda3/aux 파일에 복사하여 그 부분을 통과했다.

 

Is the user of the manually copied 7.1 pat file tc instead of root?

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