Jump to content
XPEnology Community

TinyCore RedPill Loader (TCRP)


pocopico

Recommended Posts

5 minutes ago, Cubitus said:

@adamadam

Do you mean I boot the system onto 'Hirens' and use it to remove partitions from the disks ?

But that will delete my current system whereas I want to upgrade it, unless you refer to other disks ?

I started hirens from a USB flash drive I deleted partitions on the disk which caused complications is there in hirens in utilities tool aoimei I do not remember the name exactly. of course you will lose the data from this disk, it is best to make a backup before the migration

Link to comment
Share on other sites

I have made another try without the DSM 6.2.3 disks, only an empty SSD : no more success :-(

below is what's written in /var/log/messages when I try to activate the system from SynologyAssistant

Any idea of what's causing this ?

 

Jan  1 00:02:25 getty[5586]: tcgetattr: Input/output error^M
Jan  1 00:02:35 getty[5587]: tcgetattr: Input/output error^M
Jan 25 15:00:02 getty[5627]: tcgetattr: Input/output error^M
Jan 25 15:00:12 getty[5631]: tcgetattr: Input/output error^M
Jan 25 15:00:19 synoupgrade: synoupgrade.c:267 Failed to get root partition version
Jan 25 15:00:19 synoupgrade: synoupgrade.c:267 Failed to get root partition version
Jan 25 15:00:19 synoupgrade: autocleanup/mount.c:19 run '/usr/bin/mount /dev/md0 /_disk'
Jan 25 15:00:19 synoupgrade: autocleanup/mount.c:30 mount's exit status is non-zero, 255
Jan 25 15:00:19 synoupgrade: autocleanup/mount.c:72 mount point creation failed, so skip unmounting
Jan 25 15:00:19 synoupgrade: autocleanup/directory.c:38 remove directory /_disk, result is 0
Jan 25 15:00:19 synoupgrade: synoupgrade.c:245 unable to get dsm version from disk device
Jan 25 15:00:19 synoupgrade: synoupgrade.c:308 unable to append query string of disk dsm version
Jan 25 15:00:19 synoupgrade: synoupgrade.c:267 Failed to get root partition version
Jan 25 15:00:20 synoupgrade: partition_check_layout.c:173 sdc: dont contain partition [1]
Jan 25 15:00:20 synoupgrade: partition_check_layout.c:173 sdc: dont contain partition [2]
Jan 25 15:00:20 synoupgrade: ninstaller.c:678 Dev: sdc, DiskPath: /dev/sdc, Partition version: [not syno partition]
Jan 25 15:00:20 synoupgrade: ninstaller.c:1146 SYSTEM_NOT_INSTALLED: Raid but md0 or md1 not exist
Jan 25 15:00:20 synoupgrade: ninstaller.c:1214 SYSTEM_NOT_INSTALLED: Not SynoParitition and Not Recoverable
Jan 25 15:00:20 synoupgrade: ninstaller.c:1114(FillUpgradeVolumeInfo): gszUpgradeVolDev = /dev/md0
Jan 25 15:00:20 synoupgrade: ninstaller.c:1115(FillUpgradeVolumeInfo): gszUpgradeVolMnt = /tmpData
Jan 25 15:00:20 synoupgrade: ninstaller.c:1223 gblSupportRaid: 1, gSysStatus: 3, gblCreateDataVol: 0, gblSystemRecoverable: 0
Jan 25 15:00:22 getty[5716]: tcgetattr: Input/output error^M

Link to comment
Share on other sites

Hi Friends, have someone tried to install 7.01 into HP Gen8 Baremetal but using internal microsd card reader? 
Even if i use tinycore to build loader with VID and PID i get error when i try to install DSM.
P.S. i have a working system into Gen8 so i use a blank and new disk to try.

 

Edited by Aigor
Link to comment
Share on other sites

В 22.01.2022 в 17:21, Smartpol сказал:

Thanks all great masters, that make this easy way to run modern xpenology possible!

 

I successfully run bromolow-7.0.1-42218 on Proxmox 7.1, but have one trouble with dsm vm shutdown. Before I build loader in tinycore I add extention with command "sudo ./rploader.sh ext bromolow-7.0.1-42218 add https://github.com/jum
key/redpill-load/raw/develop/redpill-acpid/rpext-index.json". Everything run fine, but I can't shutdown dsm vm in Proxmox, always get timeout error. Then I was at 6.2.4 with redpill loader and powerbutton 6.2.0002 spk installed shutdown in Proxmox was working. Where should I search to see what's wrong and fix it, if it's possible? Googling this with no luck: powerbutton spk for DSM 7 is absent :(

Found info in neighbor thread:

before build need to add another extention working with bromolow platform:

sudo ./rploader.sh ext bromolow-7.0.1-42218 add https://github.com/jimmyGALLAND/redpill-ext/raw/master/acpid/rpext-index.json

 

Now everything is fine with proxmox dsm 7 vm shutdown. Thanks to the xpenology forum!

Link to comment
Share on other sites

3 hours ago, synoxpe said:

@haydibeHow do I proceed past that error message screen? Guess DSM needs to recognize the hardware and then ask to upload the .pat file for starting the installation?

Oh, I though you already passed that point and it's just cosmetic.

 

Personaly, I have never seen those errors. I have no idea wether they can be passed or not.

 

Worst case put Proxmox on your NUC and install it as Proxmox-VM. Setting up Proxmox is not that hard. You can find a sequence of commands in the first link in my signature that can be used to generate the vm, integrate the bootloader, so you get everything required to boot tinycore, perform the final build and be good.

Edited by haydibe
Link to comment
Share on other sites

В 24.01.2022 в 13:31, Cubitus сказал:

Dear all,

 

I have tried out the RedPill loader along with this tinycore environement and I am getting stuck just after rebooting :

The Synology assistant detects disks error and stops the SATA controllers :

image.png.cb579341cb8bc04fc7c3f0dedf594e21.png

My initial machine is DS918+ / DSM6.2.3 update 3 with jun's loader

I am trying to upgrade to DSM7.0.1

I think I have done correctly the user_config operations (sataportmap = 6 / diskidxmap = 00 and I am using the previous mac address and serial)

 

But rploader.sh sends a warning during the build :

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

It looks that you will need the following modules :

 

 

Found SATA Controller : pciid 8086d0000a282  Required Extension :

No matching extension

 

Which corresponds to the SATA / AHCI controller ; effectively there are none declared in the "modules.alias.json" file corresponding to 8086 / A282.

I suspect I should put an entry here, but which one ?

 

The HW is a ASROCK B365 M mothe'rboard with intel core i3.

 

Many thanks for your help and congrats to pocopico for this nice job.

Cubitus.

 

 

 

In my case error is always on disk 1. But according to boot log, disk 1 is dummy (chipset has 6 sata ports, but on MB i have only 4)

Maybe is there the way to remap sata ports, or something else to disable ports?

But maybe the problem is elsewhere...

Link to comment
Share on other sites

On 1/25/2022 at 8:03 AM, Brunox said:

Please describe your error as precisely as possible! Then it's easier to help!

@Brunox: I'll  try to give more details about my issue based on some screenshots(attached) and console outputs . As already mentiones I'm trying the install a broadwell-7.0.1-42218(DS3617xs) image on my HP Microserver Gen 8. I'm able to create a USB key and can boot from them. The station has been found in the network(see attached files). However, if I try to install the ds3617xs_42218.pat(comes directly from pocopico/tinycore-redpill cache folder), I always getting an error about the file seems to corrupt. If I do the same with  an bootimage for DS3615xs , it works. 

 

./rploader.sh build broadwell-7.0.1-42218 --> output from build process below . For me , it looks good so far.

 

tc@box:~$ ./rploader.sh build broadwell-7.0.1-42218 static
jq: error (at <stdin>:1): Cannot iterate over null (null)DS3617xs_install-IssueFileMaybeCorrupt.docx
jq: error (at <stdin>:1): Cannot iterate over null (null)
Loader source : https://github.com/jimmyGALLAND/redpill-load.git Loader Branch : develop
Redpill module source : https://github.com/jimmyGALLAND/redpill-lkm.git : Redpill module branch : develop
Extensions :
Extensions URL :
TOOLKIT_URL : https://sourceforge.net/projects/dsgpl/files/toolkit/DSM7.0/ds.broadwell-7.0.dev.txz/download
TOOLKIT_SHA : e050987fbbab0c246aff2af935b1d8a4140ce490915aa4c92f3c8d163eea970c
SYNOKERNEL_URL : https://sourceforge.net/projects/dsgpl/files/Synology NAS GPL Source/25426branch/broadwell-source/linux-3.10.x.txz/download
SYNOKERNEL_SHA : d3e85eb80f16a83244fcae6016ab6783cd8ac55e3af2b4240455261396e1e1be
COMPILE_METHOD : toolkit_dev
TARGET_PLATFORM       : broadwell
TARGET_VERSION    : 7.0.1
TARGET_REVISION : 42218
REDPILL_LKM_MAKE_TARGET : dev-v7
Checking Internet Access -> OK
Checking if a newer version exists on the repo -> Version is current
Cloning into 'redpill-lkm'...
remote: Enumerating objects: 1055, done.
remote: Counting objects: 100% (1055/1055), done.
remote: Compressing objects: 100% (502/502), done.
remote: Total 1055 (delta 727), reused 874 (delta 546), pack-reused 0
Receiving objects: 100% (1055/1055), 449.38 KiB | 5.48 MiB/s, done.
Resolving deltas: 100% (727/727), done.
Cloning into 'redpill-load'...
remote: Enumerating objects: 505, done.
remote: Counting objects: 100% (94/94), done.
remote: Compressing objects: 100% (83/83), done.
remote: Total 505 (delta 36), reused 43 (delta 8), pack-reused 411
Receiving objects: 100% (505/505), 6.53 MiB | 9.22 MiB/s, done.
Resolving deltas: 100% (192/192), done.
Using static compiled redpill extension
Looking for redpill for : ds3617xs_42218
Getting file https://raw.githubusercontent.com/pocopico/rp-ext/master/redpill/releases/redpill-4.4.180plus-broadwell.tgz
Extracting module
Got redpill-linux-v4.4.180+.ko
Testing modules.alias.json -> File OK
------------------------------------------------------------------------------------------------
It looks that you will need the following modules :


Found SATA Controller : pciid 8086d00001c02  Required Extension : ahci
Searching for matching extension for ahci
Found VGA Controller : pciid 102bd00000533  Required Extension : mgag200
Searching for matching extension for mgag200
[#] Checking runtime for required tools... [OK]
[#] Adding new extension from https://raw.githubusercontent.com/pocopico/rp-ext/master/tg3/rpext-index.json...
[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/tg3/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json
######################################################################## 100.0%
[OK]
[#] ========================================== 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/main/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 ds3615xs_41222 ds3617xs_42218u2 ds3615xs_25556 ds918p_42218 ds3615xs_42218
[#] =======================================================================================

Found Ethernet Interface : pciid 14e4d0000165f Required Extension : tg3
Searching for matching extension for tg3
Found matching extension :
"https://raw.githubusercontent.com/pocopico/rp-ext/master/tg3/rpext-index.json"
[#] Checking runtime for required tools... [OK]
[#] Adding new extension from https://raw.githubusercontent.com/pocopico/rp-ext/master/tg3/rpext-index.json...
[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/tg3/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json
######################################################################## 100.0%

[!] Extension is already added (index exists at /home/tc/redpill-load/custom/extensions/pocopico.tg3/pocopico.tg3.json). For more info use "ext-manager.sh info pocopico.tg3"

*** Process will exit ***
Found Ethernet Interface : pciid 14e4d0000165f Required Extension : tg3
Searching for matching extension for tg3
Found matching extension :
"https://raw.githubusercontent.com/pocopico/rp-ext/master/tg3/rpext-index.json"
------------------------------------------------------------------------------------------------
Starting loader creation
Checking user_config.json : Done
Cache directory OK
[#] Checking runtime for required tools... [OK]
[#] Updating extensions...

[#] Checking runtime for required tools... [OK]
[#] Adding new extension from https://raw.githubusercontent.com/jimmyGALLAND/redpill-ext/master/virtio/rpext-index.json...
[#] Downloading remote file https://raw.githubusercontent.com/jimmyGALLAND/redpill-ext/master/virtio/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json
###################################################################################################################################################################################################################################### 100.0%
[OK]
[#] ========================================== thethorgroup.jg.virtio ==========================================
[#] Extension name: VirtIO
[#] Description: Adds VirtIO support for fast network/PCI/SCSI/network/console paravirtualization under QEmu (Proxmox, VirtualBox, virsh, and similar)
[#] To get help visit: <todo>
[#] Extension preparer/packer: https://github.com/RedPill-TTG/redpill-virtio
[#] Software author: https://www.linux-kvm.org/page/Virtio
[#] Update URL: https://raw.githubusercontent.com/jimmyGALLAND/redpill-ext/master/virtio/rpext-index.json
[#] Platforms supported: ds3617xs_25556u2 ds918p_41890 ds3617xs_42218 ds3615xs_25556u2 ds3617xs_25556 ds918p_25556 ds3615xs_41222 ds3617xs_42218u2 ds3615xs_25556 ds918p_42218 ds918p_25556u2 ds3615xs_42218
[#] =======================================================================================

[#] Checking runtime for required tools... [OK]
[#] Updating pocopico.tg3 extension...
[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/tg3/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json
###################################################################################################################################################################################################################################### 100.0%

[#] Extension pocopico.tg3 index is already up to date
[#] Updating thethorgroup.jg.virtio extension...
[#] Downloading remote file https://raw.githubusercontent.com/jimmyGALLAND/redpill-ext/master/virtio/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json
###################################################################################################################################################################################################################################### 100.0%

[#] Extension thethorgroup.jg.virtio index is already up to date
[#] Updating thethorgroup.jg.virtio extension... [OK]
[#] Checking runtime for required tools... [OK]
[#] Updating ds3617xs_42218 platforms extensions...
[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/tg3/releases/ds3617xs_42218.json to /home/tc/redpill-load/custom/extensions/_ext_new_rcp.tmp_json
###################################################################################################################################################################################################################################### 100.0%

[#] Filling-in newly downloaded recipe for extension pocopico.tg3 platform ds3617xs_42218
[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/tg3/releases/tg3-4.4.180plus-broadwell.tgz to /home/tc/redpill-load/custom/extensions/pocopico.tg3/ds3617xs_42218/tg3-4.4.180plus-broadwell.tgz
###################################################################################################################################################################################################################################### 100.0%
[#] Verifying /home/tc/redpill-load/custom/extensions/pocopico.tg3/ds3617xs_42218/tg3-4.4.180plus-broadwell.tgz file... [OK]
[#] Unpacking files from /home/tc/redpill-load/custom/extensions/pocopico.tg3/ds3617xs_42218/tg3-4.4.180plus-broadwell.tgz to /home/tc/redpill-load/custom/extensions/pocopico.tg3/ds3617xs_42218/... [OK]
[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/tg3/src/check-tg3.sh to /home/tc/redpill-load/custom/extensions/pocopico.tg3/ds3617xs_42218/check-tg3.sh
###################################################################################################################################################################################################################################### 100.0%
[#] Verifying /home/tc/redpill-load/custom/extensions/pocopico.tg3/ds3617xs_42218/check-tg3.sh file... [OK]
[#] Successfully processed recipe for extension pocopico.tg3 platform ds3617xs_42218
[#] Downloading remote file https://github.com/jimmyGALLAND/redpill-ext/raw/master/virtio/ds3617xs_42218.json to /home/tc/redpill-load/custom/extensions/_ext_new_rcp.tmp_json
###################################################################################################################################################################################################################################### 100.0%
[#] Filling-in newly downloaded recipe for extension thethorgroup.jg.virtio platform ds3617xs_42218
[#] Downloading remote file https://github.com/jimmyGALLAND/redpill-ext/raw/master/virtio/src/check-virtio.sh to /home/tc/redpill-load/custom/extensions/thethorgroup.jg.virtio/ds3617xs_42218/check-virtio.sh
###################################################################################################################################################################################################################################### 100.0%
[#] Verifying /home/tc/redpill-load/custom/extensions/thethorgroup.jg.virtio/ds3617xs_42218/check-virtio.sh file... [OK]
[#] Downloading remote file https://github.com/jimmyGALLAND/redpill-ext/raw/master/virtio/releases/virtio-4.4.108-broadwell.tgz to /home/tc/redpill-load/custom/extensions/thethorgroup.jg.virtio/ds3617xs_42218/virtio-4.4-108.tgz
###################################################################################################################################################################################################################################### 100.0%
[#] Verifying /home/tc/redpill-load/custom/extensions/thethorgroup.jg.virtio/ds3617xs_42218/virtio-4.4-108.tgz file... [OK]
[#] Unpacking files from /home/tc/redpill-load/custom/extensions/thethorgroup.jg.virtio/ds3617xs_42218/virtio-4.4-108.tgz to /home/tc/redpill-load/custom/extensions/thethorgroup.jg.virtio/ds3617xs_42218/... [OK]
[#] Successfully processed recipe for extension thethorgroup.jg.virtio platform ds3617xs_42218
[#] Unpacking files from /home/tc/redpill-load/custom/extensions/thethorgroup.jg.virtio/ds3617xs_42218/virtio-4.4-108.tgz to /home/tc/redpill-load/custom/extensions/thethorgroup.jg.virtio/ds3617xs_42218/... [OK]
[#] Updating extensions... [OK]
[#] PAT file /home/tc/redpill-load/cache/ds3617xs_42218.pat not found - downloading from https://cndl.synology.cn/download/DSM/release/7.0.1/42218/DSM_DS3617xs_42218.pat
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  343M  100  343M    0     0  10.3M      0  0:00:33  0:00:33 --:--:-- 11.5M
[#] Verifying /home/tc/redpill-load/cache/ds3617xs_42218.pat file... [OK]
[#] Unpacking /home/tc/redpill-load/cache/ds3617xs_42218.pat file to /home/tc/redpill-load/build/1643200616/pat-ds3617xs_42218-unpacked... [OK]
[#] Verifying /home/tc/redpill-load/build/1643200616/pat-ds3617xs_42218-unpacked/zImage file... [OK]
[#] Patching /home/tc/redpill-load/build/1643200616/pat-ds3617xs_42218-unpacked/zImage to /home/tc/redpill-load/build/1643200616/zImage-patched... [OK]
[#] Verifying /home/tc/redpill-load/build/1643200616/pat-ds3617xs_42218-unpacked/rd.gz file... [OK]
[#] Unpacking /home/tc/redpill-load/build/1643200616/pat-ds3617xs_42218-unpacked/rd.gz file to /home/tc/redpill-load/build/1643200616/rd-ds3617xs_42218-unpacked... [OK]
[#] Apply patches to /home/tc/redpill-load/build/1643200616/rd-ds3617xs_42218-unpacked... [OK]
[#] Patching config files in ramdisk... [OK]
[#] Adding OS config patching... [OK]
[#] Repacking ramdisk to /home/tc/redpill-load/build/1643200616/rd-patched-ds3617xs_42218.gz... [OK]
[#] Bundling extensions... [#] Checking runtime for required tools... [OK]
[#] Dumping ds3617xs_42218 platform extensions to /home/tc/redpill-load/build/1643200616/custom-initrd/exts... [OK]
[#] Packing custom ramdisk layer to /home/tc/redpill-load/build/1643200616/custom.gz... [OK]
[#] Generating GRUB config... [OK]
[#] Creating loader image at loader.img... [OK]
[#] Cleaning up... [OK]
Mounting /dev/sda1 to localdiskp1
/dev/sda2 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 DS3617xs v7.0.1-42218 Beta (USB, Verbose)' {
menuentry 'RedPill DS3617xs v7.0.1-42218 Beta (SATA, Verbose)' {
menuentry 'Tiny Core Image Build' {
tc@box:~$
 

Edited by zahni
Link to comment
Share on other sites

Hi Pocopico,

 

I'm doing some test on my HP Microserver Gen7 N40L. The good thing is that I'm able to create the bootloader for Bromolow 7.0.1-42218u2, with this version the system works perfectly, the power button works, with the disable_mtrr_trim parameter I can use all memory of the server, WOL works, I tested the stability with dockers with 4 dockers running one of them a handbrake to recode videos and the system keeps stable. 🥳  Thank you mate.

 

Now the problem

I'm trying to do the same  but installing the bromolow-6.2.4-25556 and later bromolow-6.2.4-25556u2 but I'm not able to install :( neither base version neither the update. After install always the system reboot  went end boot it seems like nothing happen, the installation start again, it's a bootloop...

I've tried to modify the json global  and custom file with the  jimmyGALLAND without luck. 

 

trying to build the bromolow-6.2.4-25556u2 directly I get the following error:

 

 

Spoiler

tc@box:~$ sudo ./rploader.sh build  bromolow-6.2.4-25556u2 static
jq: error (at <stdin>:1): Cannot iterate over null (null)
jq: error (at <stdin>:1): Cannot iterate over null (null)
Loader source : https://github.com/jimmyGALLAND/redpill-load.git Loader Branch : master
Redpill module source : https://github.com/jimmyGALLAND/redpill-lkm.git : Redpill module branch : master
Extensions :
Extensions URL :
TOOLKIT_URL : https://sourceforge.net/projects/dsgpl/files/toolkit/DSM6.2/ds.bromolow-6.2.dev.txz/download
TOOLKIT_SHA : 7a0f0ec5919cd67b9972a21f234603c0e608d647baff067029bd46d8a5d660de
SYNOKERNEL_URL : https://sourceforge.net/projects/dsgpl/files/Synology NAS GPL Source/25426branch/bromolow-source/linux-3.10.x.txz/download
SYNOKERNEL_SHA : 18aecead760526d652a731121d5b8eae5d6e45087efede0da057413af0b489ed
COMPILE_METHOD : kernel
TARGET_PLATFORM       : bromolow
TARGET_VERSION    : 6.2.4
TARGET_REVISION : 25556u2
REDPILL_LKM_MAKE_TARGET : dev-v6
Checking Internet Access -> OK
Checking if a newer version exists on the repo -> Version is current
Redpill sources already downloaded, pulling latest
Already up to date.
Loader sources already downloaded, pulling latest
Already up to date.
Using static compiled redpill extension
Looking for redpill for : ds3615xs_25556u2
modinfo: module '/lib/modules/5.10.3-tinycore64/redpill.ko' not found
cp: cannot stat '/home/tc/redpill.ko': No such file or directory
Got redpill-linux-v.ko
Testing modules.alias.json -> File OK
------------------------------------------------------------------------------------------------
It looks that you will need the following modules :


Found SATA Controller : pciid 1002d00004391  Required Extension : ahci
Searching for matching extension for ahci
Found VGA Controller : pciid 1002d00009712  Required Extension : radeon
Searching for matching extension for radeon
[#] Checking runtime for required tools... [OK]
[#] Adding new extension from https://raw.githubusercontent.com/pocopico/rp-ext/master/igb/rpext-index.json...
[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/igb/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json
######################################################################## 100.0%

[!] Extension is already added (index exists at /home/tc/redpill-load/custom/extensions/pocopico.igb/pocopico.igb.json). For more info use "ext-manager.sh info pocopico.igb"

*** Process will exit ***
Found Ethernet Interface : pciid 8086d00001533 Required Extension : igb
Searching for matching extension for igb
Found matching extension :
"https://raw.githubusercontent.com/pocopico/rp-ext/master/igb/rpext-index.json"
[#] Checking runtime for required tools... [OK]
[#] Adding new extension from https://raw.githubusercontent.com/pocopico/rp-ext/master/igb/rpext-index.json...
[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/igb/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json
######################################################################## 100.0%

[!] Extension is already added (index exists at /home/tc/redpill-load/custom/extensions/pocopico.igb/pocopico.igb.json). For more info use "ext-manager.sh info pocopico.igb"

*** Process will exit ***
Found Ethernet Interface : pciid 8086d00001533 Required Extension : igb
Searching for matching extension for igb
Found matching extension :
"https://raw.githubusercontent.com/pocopico/rp-ext/master/igb/rpext-index.json"
------------------------------------------------------------------------------------------------
Starting loader creation
Checking user_config.json : Done
Cache directory OK
[#] Checking runtime for required tools... [OK]
[#] Updating extensions...

[#] Checking runtime for required tools... [OK]
[#] Extension thethorgroup.jg.virtio is already installed from https://raw.githubusercontent.com/jimmyGALLAND/redpill-ext/master/virtio/rpext-index.json
[#] Checking runtime for required tools... [OK]
[#] Updating jg.acpid extension...
[#] Downloading remote file https://github.com/jimmyGALLAND/redpill-ext/raw/master/acpid/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json
###################################################################################################################################### 100.0%###################################################################################################################################### 100.0%

[#] Extension jg.acpid index is already up to date
[#] Updating pocopico.igb extension...
[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/igb/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json
###################################################################################################################################### 100.0%

[#] Extension pocopico.igb index is already up to date
[#] Updating thethorgroup.jg.virtio extension...
[#] Downloading remote file https://raw.githubusercontent.com/jimmyGALLAND/redpill-ext/master/virtio/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json
###################################################################################################################################### 100.0%

[#] Extension thethorgroup.jg.virtio index is already up to date
[#] Updating thethorgroup.jg.virtio extension... [OK]
[#] Checking runtime for required tools... [OK]
[#] Updating ds3615xs_25556u2 platforms extensions...
[#] Downloading remote file https://github.com/jimmyGALLAND/redpill-ext/raw/master/acpid/recipes/v6_bromolow.json to /home/tc/redpill-load/custom/extensions/_ext_new_rcp.tmp_json
###################################################################################################################################### 100.0%###################################################################################################################################### 100.0%

[#] Extension jg.acpid for ds3615xs_25556u2 platform is already up to date
[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/igb/releases/ds3615xs_25556.json to /home/tc/redpill-load/custom/extensions/_ext_new_rcp.tmp_json
###################################################################################################################################### 100.0%
[#] Extension pocopico.igb for ds3615xs_25556u2 platform is already up to date
[#] Downloading remote file https://github.com/RedPill-TTG/redpill-virtio/raw/master/recipes/ds3615xs_25556.json to /home/tc/redpill-load/custom/extensions/_ext_new_rcp.tmp_json
###################################################################################################################################### 100.0%###################################################################################################################################### 100.0%
[#] Extension thethorgroup.jg.virtio for ds3615xs_25556u2 platform is already up to date
[#] Updating ds3615xs_25556u2 platforms extensions... [OK]
[#] Updating extensions... [OK]
[#] Verifying /home/tc/redpill-load/cache/ds3615xs_25556u2.pat file... [OK]
[#] Unpacking /home/tc/redpill-load/cache/ds3615xs_25556u2.pat file to /home/tc/redpill-load/build/1643209675/pat-ds3615xs_25556u2-unpacked... [OK]
[#] No zimage in Unpacked PAT - Try to find flashupdate package
[#] flashupdate found unpack... ./build-loader.sh: line 223: DPKG_PATH: unbound variable
FAILED : Loader creation failed check the output for any errors
 

 

I attach my json modifications.

 

Do you have some idea about why is not working the 6.2.4 installation?

btw, in the g7 I have not serial port to get the logs, maybe I can get some log from the installation web process but I don't know if that could help.

 

custom_config.json global_config.json

Link to comment
Share on other sites

il y a 22 minutes, Unregistrado a dit :

sudo ./rploader.sh build apollolake-7.0.1-42218

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

 

Or read this:

https://xpenology.club/install-dsm-7-on-baremetal-or-vm/

What an idiot I am, I hadn't realised that the choice of architecture had an impact on the type of device, but it's so logical...
Thank you in any case...

Link to comment
Share on other sites

1 hour ago, haydibe said:

@zahni and @jarugutare you sure your json files are not corrupt? 

 

 

Please use this command to check in the tc home folder (the default folder):

 


find .  -name "*.json" -not -path "*redpill-load*" -exec bash -c 'jq . < {} > /dev/null && echo "{}: OK" || echo "{}: broken"' \;

@haydibe Here is the return of your given command. I guess its OK as it shown, or not ? Please note, the same procedure is working, if I create a bootloader image for the DS3715xs( ./rploader.sh build bromolow-7.0.1-42218 ). The only think, I've change is the serial number. 

 

tc@box:~$ find .  -name "*.json" -not -path "*redpill-load*" -exec bash -c 'jq . < {} > /dev/null && echo "{}: OK" || echo "{}: broken"' \;
./user_config.json: OK
./rpext-index.json: OK
./global_config.json: OK
./custom_config.json: OK
./modules.alias.json: OK

 

Link to comment
Share on other sites

Hi,

Another unsuccessful try today

 

My mother board gets 4 SATA ports but the chipset allows 6.

The 2 1st ones are not connectable (maybe port 1 = M2 interface ?) and the disks can be connected as SATA 3 / 4 / 5 / 6

the DMESG command shows following when activating the SATA ports

[    0.944500] ata1: DUMMY

[    0.944787] ata2: SATA max UDMA/133 abar m2048@0xdf14b000 port 0xdf14b180 irq 122

[    0.945462] ata3: SATA max UDMA/133 abar m2048@0xdf14b000 port 0xdf14b200 irq 122

[    0.946193] ata4: SATA max UDMA/133 abar m2048@0xdf14b000 port 0xdf14b280 irq 122

[    0.946994] ata5: SATA max UDMA/133 abar m2048@0xdf14b000 port 0xdf14b300 irq 122

[    0.947625] ata6: SATA max UDMA/133 abar m2048@0xdf14b000 port 0xdf14b380 irq 122

[    0.948338] ata1: send port disabled event

[    0.948780] ata1: Disk is present for send port disabled event

[    1.253683] ata2: SATA link down (SStatus 4 SControl 300)

[    1.254147] ata2: No present pin info for SATA link down event

[    1.560675] ata3: SATA link up 6.0 Gbps (SStatus 133 SControl 300) .... (SATA 3 is the only disk connected to the mother board and rest of activation is OK)

 

Synology tool gives an error on disk (1) -> corresponding to the dummy one. Could it be the reason why it cannot go further ?

How to overpass this ?

 

(the system is working fine with DSM 6.2.1 / Jun's loader)

 

Thanks for helping

Link to comment
Share on other sites

@zahniThe command shows that jq was able to process the files as valid json. Though, their content could be still problematic.  If jq throws an error (like it did in your and jarugut's case), then its safe to asume the build is incomplete.

 

 I looked at the files jarugut provided. It is a valid json with minor formating issue - nothing that should break the file. First I though the "u2" in the revesion broke the processing logic (rploader recycled most parts of this logic from rphelper), but it does not care for the revision.

 

You could try ` bash -xe rploader.sh bromolow-6.2.4-25556u2 static` and paste the output. It will execute the script in debug mode up to the first error it encounters.

 

I can imagine the problem is originated in an incomplete profile, a typo or a missing comma.

 

update: I found it!

 

Quote

jq: error (at <stdin>:1): Cannot iterate over null (null)

is caused by missing "add_extensions": [] in the platform profile. Add it to each profile where it's missing and you will be good.

 

Note: no officialy available version of rp-helper or rp-tool-chain was affected by this. It must have found it's way into rploader.sh from an early beta for rp-helper 0.12 where I had a function to add the extensions provided by the list. I haven't checked if the logic that actualy makes use of the field made it's way over to rploader as well, as the logic was in the Makefile inside the container. Personaly I like rploader way better than rp-helper :) All the additional bells and whistles realy add an amazing value to the overal experience!

 

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

12 minutes ago, haydibe said:

@zahniThe command shows that jq was able to process the files as valid json. Though, their content could be still problematic.  If jq throws an error (like it did in your and jarugut's case), then its safe to asume the build is incomplete.

 

 I looked at the files jarugut provided. It is a valid json with minor formating issue - nothing that should break the file. First I though the "u2" in the revesion broke the processing logic (rploader recycled most parts of this logic from rphelper), but it does not care for the revision.

 

You could try ` bash -xe rploader.sh bromolow-6.2.4-25556u2 static` and paste the output. It will execute the script in debug mode up to the first error it encounters.

 

I can imagine the problem is originated in an incomplete profile, a typo or a missing comma.

 

update: I found it!

 

is caused by missing "add_extensions": [] in the platform profile. Add it to each profile where it's missing and you will be good.

 

 

Hi @haydibe; That sounds great, but to be hoenest, I'm not really unsterstand what exactly have to do(newbies problem ;-.) Can you give me some more explantions regarding this sentense: is caused by missing "add_extensions": [] in the platform profile. Add it to each profile where it's missing and you will be good.

Thanks in advance !

Link to comment
Share on other sites

Just now, billat29 said:

@jarugut What did you do to get the power button working? I have failed miserably on my N54L.

Oh and I had exactly the same problem with 6.2.4, so it's not just you.

 

Before build the loader you should to add the extension from jimmyGALLAND of acpid.

 

./rploader ext platform  add https://github.com/jimmyGALLAND/redpill-ext/raw/master/acpid/rpext-index.json

  • Thanks 1
Link to comment
Share on other sites

59 minutes ago, haydibe said:

@zahniThe command shows that jq was able to process the files as valid json. Though, their content could be still problematic.  If jq throws an error (like it did in your and jarugut's case), then its safe to asume the build is incomplete.

 

 I looked at the files jarugut provided. It is a valid json with minor formating issue - nothing that should break the file. First I though the "u2" in the revesion broke the processing logic (rploader recycled most parts of this logic from rphelper), but it does not care for the revision.

 

You could try ` bash -xe rploader.sh bromolow-6.2.4-25556u2 static` and paste the output. It will execute the script in debug mode up to the first error it encounters.

 

I can imagine the problem is originated in an incomplete profile, a typo or a missing comma.

 

update: I found it!

 

is caused by missing "add_extensions": [] in the platform profile. Add it to each profile where it's missing and you will be good.

 

Note: no officialy available version of rp-helper or rp-tool-chain was affected by this. It must have found it's way into rploader.sh from an early beta for rp-helper 0.12 where I had a function to add the extensions provided by the list. I haven't checked if the logic that actualy makes use of the field made it's way over to rploader as well, as the logic was in the Makefile inside the container. Personaly I like rploader way better than rp-helper :) All the additional bells and whistles realy add an amazing value to the overal experience!

 

Thank you  a lot for your help in this topic, let me check it tomorrow and I will try again if I'm able to install the 6.2.4 version. For the moment I'm interested to keep the tdt usb option.

  • Like 1
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...