Jump to content
XPEnology Community

TinyCore RedPill loader (TCRP) - Development release 0.9


Recommended Posts

@pocopico

 

At least I think I found my network problem - it was maybe a faulty network port on the switch .... sh.t

..... and updated with your latest Release - directly to DS920 & 7.1.1-42962

 

Spoiler

tc@box:~$ ifconfig

eth0      Link encap:Ethernet  HWaddr Ex:xx:xx:xx:xx:x8

          inet addr:192.168.0.139  Bcast:192.168.0.255  Mask:255.255.255.0

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:630 errors:0 dropped:533 overruns:0 frame:0

          TX packets:39 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:44051 (43.0 KiB)  TX bytes:8236 (8.0 KiB)

 

lo        Link encap:Local Loopback

 .... 

 

 

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

Checking Internet Access -> OK

Checking if a newer version exists on the main repo -> Version is current

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

Performing a full TCRP upgrade

Warning some of your local files will be moved to /home/tc/old/xxxx.2022-Sep-27-19-53

Updating custom_config.json

Updating custom_config_jun.json

Updating global_config.json

Updating modules.alias.3.json.gz

Updating modules.alias.4.json.gz

Updating rpext-index.json

Updating user_config.json

Updating dtc

Updating rploader.sh

Updating ds1621p.dts

Updating ds920p.dts

Please make sure you are using the latest 1GB img before using backup option

Current /home/tc size is 17M , try to keep it less than 1GB as it might not fit into your image

Should i update the sdb with your current files [Yy/Nn]

y

Backing up home files to sdb : Backing up files to /mnt/sdb3//mydata.tgz

Done.

 

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

Serial Number for Model = 2040xxxxxxxxR

Mac Address for Model DS920+ = 00:11:32:58:75:8B

Real Mac Address : Ex:xx:xx:xx:xx:x8

Notice : realmac option is requested, real mac will be used

Should i update the user_config.json with these values ? [Yy/Nn]

y

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

 

Found "00:17.0 Intel Corporation Sunrise Point-H SATA controller [AHCI mode] (rev 31)"

Detected 4 ports/1 drives. Override # of ports or ENTER to accept <4>

 

Computed settings:

SataPortMap=4

DiskIdxMap=00

 

Should i update the user_config.json with these values ? [Yy/Nn] y

Done.

 

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

Found USB SanDisk SerialNumber: 00002811111621005010

Vendor ID : 0x0781 Product ID : 0x5583

Should i update the user_config.json with these values ? [Yy/Nn]

y

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

Please make sure you are using the latest 1GB img before using backup option

Current /home/tc size is 17M , try to keep it less than 1GB as it might not fit into your image

Should i update the sdb with your current files [Yy/Nn]

y

Backing up home files to sdb : Backing up files to /mnt/sdb3//mydata.tgz

Done.

 

tc@box:~$ ./rploader.sh build geminilake-7.1.1-42962

bspatch does not exist, bringing over from repo

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

100 10232  100 10232    0     0  44103      0 --:--:-- --:--:-- --:--:-- 43914

Rploader Version : 0.9.2.5

Loader source : https://github.com/pocopico/redpill-load.git Loader Branch : develop

Redpill module source : https://github.com/pocopico/redpill-lkm.git : Redpill module branch : master

Extensions :   dtbpatch

  redpill-misc

Extensions URL : "https://github.com/pocopico/rp-ext/raw/main/dtbpatch/rpext-index.json",

"https://github.com/pocopico/redpill-load/raw/develop/redpill-misc/rpext-index.json"

TOOLKIT_URL : https://sourceforge.net/projects/dsgpl/files/toolkit/DSM7.0/ds.geminilake-7.0.dev.txz/download

TOOLKIT_SHA : 544fbe3b8b6390af180163322864acb3f4a60cbb44f73ae1e79131f0693c6754

SYNOKERNEL_URL : https://sourceforge.net/projects/dsgpl/files/Synology NAS GPL Source/25426branch/geminilake-source/linux-4.4.x.txz/download

SYNOKERNEL_SHA : 7a625433187269afa255be0382dad2ff27ff27fe3421e9b92d45a7e75653797a

COMPILE_METHOD : toolkit_dev

TARGET_PLATFORM       : geminilake

TARGET_VERSION    : 7.1.1

TARGET_REVISION : 42962

REDPILL_LKM_MAKE_TARGET : test-v7

KERNEL_MAJOR : 4

MODULE_ALIAS_FILE :  modules.alias.4.json

SYNOMODEL : ds920p_42962

MODEL : DS920+

Local Cache Folder : /mnt/sdb3/auxfiles

DATE Internet : 27092022 Local : 27092022

Checking Internet Access -> OK

Checking if a newer version exists on the main repo -> Version is current

Cloning into 'redpill-lkm'...

remote: Enumerating objects: 1398, done.

remote: Counting objects: 100% (470/470), done.

remote: Compressing objects: 100% (134/134), done.

remote: Total 1398 (delta 355), reused 405 (delta 323), pack-reused 928

Receiving objects: 100% (1398/1398), 2.78 MiB | 5.24 MiB/s, done.

Resolving deltas: 100% (918/918), done.

Cloning into 'redpill-load'...

remote: Enumerating objects: 2697, done.

remote: Counting objects: 100% (181/181), done.

remote: Compressing objects: 100% (105/105), done.

remote: Total 2697 (delta 90), reused 162 (delta 73), pack-reused 2516

Receiving objects: 100% (2697/2697), 117.93 MiB | 6.36 MiB/s, done.

Resolving deltas: 100% (1315/1315), done.

No extra build option or static specified, using default <static>

Using static compiled redpill extension

Removing any old redpill.ko modules

Looking for redpill for : ds920p_42962

Getting file https://raw.githubusercontent.com/pocopico/rp-ext/master/redpillprod/releases/redpill-4.4.180plus-geminilake.tgz

Extracting module

Getting file https://raw.githubusercontent.com/pocopico/rp-ext/master/redpillprod/src/check-redpill.sh

Got redpill-linux-v4.4.180+.ko

Testing modules.alias.4.json -> File OK

------------------------------------------------------------------------------------------------

It looks that you will need the following modules :

 

 

Found VGA Controller : pciid 8086d00001912  Required Extension : i915

Searching for matching extension for i915

Found SATA Controller : pciid 8086d0000a102  Required Extension : ahci

Searching for matching extension for ahci

[#] Checking runtime for required tools... [OK]

[#] Adding new extension from https://raw.githubusercontent.com/pocopico/rp-ext/master/r8169/rpext-index.json...

[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/r8169/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json

######################################################################## 100.0%

[OK]

[#] ========================================== pocopico.r8169 ==========================================

[#] Extension name: r8169

[#] Description: Adds RealTek RTL-8169 Gigabit Ethernet driver Support

[#] To get help visit: <todo>

[#] Extension preparer/packer: https://github.com/pocopico/rp-ext/tree/main/r8169

[#] Software author: https://github.com/pocopico

[#] Update URL: https://raw.githubusercontent.com/pocopico/rp-ext/master/r8169/rpext-index.json

[#] Platforms supported: ds1621p_42218 ds1621p_42951 ds918p_41890 dva3221_42661 ds3617xs_42621 ds3617xs_42218 ds920p_42661 dva3221_42962 ds918p_42661 ds3622xsp_42962 ds3617xs_42951 dva1622_42218 dva1622_42621 ds920p_42962 ds1621p_42661 dva1622_42951 ds918p_25556 dva3221_42218 ds3615xs_42661 dva3221_42951 ds3622xsp_42661 ds3622xsp_42218 ds2422p_42962 rs4021xsp_42621 dva1622_42962 ds2422p_42218 rs4021xsp_42962 dva3221_42621 ds3615xs_42962 ds3617xs_42962 ds3615xs_41222 ds920p_42951 rs4021xsp_42218 ds2422p_42951 ds918p_42621 ds3617xs_42661 ds3615xs_25556 ds920p_42218 rs4021xsp_42951 ds920p_42621 ds918p_42962 ds3615xs_42951 ds3622xsp_42951 dva1622_42661 ds918p_42218 ds2422p_42621 ds1621p_42621 ds3615xs_42621 ds3615xs_42218 ds1621p_42962 ds3622xsp_42621 rs4021xsp_42661

[#] =======================================================================================

 

Found Ethernet Interface : pciid 10ecd00008168 Required Extension : r8169

Searching for matching extension for r8169

Found matching extension :

"https://raw.githubusercontent.com/pocopico/rp-ext/master/r8169/rpext-index.json"

------------------------------------------------------------------------------------------------

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

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

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

100  345M  100  345M    0     0  10.8M      0  0:00:31  0:00:31 --:--:-- 10.6M

Entering synoesp

extract rd.gz

finish

cpio: dev/console: Cannot mknod: Operation not permitted

cpio: dev/net/tun: Cannot mknod: Operation not permitted

42506 blocks

extract rd

mkdir: cannot create directory '/mnt/sdb3/auxfiles': File exists

Copying required files to local cache folder for future use

Copying usr/lib/libcurl.so.4 to /mnt/sdb3/auxfiles

Copying usr/lib/libmbedcrypto.so.5 to /mnt/sdb3/auxfiles

Copying usr/lib/libmbedtls.so.13 to /mnt/sdb3/auxfiles

Copying usr/lib/libmbedx509.so.1 to /mnt/sdb3/auxfiles

Copying usr/lib/libmsgpackc.so.2 to /mnt/sdb3/auxfiles

Copying usr/lib/libsodium.so to /mnt/sdb3/auxfiles

Copying usr/lib/libsynocodesign-ng-virtual-junior-wins.so.7 to /mnt/sdb3/auxfiles

Copying usr/syno/bin/scemd to /mnt/sdb3/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 (required 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

Configdir : /home/tc/redpill-load/config/DS920+/7.1.1-42962

Configfile: /home/tc/redpill-load/config/DS920+/7.1.1-42962/config.json

Pat URL : https://global.download.synology.com/download/DSM/release/7.1.1/42962/DSM_DS920%2B_42962.pat

Downloading pat file from URL : https://global.download.synology.com/download/DSM/release/7.1.1/42962/DSM_DS920%2B_42962.pat

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

100  358M  100  358M    0     0  10.5M      0  0:00:34  0:00:34 --:--:-- 10.7M

File //mnt/sdb3/auxfiles/ds920p_42962.pat, is  encrypted

File //mnt/sdb3/auxfiles/ds920p_42962.pat, has been cached but its encrypted, re-running decrypting process

Checking for cached pat file

Found tinycore cache folder, linking to home/tc/custom-module

Found locally cached pat file /home/tc/custom-module/ds920p_42962.pat

File /home/tc/custom-module/ds920p_42962.pat, is  encrypted

Extracting encrypted pat file : /home/tc/custom-module/ds920p_42962.pat to /tmp/pat

/bin/syno_extract_system_patch: /usr/local/lib/libcurl.so.4: no version information available (required by /bin/syno_extract_system_patch)

Creating unecrypted pat file ds920p_42962.pat to /home/tc/redpill-load/cache folder

./VERSION

Pat file  sha256sum is : 2ec1e9efbb4a3e904d33beb469086f6c54fe685672b9d5708829784fa9af218b

Checking config file existence -> OK

Editing config file -> Verifying config file -> OK !

Clearing temp folders

Processing add_extensions entries found on custom_config.json file :   dtbpatch

  redpill-misc

Adding extension "https://github.com/pocopico/rp-ext/raw/main/dtbpatch/rpext-index.json",

[#] Checking runtime for required tools... [OK]

[#] Adding new extension from https://github.com/pocopico/rp-ext/raw/main/dtbpatch/rpext-index.json...

[#] Downloading remote file https://github.com/pocopico/rp-ext/raw/main/dtbpatch/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json

######################################################################### 100.0%

[OK]

[#] ========================================== dtbpatch ==========================================

[#] Extension name: Device tree binary

[#] Description: Update device tree binary automatically on boot

[#] To get help visit: https://github.com/pocopico/rp-ext/master/dtbpatch/

[#] Extension preparer/packer: https://github.com/pocopico/rp-ext/master/dtbpatch/

[#] Software author: https://github.com/pocopico/rp-ext/master/dtbpatch

[#] Update URL: https://raw.githubusercontent.com/pocopico/rp-ext/master/dtbpatch/rpext-index.json

[#] Platforms supported: ds1621p_42218 ds1621p_42951 ds920p_42661 ds920p_42662 ds920p_42962 ds1621p_42662 ds1621p_42661 dva1622_42951 ds2422p_42662 ds2422p_42661 ds2422p_42962 ds2422p_42218 ds920p_42951 ds2422p_42951 ds920p_42218 ds920p_42621 ds920p_42550 dva1622_42662 dva1622_42661 ds2422p_42621 ds1621p_42621 ds1621p_42962

[#] =======================================================================================

 

Adding extension "https://github.com/pocopico/redpill-load/raw/develop/redpill-misc/rpext-index.json"

[#] Checking runtime for required tools... [OK]

[#] Adding new extension from https://github.com/pocopico/redpill-load/raw/develop/redpill-misc/rpext-index.json...

[#] Downloading remote file https://github.com/pocopico/redpill-load/raw/develop/redpill-misc/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json

######################################################################### 100.0%

[OK]

[#] ========================================== redpill-misc ==========================================

[#] Extension name: Misc shell

[#] Description: Misc shell

[#] To get help visit: https://github.com/pocopico/redpill-load/raw/develop/redpill-misc

[#] Extension preparer/packer: https://github.com/pocopico/redpill-load/raw/develop/redpill-misc

[#] Software author: https://github.com/pocopico/redpill-load/raw/develop/redpill-misc

[#] Update URL: https://github.com/pocopico/redpill-load/raw/develop/redpill-misc/rpext-index.json

[#] Platforms supported: ds1621p_42218 ds1621p_42951 ds918p_41890 dva3221_42661 ds3617xs_42621 ds3617xs_42218 ds920p_42661 dva3221_42962 ds918p_42661 ds3622xsp_42962 ds3617xs_42951 ds920p_42962 ds1621p_42661 dva1622_42951 ds918p_25556 dva3221_42218 ds3615xs_42661 dva3221_42951 ds3622xsp_42661 ds2422p_42661 ds3622xsp_42218 ds2422p_42962 rs4021xsp_42621 dva1622_42962 ds2422p_42218 rs4021xsp_42962 dva3221_42621 ds3615xs_42962 ds3617xs_42962 ds3615xs_41222 ds920p_42951 rs4021xsp_42218 ds918p_42621 ds3617xs_42661 ds3615xs_25556 ds920p_42218 rs4021xsp_42951 ds920p_42621 ds918p_42962 ds3615xs_42951 ds3622xsp_42951 dva1622_42661 ds918p_42218 ds1621p_42621 ds3615xs_42621 ds3615xs_42218 ds1621p_42962 ds3622xsp_42621 rs4021xsp_42661

[#] =======================================================================================

 

Updating extension : dtbpatch contents for model : ds920p_42962

[#] Checking runtime for required tools... [OK]

[#] Updating ds920p_42962 platforms extensions...

[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/dtbpatch/recipes/universal.json to /home/tc/redpill-load/custom/extensions/_ext_new_rcp.tmp_json

######################################################################### 100.0%

 

[#] Filling-in newly downloaded recipe for extension dtbpatch platform ds920p_42962

[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/dtbpatch/releases/dtbpatch to /home/tc/redpill-load/custom/extensions/dtbpatch/ds920p_42962/dtbpatch

######################################################################### 100.0%

[#] Verifying /home/tc/redpill-load/custom/extensions/dtbpatch/ds920p_42962/dtbpatch file... [OK]

[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/dtbpatch/releases/dtc to /home/tc/redpill-load/custom/extensions/dtbpatch/ds920p_42962/dtc

######################################################################### 100.0%

[#] Verifying /home/tc/redpill-load/custom/extensions/dtbpatch/ds920p_42962/dtc file... [OK]

[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/dtbpatch/releases/install.sh to /home/tc/redpill-load/custom/extensions/dtbpatch/ds920p_42962/install.sh

######################################################################### 100.0%

[#] Verifying /home/tc/redpill-load/custom/extensions/dtbpatch/ds920p_42962/install.sh file... [OK]

[#] Successfully processed recipe for extension dtbpatch platform ds920p_42962

[#] Verifying /home/tc/redpill-load/custom/extensions/dtbpatch/ds920p_42962/install.sh file... [OK]

Updating extension : redpill-misc contents for model : ds920p_42962

[#] Checking runtime for required tools... [OK]

[#] Updating ds920p_42962 platforms extensions...

[#] Downloading remote file https://github.com/pocopico/redpill-load/raw/develop/redpill-misc/recipes/universal.json to /home/tc/redpill-load/custom/extensions/_ext_new_rcp.tmp_json

######################################################################### 100.0%

 

[#] Filling-in newly downloaded recipe for extension redpill-misc platform ds920p_42962

[#] Downloading remote file https://github.com/pocopico/redpill-load/raw/develop/redpill-misc/releases/install.sh to /home/tc/redpill-load/custom/extensions/redpill-misc/ds920p_42962/install.sh

######################################################################### 100.0%

[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-misc/ds920p_42962/install.sh file... [OK]

[#] Downloading remote file https://github.com/pocopico/redpill-load/raw/develop/redpill-misc/releases/install-all.sh to /home/tc/redpill-load/custom/extensions/redpill-misc/ds920p_42962/install-all.sh

######################################################################### 100.0%

[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-misc/ds920p_42962/install-all.sh file... [OK]

[#] Downloading remote file https://github.com/tsl0922/ttyd/releases/download/1.6.3/ttyd.x86_64 to /home/tc/redpill-load/custom/extensions/redpill-misc/ds920p_42962/ttyd

######################################################################### 100.0%

[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-misc/ds920p_42962/ttyd file... [OK]

[#] Downloading remote file https://github.com/pocopico/redpill-load/raw/develop/redpill-misc/releases/install_rd.sh to /home/tc/redpill-load/custom/extensions/redpill-misc/ds920p_42962/install_rd.sh

######################################################################### 100.0%

[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-misc/ds920p_42962/install_rd.sh file... [OK]

[#] Downloading remote file https://github.com/pocopico/redpill-load/raw/develop/redpill-misc/releases/lrzsz.tar.gz to /home/tc/redpill-load/custom/extensions/redpill-misc/ds920p_42962/lrzsz.tar.gz

######################################################################### 100.0%

[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-misc/ds920p_42962/lrzsz.tar.gz file... [OK]

[#] Unpacking files from /home/tc/redpill-load/custom/extensions/redpill-misc/ds920p_42962/lrzsz.tar.gz to /home/tc/redpill-load/custom/extensions/redpill-misc/ds920p_42962/... [OK]

[#] Successfully processed recipe for extension redpill-misc platform ds920p_42962

[#] Unpacking files from /home/tc/redpill-load/custom/extensions/redpill-misc/ds920p_42962/lrzsz.tar.gz to /home/tc/redpill-load/custom/extensions/redpill-misc/ds920p_42962/... [OK]

Patch dtc is superseded by fbelavenuto dtbpatch

[#] Checking runtime for required tools... [OK]

[#] Updating extensions...

 

[#] Checking runtime for required tools... [OK]

[#] Adding new extension from https://github.com/pocopico/rp-ext/raw/main/redpill-boot-wait/rpext-index.json...

[#] Downloading remote file https://github.com/pocopico/rp-ext/raw/main/redpill-boot-wait/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json

######################################################################### 100.0%

[OK]

[#] ========================================== redpill-boot-wait ==========================================

[#] Extension name: RedPill Bootwait

[#] Description: Simple extension which stops the execution early waiting for the boot device to appear

[#] To get help visit: https://github.com/pocopico/rp-ext/redpill-boot-wait

[#] Extension preparer/packer: https://github.com/pocopico/rp-ext/tree/main/redpill-boot-wait

[#] Update URL: https://raw.githubusercontent.com/pocopico/rp-ext/master/redpill-boot-wait/rpext-index.json

[#] Platforms supported: ds1621p_42218 ds1621p_42951 ds918p_41890 dva3221_42661 ds3617xs_42621 ds3617xs_42218 ds920p_42661 dva3221_42962 ds918p_42661 ds3622xsp_42962 ds3617xs_42951 ds920p_42962 ds1621p_42661 dva1622_42951 ds918p_25556 dva3221_42218 ds3615xs_42661 dva3221_42951 ds3622xsp_42661 ds2422p_42661 ds3622xsp_42218 ds2422p_42962 rs4021xsp_42621 dva1622_42962 ds2422p_42218 rs4021xsp_42962 dva3221_42621 ds3615xs_42962 ds3617xs_42962 ds3615xs_41222 ds920p_42951 rs4021xsp_42218 ds2422p_42951 ds918p_42621 ds3617xs_42661 ds3615xs_25556 ds920p_42218 rs4021xsp_42951 ds920p_42621 ds918p_42962 ds3615xs_42951 ds3622xsp_42951 ds920p_42550 dva1622_42661 ds918p_42218 ds2422p_42621 ds1621p_42621 ds3615xs_42621 ds3615xs_42218 ds1621p_42962 ds3622xsp_42621 rs4021xsp_42661

[#] =======================================================================================

 

[#] Checking runtime for required tools... [OK]

[#] Updating dtbpatch extension...

[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/dtbpatch/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json

######################################################################### 100.0%

 

[#] Extension dtbpatch index is already up to date

[#] Updating pocopico.r8169 extension...

[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/r8169/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json

######################################################################### 100.0%

 

[#] Extension pocopico.r8169 index is already up to date

[#] Updating redpill-boot-wait extension...

[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/redpill-boot-wait/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json

######################################################################### 100.0%

 

[#] Extension redpill-boot-wait index is already up to date

[#] Updating redpill-misc extension...

[#] Downloading remote file https://github.com/pocopico/redpill-load/raw/develop/redpill-misc/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json

######################################################################### 100.0%

 

[#] Extension redpill-misc index is already up to date

[#] Updating redpill-misc extension... [OK]

[#] Checking runtime for required tools... [OK]

[#] Updating ds920p_42962 platforms extensions...

[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/dtbpatch/recipes/universal.json to /home/tc/redpill-load/custom/extensions/_ext_new_rcp.tmp_json

######################################################################### 100.0%

 

[#] Extension dtbpatch for ds920p_42962 platform is already up to date

[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/r8169/releases/ds920p_42218.json to /home/tc/redpill-load/custom/extensions/_ext_new_rcp.tmp_json

######################################################################### 100.0%

[#] Filling-in newly downloaded recipe for extension pocopico.r8169 platform ds920p_42962

[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/r8169/releases/r8169-4.4.180plus-geminilake.tgz to /home/tc/redpill-load/custom/extensions/pocopico.r8169/ds920p_42962/r8169-4.4.180plus-geminilake.tgz

######################################################################### 100.0%

[#] Verifying /home/tc/redpill-load/custom/extensions/pocopico.r8169/ds920p_42962/r8169-4.4.180plus-geminilake.tgz file... [OK]

[#] Unpacking files from /home/tc/redpill-load/custom/extensions/pocopico.r8169/ds920p_42962/r8169-4.4.180plus-geminilake.tgz to /home/tc/redpill-load/custom/extensions/pocopico.r8169/ds920p_42962/... [OK]

[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/r8169/src/check-r8169.sh to /home/tc/redpill-load/custom/extensions/pocopico.r8169/ds920p_42962/check-r8169.sh

######################################################################### 100.0%

[#] Verifying /home/tc/redpill-load/custom/extensions/pocopico.r8169/ds920p_42962/check-r8169.sh file... [OK]

[#] Successfully processed recipe for extension pocopico.r8169 platform ds920p_42962

[#] Downloading remote file https://github.com/RedPill-TTG/redpill-boot-wait/raw/master/recipes/universal.json to /home/tc/redpill-load/custom/extensions/_ext_new_rcp.tmp_json

######################################################################### 100.0%

[#] Filling-in newly downloaded recipe for extension redpill-boot-wait platform ds920p_42962

[#] Downloading remote file https://raw.githubusercontent.com/RedPill-TTG/redpill-boot-wait/master/src/boot-wait.sh to /home/tc/redpill-load/custom/extensions/redpill-boot-wait/ds920p_42962/boot-wait.sh

######################################################################### 100.0%

[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-boot-wait/ds920p_42962/boot-wait.sh file... [OK]

[#] Successfully processed recipe for extension redpill-boot-wait platform ds920p_42962

[#] Downloading remote file https://github.com/pocopico/redpill-load/raw/develop/redpill-misc/recipes/universal.json to /home/tc/redpill-load/custom/extensions/_ext_new_rcp.tmp_json

######################################################################### 100.0%

[#] Extension redpill-misc for ds920p_42962 platform is already up to date

[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-boot-wait/ds920p_42962/boot-wait.sh file... [OK]

[#] Updating extensions... [OK]

[#] Verifying /home/tc/redpill-load/cache/ds920p_42962.pat file... [OK]

[#] Unpacking /home/tc/redpill-load/cache/ds920p_42962.pat file to /home/tc/redpill-load/build/1664308904/pat-ds920p_42962-unpacked... [OK]

[#] Verifying /home/tc/redpill-load/build/1664308904/pat-ds920p_42962-unpacked/zImage file... [OK]

[#] Patching /home/tc/redpill-load/build/1664308904/pat-ds920p_42962-unpacked/zImage to /home/tc/redpill-load/build/1664308904/zImage-patched... [OK]

[#] Verifying /home/tc/redpill-load/build/1664308904/pat-ds920p_42962-unpacked/rd.gz file... [OK]

[#] Unpacking /home/tc/redpill-load/build/1664308904/pat-ds920p_42962-unpacked/rd.gz file to /home/tc/redpill-load/build/1664308904/rd-ds920p_42962-unpacked... [OK]

[#] Apply patches to /home/tc/redpill-load/build/1664308904/rd-ds920p_42962-unpacked... [OK]

[#] Patching config files in ramdisk... [OK]

[#] Adding OS config patching... [OK]

[#] Repacking ramdisk to /home/tc/redpill-load/build/1664308904/rd-patched-ds920p_42962.gz... [OK]

[#] Bundling extensions... [#] Checking runtime for required tools... [OK]

[#] Dumping ds920p_42962 platform extensions to /home/tc/redpill-load/build/1664308904/custom-initrd/exts... [OK]

[#] Packing custom ramdisk layer to /home/tc/redpill-load/build/1664308904/custom.gz... [OK]

[#] Generating GRUB config... [OK]

[#] Creating loader image at loader.img... [OK]

[#] Cleaning up... [OK]

Mounting /dev/sdb1 to localdiskp1

/dev/sdb2 localdiskp2

Creating tinycore entry

menuentry 'Tiny Core Image Build' {

        savedefault

        set root=(hd0,msdos3)

        echo Loading Linux...

        linux /vmlinuz64 loglevel=3 cde waitusb=5 vga=791

        echo Loading initramfs...

        initrd /corepure64.gz

        echo Booting TinyCore for loader creation

}

Entries in Localdisk bootloader :

=======================================================================

menuentry 'RedPill DS920+ v7.1.1-42962 (USB, Verbose)' {

menuentry 'RedPill DS920+ v7.1.1-42962 (SATA, Verbose)' {

menuentry 'Tiny Core Image Build' {

Updated user_config with USB Command Line : earlyprintk syno_hw_version=DS920+ console=ttyS0,115200n8 netif_num=1 synoboot2 pid=0x5583 earlycon=uart8250,io,0x3f8,115200n8 mac1=Exxxxxxxxxx8 sn=2040xxxxxxxxR HddEnableDynamicPower=1 vid=0x0781 elevator=elevator loglevel=15 intel_iommu=igfx_off DiskIdxMap=00 vender_format_version=2 log_buf_len=32M root=/dev/md0 SataPortMap=4 syno_ttyS1=serial,0x2f8 syno_ttyS0=serial,0x3f8

 

Cleaning up files

Caching files for future use

Found /home/tc/redpill-load/cache/ds920p_42962.pat, copying to cache directory : /mnt/sdb3/auxfiles

Saving user session for future use. Saving current extensions  -> OK !

Saving current user_config.json  -> OK !

 

tc@box:~$ exit

Connection to 192.168.0.139 closed.

 

 

thx a lot - works now

Mondi keasee

Edited by keasee
Link to comment
Share on other sites

burn the image  tinycore-redpill.v0.9.2.5.img.gz with balenaEtcher or equal

 

connect by

user@client ~ % ssh tc@YOURXPE_IP

then run:

./rploader.sh update now
./rploader.sh fullupgrade now
./rploader.sh serialgen YOUR_XPE realmac
./rploader.sh satamap now
./rploader.sh identifyusb now
./rploader.sh backup now
./rploader.sh build YOUR_XPE-7.1.1-42962

 

worked for my HP ProDesk 400 G2

  • Like 1
Link to comment
Share on other sites

Hi pocopico,

 

Thanks for yor great loader. I've been running the original TC for quite some time now without problems.

 

I was trying the new loader with friend and it will not boot DSM. After "Loading kexec, nothing will be dispayed here anymore ..." nothing happens. I also don't hear any HD noises as I normally do when booting.

 

The machine that I have is a HP Proliant Microserver N54L.

IMG_4315[1].JPG

Link to comment
Share on other sites

6 minutes ago, Durkie said:

Hi pocopico,

 

Thanks for yor great loader. I've been running the original TC for quite some time now without problems.

 

I was trying the new loader with friend and it will not boot DSM. After "Loading kexec, nothing will be dispayed here anymore ..." nothing happens. I also don't hear any HD noises as I normally do when booting.

 

The machine that I have is a HP Proliant Microserver N54L.

IMG_4315[1].JPG

 

read the last sentence ;-)

Wait some minutes and look into your web browser if DSM is starting under the displayed IP-address.

Link to comment
Share on other sites

18 minutes ago, Dreadnought said:

read the last sentence ;-)

Wait some minutes and look into your web browser if DSM is starting under the displayed IP-address.

Uhmm..  Read my complete post. As I stated; I also don't hear any HD noises as I normally do when booting.

 

It is not booting DSM. I cannot access it after waiting 10 minutes.

Link to comment
Share on other sites

10 minutes ago, Durkie said:

Uhmm..  Read my complete post. As I stated; I also don't hear any HD noises as I normally do when booting.

 

It is not booting DSM. I cannot access it after waiting 10 minutes.

 

On first boot you have to install DSM. Before installation there is no need to access the hard disks but after 10 minutes you should be able to access the web site.

Are you able to open the following page: 192.168.1.100:7681 ?

Link to comment
Share on other sites

44 minutes ago, Dreadnought said:

On first boot you have to install DSM. Before installation there is no need to access the hard disks but after 10 minutes you should be able to access the web site.

Are you able to open the following page: 192.168.1.100:7681 ?

 

DSM 7.1.0-42661 is already installed and runs fine on an USB stick with the 'old' TC. The page 192.168.1.100:7681 times out.

Link to comment
Share on other sites

9 minutes ago, Dreadnought said:

without additional input (error messages, logs, etc) it is hard to find reason why the 'new' TC is not working as expected.

 

I'm happy to provide you or pocopico with info you need, but I cannot access the NAS after it tries to boot DSM in any way. Is there any way I can get the logs?

 

I also noticed that the CAPSlock on my attached keyboard does not work anymore after booting to DSM. So it realy 'hangs' the NAS.

 

As an addition: I also have this same problem on the Automated redpill loader

Link to comment
Share on other sites

17 minutes ago, Durkie said:

 

I'm happy to provide you or pocopico with info you need, but I cannot access the NAS after it tries to boot DSM in any way. Is there any way I can get the logs?

 

I also noticed that the CAPSlock on my attached keyboard does not work anymore after booting to DSM. So it realy 'hangs' the NAS.

 

As an addition: I also have this same problem on the Automated redpill loader

I hope @pocopico has some ideas on this issue?

Link to comment
Share on other sites

3 hours ago, Durkie said:

Hi pocopico,

 

Thanks for yor great loader. I've been running the original TC for quite some time now without problems.

 

I was trying the new loader with friend and it will not boot DSM. After "Loading kexec, nothing will be dispayed here anymore ..." nothing happens. I also don't hear any HD noises as I normally do when booting.

 

The machine that I have is a HP Proliant Microserver N54L.

IMG_4315[1].JPG

 

Thats a known issue, the same kernel panic issue on Microserver NLx4 exists on ARPL and i suppose the same goes for JUN loader as well.

 

Doing a quick google search suggests to add the following to the linux line :

initcall_blacklist=clocksource_done_booting

 

To do so for testing you can stop the boot process by pressing ctrl-c and run 

 

sed -i '/force_junior/a CMDLINE_LINE+="initcall_blacklist=clocksource_done_booting"' boot.sh
./boot.sh

 

Verify that the value exists on the cmdline. Then if it boots succesfully we can work on fixing that

Edited by pocopico
Link to comment
Share on other sites

44 minutes ago, pocopico said:

Doing a quick google search suggests to add the following to the linux line :

initcall_blacklist=clocksource_done_booting

 

To do so for testing you can stop the boot process by pressing ctrl-c and run 

 

sed -i '/force_junior/a CMDLINE_LINE+="initcall_blacklist=clocksource_done_booting"' boot.sh
./boot.sh

 

I tested this and it does not work. I do see the "initcall_blacklist=clocksource_done_booting" in the cmdline shown before loading kexec

  • Like 1
Link to comment
Share on other sites

29 minutes ago, Durkie said:

 

I tested this and it does not work. I do see the "initcall_blacklist=clocksource_done_booting" in the cmdline shown before loading kexec

Same here, it updated to latest tcrp friend, i did the sed command and tried to boot, it initialize the 5 disks one by one, then the ethernet link is up, then no longer any "life" in my NAS.

Though now i do see a better number of network cards (2 now, instead of 15!).

  • Like 1
Link to comment
Share on other sites

sed -i '/force_junior/a CMDLINE_LINE+=" initcall_blacklist=clocksource_done_booting "' boot.sh
sed -i '/force_junior/a CMDLINE_LINE+=" tsc=reliable "' boot.sh

boot.sh 

 

@Blubster @Durkie

Can you try once more, this time with the above three lines ? 

 

EDIT: Also can you send me the output of the below command from TCRP Friend ?

 

cat /sys/devices/system/clocksource/clocksource*/available_clocksource

 

Edited by pocopico
Link to comment
Share on other sites

23 minutes ago, pocopico said:

Can you try once more, this time with the above three lines ? 

 

EDIT: Also can you send me the output of the below command from TCRP Friend ?

 

cat /sys/devices/system/clocksource/clocksource*/available_clocksource

 

 

Unfortunately, it is still not working with the extra cmdline option.

 

The output of the available clocksources is: tsc hpet acpi_pm

Edited by Durkie
typo
Link to comment
Share on other sites

3 minutes ago, Durkie said:

 

Unfortunately, it is still not working with the extra cmdline option.

 

The output of the available clocksources is: tsc hpet acpi_pm

 

Is this a production system  ? Can you try with DS3622xs instead ? I have mine running with DS3622xs but not with TCRP Friend.

Link to comment
Share on other sites

41 minutes ago, pocopico said:
sed -i '/force_junior/a CMDLINE_LINE+=" initcall_blacklist=clocksource_done_booting "'
sed -i '/force_junior/a CMDLINE_LINE+=" tsc=reliable "'
boot.sh ./boot.sh

 

@Blubster @Durkie

Can you try once more, this time with the above three lines ? 

 

EDIT: Also can you send me the output of the below command from TCRP Friend ?

 

cat /sys/devices/system/clocksource/clocksource*/available_clocksource

 

Here is my output :

root@tcrpfriend:~# cat /sys/devices/system/clocksource/clocksource*/available_clocksource
tsc hpet acpi_pm

Same as @Durkie, still no life after that. It runs perfectly fine using the regular 1st entry in grub!

 

 

  

10 minutes ago, pocopico said:

@Blubster do you mind also sending the output of the below from TCRP Friend 

 

cat /proc/cpuinfo | grep -i fma

 

I get nothing with this command :

root@tcrpfriend:~# cat /proc/cpuinfo | grep -i fma
root@tcrpfriend:~#

I have a J3455 in my case...

Edited by Blubster
Link to comment
Share on other sites

8 minutes ago, Blubster said:

Here is my output :

root@tcrpfriend:~# cat /sys/devices/system/clocksource/clocksource*/available_clocksource
tsc hpet acpi_pm

Same as @Durkie, still no life after that. It runs perfectly fine using the regular 1st entry in grub!

 

@Blubster @Durkie  i've got the commands wrong, you should add the boot.sh at the end of the commands.

 

Also try once more with the following commands which seem to also be a valid entry for DSM :

 

sed -i '/force_junior/a CMDLINE_LINE+=" tsc_clocksource_reliable "' boot.sh

./boot.sh

 

Edited by pocopico
Link to comment
Share on other sites

On 9/28/2022 at 3:00 AM, pocopico said:

 

The MAC address is written while booting. Please also check your linux line while booting for the MAC Address

 

Hi @pocopicotoday I tried a lot of different combinations of DSM versions and different acpid extensions:

First observation: WOL is not working anymore. It is not possible to activate that option within the power settings.

 

Further more jimmyGALLAND and dodo-dk extensions are able to handles power button events. Is it possible to add this feature to your extension?

 

One last thing, when I tested the extension of jimmyGALLAND I startet at DSM 7.0.1. Buttons where working fine. Then I upgraded to DSM 7.1.0 and later to 7.1.1.

There the power button stops working. When I directly created the loader for DSM 7.1.0 the power buttons works fine also for DSM 7.1.1.

Is there a need to reapply extensions or how are the extensions are updated while DSM perform updates? For the acpid extensions there are different recipes for the different DSM versions?

  • Like 1
Link to comment
Share on other sites

19 minutes ago, pocopico said:

 

@Blubster @Durkie  i've got the commands wrong, you should add the boot.sh at the end of the commands.

 

Also try once more with the following commands which seem to also be a valid entry for DSM :

 

sed -i '/force_junior/a CMDLINE_LINE+=" tsc_clocksource_reliable "' boot.sh

./boot.sh

 

I tried at first the 2 first sed commands, including the boot.sh at the end. It froze after trying to boot.

Then i rebooted and tried the 3rd command, still it froze after the ./boot.sh, again after initializing the hdd and network.

That's quite weird! I have the exact same CPU as DS918+ so i should be good shoudn't i?

 

  

5 minutes ago, pocopico said:

@Blubster @Durkie You can also try all three commands at once and boot


 

sed -i '/force_junior/a CMDLINE_LINE+=" tsc_clocksource_reliable "' boot.sh
sed -i '/force_junior/a CMDLINE_LINE+=" initcall_blacklist=clocksource_done_booting "' boot.sh
sed -i '/force_junior/a CMDLINE_LINE+=" tsc=reliable "' boot.sh

boot.sh 


 

OK, i'm doing it and will report right after!

EDIT : unfortunately still the same, freeze on boot

Edited by Blubster
  • Confused 1
Link to comment
Share on other sites

29 minutes ago, pocopico said:
ed -i '/force_junior/a CMDLINE_LINE+=" tsc_clocksource_reliable "' boot.sh
sed -i '/force_junior/a CMDLINE_LINE+=" initcall_blacklist=clocksource_done_booting "' boot.sh
sed -i '/force_junior/a CMDLINE_LINE+=" tsc=reliable "' boot.sh

boot.sh 

 

Unfortunately it's still not working after adding those 3 command line options

Link to comment
Share on other sites

  • Polanskiman changed the title to TinyCore RedPill loader (TCRP) - Development release 0.9

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