Jump to content
XPEnology Community

TinyCore RedPill loader (TCRP) - Development release 0.9


Recommended Posts

19 hours ago, Peter Suh said:

 

 

I just rebooted without taking any action, but the warning message above disappears and I log in normally.

 

 

 

Hello. I had the same yellow message - it's ok - it's just info for modification due update of dsm (from Gui).

Second reboot with no yellow :)

 

  • Like 2
Link to comment
Share on other sites

3 hours ago, foxbat said:

Hello. I had the same yellow message - it's ok - it's just info for modification due update of dsm (from Gui).

Second reboot with no yellow :)

 

He was not referring to the yellow message. That's intended and expected. He was referring to the error message subsequent to that the yellow line which states the following:

 

parse error: Invalid numeric litteral at line 1, column 10
  • Like 1
Link to comment
Share on other sites

26 minutes ago, Polanskiman said:

He was not referring to the yellow message. That's intended and expected. He was referring to the error message subsequent to that the yellow line which states the following:

 

parse error: Invalid numeric litteral at line 1, column 10

 

Unfortunately, i was not able to reproduce it, nor find the cause for this. I will keep looking.

Link to comment
Share on other sites

21 minutes ago, Polanskiman said:

Beautiful. I see it's been added to the code along other fixes.

 

The smallfixnumber key has been added but it will be updated on the next update or the next manual patchramdisk run.

 

So if you want that to be displayed on your system you will need to either manually edit the user_config.json file, that can be done while on DSM by running the following via ssh on DSM

sudo -s
cd /dev
mount synoboot3 /mnt
vi /mnt/user_config.json

 

or reboot and stop press ctril-c on your tcrpfriend boot timeout and perform the following 

 

./boot.sh patchramdisk
./boot.sh 

 

 

Edited by pocopico
Link to comment
Share on other sites

1 hour ago, pocopico said:

So if you want that to be displayed on your system you will need to either manually edit the user_config.json file, that can be done while on DSM by running the following via ssh on DSM

sudo -s
cd /dev
mount synoboot3 /mnt
vi /mnt/user_config.json

 

I see that you posted a similar trick earlier in the thread and I find this amazing. One can edit the loader on the fly offsite. I did it a few times the other day until I inserted those syntax errors and then I was stuck. Nonetheless a great way to do simple edits. A word of caution for those using this, is that one needs to triple check everything before reboot in order to avoid being stuck until having physical access to the machine.

Link to comment
Share on other sites

@pocopicoThere I am stuck again. Stupid me. This is entirely my fault. I forgot I had disabled my secondary VPN on the router earlier yesterday due to some issue. 🤣 - Luckily I'll be home soon. This leads me to think that maybe incorporating a timer of say 10 minutes if no action is taken by the user would be a nice thing within the stopatfriend function. This would allow the user to regain access to DSM in the event that one can't access the local network anymore for whatever reason.

  • Like 2
Link to comment
Share on other sites

Hi all,

 

TCRP rploader.sh has been updated and you can now use the model instead of the platform.It should work with old custom_config.json files but the boot images have been updated with the new scheme.

 

New build command :

./rploader.sh build ds3615xs-7.1.1-42962 withfriend

 

Instead of :

./rploader.sh build bromolow-7.1.1-42962 withfriend

 

Reason for that is that begginers get confused with all the platform names and that platforms are also used on other models as well. 

 

Edited by pocopico
  • Thanks 4
Link to comment
Share on other sites

31 minutes ago, pocopico said:

Hi all,

 

TCRP rploader.sh has been updated and you can now use the model instead of the platform.It should work with old custom_config.json files but the boot images have been updated with the new scheme.

 

New build command :

./rploader.sh build ds3615xs-7.1.1-42962 withfriend

 

Instead of :

./rploader.sh build bromolow-7.1.1-42962 withfriend

 

Reason for that is that begginers get confused with all the platform names and that platforms are also used on other models as well. 

 

is that new command schema also for the extension manager applicable?

Link to comment
Share on other sites

Hi all!

For your information, i upgraded today to latest TCRP Friend (0.0.3) and now my Terramaster F5-422 boots successfully using TCRP Friend! It no longer hangs! :)

I still have an issue regarding the NIC, it refuses to use the 10g one, it sets the mac address to one of the 1G NIC (which i manually connected, it usually is not connected), then it found connectivity and updated itself fine...

Anyway this allowed me to apply 42962 Update 2 to this NAS, so i'm pretty happy! Thanks!

Edited by Blubster
Link to comment
Share on other sites

Hi all!
For your information, i upgraded today to latest TCRP Friend (0.0.3) and now my Terramaster F5-422 boots successfully using TCRP Friend! It no longer hangs! [emoji4]
I still have an issue regarding the NIC, it refuses to use the 10g one, it sets the mac address to one of the 1G NIC (which i manually connected, it usually is not connected), then it found connectivity and updated itself fine...
Anyway this allowed me to apply 42962 Update 2 to this NAS, so i'm pretty happy! Thanks!

Do you still build DS918+? If you are using the DS3622xs+ with Intel 10Gbps, please refer to the following.

ixgbe is currently being added by the automatic extension driver addition function of TCRP
On Broadwellnk platforms like DS3622xs+, when ixgbe is automatically added, it actually conflicts with the vanilla ixgbe extension driver built into DSM.
This part has already been raised as an issue several times in pocopico's rp-ext repo.
https://github.com/pocopico/rp-ext/issues/103
https://github.com/pocopico/rp-ext/issues/143


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

21 hours ago, Peter Suh said:


Do you still build DS918+? If you are using the DS3622xs+ with Intel 10Gbps, please refer to the following.

ixgbe is currently being added by the automatic extension driver addition function of TCRP
On Broadwellnk platforms like DS3622xs+, when ixgbe is automatically added, it actually conflicts with the vanilla ixgbe extension driver built into DSM.
This part has already been raised as an issue several times in pocopico's rp-ext repo.
https://github.com/pocopico/rp-ext/issues/103
https://github.com/pocopico/rp-ext/issues/143


Sent from my iPhone using Tapatalk

Yes I am still using DS918+ config, it works perfectly inside DSM i should have added. Everything works fine including 10G! Only in TCRP Friend i have to unplug 10G NIC and plug instead one of the 1G NIC to get net connectivity and update TCRP Friend. After boot everything works fine...

I may try DS3622XS+ but i don't think TCRP Friend should behave differently, should it?

Link to comment
Share on other sites

23 hours ago, pocopico said:

 

Yes, It should be applicable. 

Works not for me. ext wuth old and new scheme: Platform not found

Old scheme: ./rploader.sh ext v1000-7.1.0-42661 add https://raw.githubusercontent.com/pocopico/rp-ext/master/e1000/rpext-index.json

New scheme: ./rploader.sh ext ds1621p_42962 add https://raw.githubusercontent.com/pocopico/rp-ext/master/e1000/rpext-index.json
What am I doing wrong?

image.png

Link to comment
Share on other sites

3 hours ago, iswego said:

Works not for me. ext wuth old and new scheme: Platform not found

Old scheme: ./rploader.sh ext v1000-7.1.0-42661 add https://raw.githubusercontent.com/pocopico/rp-ext/master/e1000/rpext-index.json

New scheme: ./rploader.sh ext ds1621p_42962 add https://raw.githubusercontent.com/pocopico/rp-ext/master/e1000/rpext-index.json
What am I doing wrong?

image.png

 

Try without sudo please.

Link to comment
Share on other sites

Hi,

 

I have a backup server. It is physically difficult to access. To make my life easier, I wanted to test TCRP Friend for this hardware.

(MB: Asrock FM2A88X-ITX+, it uses qualcomm ethernet chip)

 

It works fine with TCRP, but with the Friend option it never gets an ip! I get the error: ERROR Could not get IP. The server does not start.

 

I tried with the default settings (DHCP), arbitrary configuration with my router(ip & mac binding), static option (edit user_config.json) and nothing is done! I tried using local dns server, cloudflare but nothing changes.

 

  "ipsettings": {
    "ipset": "static",
    "ipaddr": "192.168.2.10/24",
    "ipgw": "192.168.2.1",
    "ipdns": "1.1.1.1",
    "ipproxy": ""
  },

 

I am using the latest version of rploader (v0.9.2.9). And TCRP Friend is in version 0.0.3! Platform : DS3622xs 7.1.1-42951 u2

 

What can I do now?

 

Thanks :D

 

Sorry for my English :-)

Edited by renegadeBE
Link to comment
Share on other sites

42 minutes ago, renegadeBE said:

Hi,

 

I have a backup server. It is physically difficult to access. To make my life easier, I wanted to test TCRP Friend for this hardware.

(MB: Asrock FM2A88X-ITX+, it uses qualcomm ethernet chip)

 

It works fine with TCRP, but with the Friend option it never gets an ip! I get the error: ERROR Could not get IP. The server does not start.

 

I tried with the default settings (DHCP), arbitrary configuration with my router(ip & mac binding), static option (edit user_config.json) and nothing is done! I tried using local dns server, cloudflare but nothing changes.

 

  "ipsettings": {
    "ipset": "static",
    "ipaddr": "192.168.2.10/24",
    "ipgw": "192.168.2.1",
    "ipdns": "1.1.1.1",
    "ipproxy": ""
  },

 

I am using the latest version of rploader (v0.9.2.9). And TCRP Friend is in version 0.0.3! Platform : DS3622xs 7.1.1-42951 u2

 

What can I do now?

 

Thanks :D

 

Sorry for my English :-)

 

First of all you can stop at TCRP Friend and check if network module is loaded and if the IP has been applied.

lsmod
lspci -k 
ip a

 

 

 

Edited by pocopico
Link to comment
Share on other sites

5 minutes ago, iswego said:

I did. But no difference.
Is this right structure? 
./rploader.sh ext ds1621p_42962 add https://raw.githubusercontent.com/pocopico/rp-ext/master/e1000/rpext-index.json

image.png

 

You should be running version v0.9.2.9 image. So please run the following

./rploader.sh update 
./rploader.sh fullupgrade

 

and retry 

 

Edited by pocopico
Link to comment
Share on other sites

2 hours ago, pocopico said:

 

First of all you can stop at TCRP Friend and check if network module is loaded and if the IP has been applied.

lsmod
lspci -k 
ip a

 

 

 

 

To try, I removed the arguments from the ip parameters. Values are default.

It looks like it is getting the ip address from the router. Mac address entered in user_config.json is found in the eth0 interface.

 

lsmod
Module | Size | Used by | Not tainted
alx     49152   0
mdio    16384   1 alx

 

lspci -k
01:00.0 Network controller: Qualcomm Atheros AR9462 Wireless Network Adapter (rev 01)
        Subsystem: AzureWave AR9462 Wireless Network Adapter
03:00.0 Ethernet controller: Qualcomm Atheros QCA8171 Gigabit Ethernet (rev 10)
        Subsystem ASRock Incorporation QCA8171 Gigabit Ethernet
        Kernel driver in use: alx
        Kernel modules: alx

 

ip a
1:  lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue qlen 1000
     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
     inet 127.0.0.1/8 scope host lo
2:  eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq qlen 1000
     link/ether XX:XX:XX:XX:XX:XX brd ff:ff:ff:ff:ff:ff
     inet 192.168.2.10/24 brd 192.168.2.255 scope global dynamic noprefixroute eth0
        valid_lfy ...........

 

But, TCRP Friend does not start. Still the error message. (ERROR Could not get IP)

Edited by renegadeBE
Link to comment
Share on other sites

1 hour ago, renegadeBE said:

 

To try, I removed the arguments from the ip parameters. Values are default.

It looks like it is getting the ip address from the router. Mac address entered in user_config.json is found in the eth0 interface.

 

lsmod
Module | Size | Used by | Not tainted
alx     49152   0
mdio    16384   1 alx

 

lspci -k
01:00.0 Network controller: Qualcomm Atheros AR9462 Wireless Network Adapter (rev 01)
        Subsystem: AzureWave AR9462 Wireless Network Adapter
03:00.0 Ethernet controller: Qualcomm Atheros QCA8171 Gigabit Ethernet (rev 10)
        Subsystem ASRock Incorporation QCA8171 Gigabit Ethernet
        Kernel driver in use: alx
        Kernel modules: alx

 

ip a
1:  lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue qlen 1000
     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
     inet 127.0.0.1/8 scope host lo
2:  eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq qlen 1000
     link/ether XX:XX:XX:XX:XX:XX brd ff:ff:ff:ff:ff:ff
     inet 192.168.2.10/24 brd 192.168.2.255 scope global dynamic noprefixroute eth0
        valid_lfy ...........

 

But, TCRP Friend does not start. Still the error message. (ERROR Could not get IP)


Well the IP is not a requirement for booting. It should go past that and boot. Do you mean you cannot get to the DSM ? What if you try to boot with the USB GRUB option ? 

Link to comment
Share on other sites

6 hours ago, iswego said:

I am on 0.9.2.9 already....

 

Below is the information about the changes in 0.9.2.9.
0.9.2.9 Added the smallfixnumber key in user_config.json and changed the platform ids to model ids

 

In addition to the rploader.sh file, the following two files have also been changed.
"custom_config.json, custom_config_jun.json"

 

So re-record from 0.9.2.9 IMG

or use the fullupgrade option  

or download the two files separately and change them as shown below.

 

curl -L "https://github.com/pocopico/tinycore-redpill/raw/main/custom_config.json" -O
curl -L "https://github.com/pocopico/tinycore-redpill/raw/main/custom_config_jun.json" -O

 

If only the rploader.sh file is updated to version 0.9.2.9,
like custom_config.json, custom_config_jun.json file
A build error may occur where the model id should be linked.

Edited by Peter Suh
Link to comment
Share on other sites

If TCRP is normally updated to version 0.9.2.9, model ids should be displayed instead of platform ids as shown below.

 

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

Version : 0.9.2.9
----------------------------------------------------------------------------------------

Usage: ./rploader.sh <action> <platform version> <static or compile module> [extension manager arguments]

Actions: build, ext, download, clean, update, fullupgrade, listmod, serialgen, identifyusb, patchdtc, 
satamap, backup, backuploader, restoreloader, restoresession, mountdsmroot, postupdate,
mountshare, version, monitor, getgrubconf, help

----------------------------------------------------------------------------------------
Available platform versions:
----------------------------------------------------------------------------------------
ds1621p-7.0.1-42218
ds1621p-7.0.1-42218-JUN
ds1621p-7.1.0-42621
ds1621p-7.1.0-42661
ds1621p-7.1.1-42951
ds1621p-7.1.1-42962
ds2422p-7.0.1-42218
ds2422p-7.1.0-42661
ds2422p-7.1.1-42951
ds2422p-7.1.1-42962
ds3615xs-7.0.1-42218
ds3615xs-7.0.1-42218-JUN
ds3615xs-7.1.0-42621
ds3615xs-7.1.0-42661
ds3615xs-7.1.1-42951
ds3615xs-7.1.1-42962
ds3617xs-7.0.1-42218
ds3617xs-7.0.1-42218-JUN
ds3617xs-7.1.0-42621
ds3617xs-7.1.0-42661
ds3617xs-7.1.1-42951
ds3617xs-7.1.1-42962
ds3622xsp-7.0.1-42218
ds3622xsp-7.0.1-42218-JUN
ds3622xsp-7.1.0-42621
ds3622xsp-7.1.0-42661
ds3622xsp-7.1.1-42951
ds3622xsp-7.1.1-42962
ds918p-7.0-41890
ds918p-7.0.1-42218
ds918p-7.0.1-42218-JUN
ds918p-7.1.0-42621
ds918p-7.1.0-42661
ds918p-7.1.1-42951
ds918p-7.1.1-42962
ds920p-7.0.1-42218
ds920p-7.0.1-42218-JUN
ds920p-7.1.0-42621
ds920p-7.1.0-42661
ds920p-7.1.1-42951
ds920p-7.1.1-42962
dva1622-7.1.0-42661
dva1622-7.1.1-42951
dva1622-7.1.1-42962
dva3221-7.0.1-42218
dva3221-7.0.1-42218-JUN
dva3221-7.1.0-42621
dva3221-7.1.0-42661
dva3221-7.1.1-42951
dva3221-7.1.1-42962
rs4021xsp-7.1.0-42661
rs4021xsp-7.1.1-42962
----------------------------------------------------------------------------------------
Check custom_config.json for platform settings.

 

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