Jump to content
XPEnology Community

TinyCore RedPill Loader (TCRP)


pocopico

Recommended Posts

9 minutes ago, Peter Suh said:

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

 

same... i dont know what i am doing wrong

 

i was able to build 7.0.1 no problemo then i switched to 7.1

i got this first error:

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/sdf3/auxfiles/DS3622xs+_42621.pat from ds.pat

 

so i have copied the pat file directly in the cache:

/bin/syno_extract_system_patch: /usr/local/lib/libcurl.so.4: no version information available (required by /bin/syno_extract_system_patch)
Executed succesfully
Processing pat file  file
Checking for cached pat file
Found tinycore cache folder, linking to home/tc/custom-module
Found locally cached pat file /home/tc/custom-module/DSM_DS3622xs+_42621.pat
./rploader.sh: line 148: [: =: unary operator expected
./rploader.sh: line 152: [: =: unary operator expected
Something went wrong, please check cache files

 

which then fallback to other issue about testarchive.

 

time to cook :-) nothing urgent. i just like to dig into this.

Link to comment
Share on other sites

4 minutes ago, titoum said:

 

same... i dont know what i am doing wrong

 

i was able to build 7.0.1 no problemo then i switched to 7.1

i got this first error:


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/sdf3/auxfiles/DS3622xs+_42621.pat from ds.pat

 

so i have copied the pat file directly in the cache:


/bin/syno_extract_system_patch: /usr/local/lib/libcurl.so.4: no version information available (required by /bin/syno_extract_system_patch)
Executed succesfully
Processing pat file  file
Checking for cached pat file
Found tinycore cache folder, linking to home/tc/custom-module
Found locally cached pat file /home/tc/custom-module/DSM_DS3622xs+_42621.pat
./rploader.sh: line 148: [: =: unary operator expected
./rploader.sh: line 152: [: =: unary operator expected
Something went wrong, please check cache files

 

which then fallback to other issue about testarchive.

 

time to cook :-) nothing urgent. i just like to dig into this.

 

 

This is my last log when I built 7.1.0
At the end, the URL appears undefined.

 

1868409750_2022-04-0612_08_13.thumb.png.d5ff90a6395a34fd0c7abe671bc67f67.png

 

 

Link to comment
Share on other sites

1 hour 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

 

I've upgraded and finally made use of the add_extension key of @haydibe, so now extentions are automatically added and parsed,  in case they are listed in the add_extensions part of the custom_config.json. 

 

Do a fullupgrade to download latest custom_config.json 

 

 

  • Like 2
Link to comment
Share on other sites

14 minutes ago, Peter Suh said:

 

 

This is my last log when I built 7.1.0
At the end, the URL appears undefined.

 

1868409750_2022-04-0612_08_13.thumb.png.d5ff90a6395a34fd0c7abe671bc67f67.png

 

 

 

You are missing the config file from the repo , can you check the following ?

 

customer_config.json contains valid repo

did you clean ? did you download ?

Link to comment
Share on other sites

Just now, Peter Suh said:

@pocopico

 

The 7.0.1 build was successful, as shown in the log
Copy to the last cache directory and see something wrong.
Is it about authority?

 

223947483_2022-04-0612_21_12.thumb.png.dee49c3d165e34464191bdd3e8468ba9.png

 

And, when I proceed with the 7.1 build,
It seems that the pat file of the above cache directory cannot be found as below.

 

1759935118_2022-04-0612_21_37.thumb.png.7a1261ed6f178b6e154fc6ce7a84f075.png

 

 

Hm , i need to write more checks... please verify my msg above ^^^

Link to comment
Share on other sites

25 minutes ago, Peter Suh said:

@pocopico

 

The 7.0.1 build was successful, as shown in the log
Copy to the last cache directory and see something wrong.
Is it about authority?

 

223947483_2022-04-0612_21_12.thumb.png.dee49c3d165e34464191bdd3e8468ba9.png

 

And, when I proceed with the 7.1 build,
It seems that the pat file of the above cache directory cannot be found as below.

 

1759935118_2022-04-0612_21_37.thumb.png.7a1261ed6f178b6e154fc6ce7a84f075.png

exact same issue i faced ;-)

 

i did exact steps advise by pocopico and then redo steps from peter.

 

imo something is wrong with testarchive() which invalidate a couple of other steps.

Link to comment
Share on other sites

On 4/3/2022 at 8:55 PM, alirz1 said:

ok so after bumping the vm memory to 2GB it seems to have worked, the loader was built. Now when i reboot and choose the SATA boot option from the menu, it just sits at

"Decompressin linux, ...Parsing ELF...Done"

"Booting Kernel".

 

At this point, i cant seem to find the synology in synology assistant, so im not sure if its picking up an IP or not? Are we able to see any logs via some serial console etc? I know in the past with JUN's loader we wouldnt be able to see anything in the vm console after the kernel booting message..

Could this be due to possible incorrect sataport map etc? i have currently set it to 1 and diskid map to "0A00".

 

Note, as mentioned previosuly, this is all being setup in vmware working station. where, duting the tinycore uild process i have an IP etc..

This was they exact same problem I was experiencing. As i mentioned earlier you need to change the NIC driver from e1000 to vmxnet3. Yes, the VM will boot into TinyCore witjh the default NIC driver but once you build the DSM and try to boot into it via SATA it will no longer acqurie an IP address. You'll need to build the DSM again after changing the NIC driver so it downloads the correct extension for the vmxnet3. Give it a shot, worked for me.

Link to comment
Share on other sites

2 hours ago, titoum said:

exact same issue i faced ;-)

 

i did exact steps advise by pocopico and then redo steps from peter.

 

imo something is wrong with testarchive() which invalidate a couple of other steps.

 

Fixed several issues and tested. Please do a fullupgrade and test again.

  • Like 2
Link to comment
Share on other sites

I id a little vanilla test with DD3615  bromolow-7.0.1-2218

 

I'm getting this a the end of the build


 

Found /home/tc/redpill-load/cache/ds3615xs_42218.pat, copying to cache directory : /mnt                 /sdd3/auxfiles
cp: failed to preserve ownership for '/mnt/sdd3/auxfiles/ds3615xs_42218.pat': Operation                  not permitted

 

 

Edited by RacerX
Link to comment
Share on other sites

2 minutes ago, RacerX said:

I id a little vanilla test with DD3615  bromolow-7.0.1-2218

 

I'm getting this a the end of the build


 



Found /home/tc/redpill-load/cache/ds3615xs_42218.pat, copying to cache directory : /mnt                 /sdd3/auxfiles
cp: failed to preserve ownership for '/mnt/sdd3/auxfiles/ds3615xs_42218.pat': Operation                  not permitted

sudo ./rploader.sh build bromolow-7.0.1-2218

 

 

Yes Its a cosmetic problem, its not an issue. FAT does not know anything about unix permissions ...

 

Do you mind also testing 7.1.0 for bromolow ? 

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

Hi all,
HELP me!
 i tried to perform dsm 7 baremetal UEFI on old xpenology 6.0. 
I have a problem on installation of DSM, i find the xpenology with "find.synology.com" but after accept eula the system perform HDDS error.
I have tested different combination of "sataportmap"/"diskidxmap" on user_config, but the result is different hdds number error means.
With  automap i have:"SataPortMap": "512","DiskIdxMap": "000C". 
On mainboard her have 3 port SATA and onather pci with 6 port SATA.
I try:"SataPortMap": "36","DiskIdxMap": "0000" the resuilt is idem.

error.jpg

find.jpg

HDDS DSM 6.jpg

Link to comment
Share on other sites

6 minutes ago, aliens said:

Hi all,
HELP me!
 i tried to perform dsm 7 baremetal UEFI on old xpenology 6.0. 
I have a problem on installation of DSM, i find the xpenology with "find.synology.com" but after accept eula the system perform HDDS error.
I have tested different combination of "sataportmap"/"diskidxmap" on user_config, but the result is different hdds number error means.
With  automap i have:"SataPortMap": "512","DiskIdxMap": "000C". 
On mainboard her have 3 port SATA and onather pci with 6 port SATA.
I try:"SataPortMap": "36","DiskIdxMap": "0000" the resuilt is idem.

error.jpg

find.jpg

HDDS DSM 6.jpg

 

Dont worry, its totally fixable :

 

please provide the following output from tinycore :

 

tce-load -iw scsi-5.10.3-tinycore64.tcz
lsscsi -Hv

lspci -nnq 

 

 

Link to comment
Share on other sites

2 minutes ago, coint_cho said:

Updated rploader to the latest version and cleaned everything before building again and currently stuck at this phase.

image.thumb.png.f284fbf270c01273a3c27060545e5232.png
Enviroment proxmox, stuck at here twice after updating from a fresh image of tc.

And I'm pretty sure all my files is still there..

image.png.821004f0ed1f77b54d2762126c495152.png

Link to comment
Share on other sites

5 hours ago, bc0421 said:

This was they exact same problem I was experiencing. As i mentioned earlier you need to change the NIC driver from e1000 to vmxnet3. Yes, the VM will boot into TinyCore witjh the default NIC driver but once you build the DSM and try to boot into it via SATA it will no longer acqurie an IP address. You'll need to build the DSM again after changing the NIC driver so it downloads the correct extension for the vmxnet3. Give it a shot, worked for me.

 

Thanks. But I don't see an option in VMware workstation pro to change nic type. Fr vmxnet to e1000.

 

 

Link to comment
Share on other sites

8 minutes ago, alirz1 said:

 

Thanks. But I don't see an option in VMware workstation pro to change nic type. Fr vmxnet to e1000.

 

 

You need to modify the VMX file which is in the directory your VM files are stored. Find the ethernet0.virtualDev entry  and change it from e1000 to vmxnet3.    (ethernet0.virtualDev = "vmxnet3")

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