Hello everyone,
I will start by saying that I am a complete noob in Linux/loader creation. But I am willing to learn and understand.
I have read the present topic and followed the tuto on https://xpenology.club/install-dsm-7-on-baremetal-or-vm/ So far I awas able to create my own loader but my NIC seems not recognized when rebootin (USB or SATA) and my Nas can't be detected.
My hardware is an HP 54NL, baremetal installation. I am using the onboard NIC and a PCI on with two 1Gbps.
Here is the logs of my bootloader creation, where my NIC are correctly detected (I assume ?) when building with bromolow-7.0.1-42218 (is it the correct one for N54L?)
( '>')
/) TC (\ Core is distributed with ABSOLUTELY NO WARRANTY.
(/-_--_-\) www.tinycorelinux.net
tc@box:~$ sudo ./rploader.sh update now
Checking Internet Access -> OK
Checking if a newer version exists on the repo -> Version is current
tc@box:~$ sudo ./rploader.sh serialgen DS3615xs now
Serial Number for Model : 1230LWN010598
Mac Address for Model DS3615xs : 00:11:32:03:03:5D
Should i update the user_config.json with these values ? [Yy/Nn]
y
tc@box:~$ sudo ./rploader.sh satamap now
HBA: 00:11.0 Disks : 6
SataPortMap=6
DiskIdxMap=00
Should i update the user_config.json with these values ? [Yy/Nn]
y
tc@box:~$
tc@box:~$
tc@box:~$ sudo ./rploader.sh identifyusb now
Found USB SerialNumber: 0708325D8A1C4C71
Vendor ID : 0x26bd Product ID : 0x9917
Should i update the user_config.json with these values ? [Yy/Nn]
y
tc@box:~$ sudo ./rploader.sh
rploader.sh
Version : 0.4.5
----------------------------------------------------------------------------------------
Usage: ./rploader.sh <action> <platform version> <static or compile module> [extension manager arguments]
Actions: build, ext, download, clean, update, listmod, serialgen, identifyusb, satamap, mountshare
- build: Build the 💊 RedPill LKM and update the loader image for the specified
platform version and update current loader.
- ext: Manage extensions, options go after platform (add/force_add/info/remove/update/cleanup/auto)
example:
rploader.sh ext apollolake-7.0.1-42218 add https://raw.githubusercontent.com/pocopico/rp-ext/master/e1000/rpext-index.json
or for auto detect use
rploader.sh ext apollolake-7.0.1-42218 auto
- download: Download redpill sources only
- clean: Removes all cached files and starts over
- update: Checks github repo for latest version of rploader
- listmods: Tries to figure out required extensions
- serialgen: Generates a serial number and mac address for the following platforms
DS3615xs DS3617xs DS916+ DS918+ DS920+ DS3622xs+ DVA3219 DVA3221
- identifyusb: Tries to identify your loader usb stick VID:PID and updates the user_config.json file
- satamap: Tries to identify your SataPortMap and DiskIdxMap values and updates the user_config.json file
- backup: Backup and make changes /home/tc changed permanent to your loader disk
- mountshare: Mounts a remote CIFS working directory
Available platform versions:
----------------------------------------------------------------------------------------
apollolake-6.2.4-25556
apollolake-7.0-41890
apollolake-7.0.1-42218
broadwell-7.0.1-42218
broadwellink-7.0.1-42218
bromolow-6.2.4-25556
bromolow-7.0-41222
bromolow-7.0.1-42218
----------------------------------------------------------------------------------------
Check global_settings.json for settings.
tc@box:~$ sudo ./rploader.sh build bromolow-7.0.1-42218
Loader source : https://github.com/jumkey/redpill-load.git Loader Branch : develop
Redpill module source : https://github.com/RedPill-TTG/redpill-lkm.git : Redpill module branch : master
Extensions :
Extensions URL :
TOOLKIT_URL : https://sourceforge.net/projects/dsgpl/files/toolkit/DSM7.0/ds.bromolow-7.0.dev.txz/download
TOOLKIT_SHA : a5fbc3019ae8787988c2e64191549bfc665a5a9a4cdddb5ee44c10a48ff96cdd
SYNOKERNEL_URL : https://sourceforge.net/projects/dsgpl/files/Synology%20NAS%20GPL%20Source/25426branch/bromolow-source/linux-3.10.x.txz/download
SYNOKERNEL_SHA : 18aecead760526d652a731121d5b8eae5d6e45087efede0da057413af0b489ed
COMPILE_METHOD : toolkit_dev
TARGET_PLATFORM : bromolow
TARGET_VERSION : 7.0.1
TARGET_REVISION : 42218
REDPILL_LKM_MAKE_TARGET : dev-v7
KERNEL_MAJOR : 3
MODULE_ALIAS_FILE= modules.alias.3.json
Checking Internet Access -> OK
Checking if a newer version exists on the repo -> Version is current
Cloning into 'redpill-lkm'...
remote: Enumerating objects: 1051, done.
remote: Counting objects: 100% (1051/1051), done.
remote: Compressing objects: 100% (501/501), done.
remote: Total 1051 (delta 724), reused 870 (delta 543), pack-reused 0
Receiving objects: 100% (1051/1051), 449.04 KiB | 3.08 MiB/s, done.
Resolving deltas: 100% (724/724), done.
Cloning into 'redpill-load'...
remote: Enumerating objects: 568, done.
remote: Counting objects: 100% (36/36), done.
remote: Compressing objects: 100% (21/21), done.
remote: Total 568 (delta 6), reused 33 (delta 6), pack-reused 532
Receiving objects: 100% (568/568), 15.05 MiB | 6.05 MiB/s, done.
Resolving deltas: 100% (212/212), done.
Using static compiled redpill extension
Looking for redpill for : ds3615xs_42218
Getting file https://raw.githubusercontent.com/pocopico/rp-ext/master/redpill/releases/redpill-3.10.108.tgz
Extracting module
Got redpill-linux-v3.10.108.ko
Testing modules.alias.3.json -> File OK
------------------------------------------------------------------------------------------------
It looks that you will need the following modules :
Found SATA Controller : pciid 1002d00004391 Required Extension :
No matching extension
Found VGA Controller : pciid 1002d00009712 Required Extension :
No matching extension
Found Ethernet Interface : pciid 8086d0000105e Required Extension : e1000e.ko
Searching for matching extension for e1000e.ko
Found Ethernet Interface : pciid 8086d0000105e Required Extension : e1000e.ko
Searching for matching extension for e1000e.ko
Found Ethernet Interface : pciid 14e4d0000165b Required Extension : tg3.ko
Searching for matching extension for tg3.ko
------------------------------------------------------------------------------------------------
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://github.com/jumkey/redpill-load/raw/develop/redpill-boot-wait/rpext-index.json...
[#] Downloading remote file https://github.com/jumkey/redpill-load/raw/develop/redpill-boot-wait/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json
######################################################################### 100.0%######################################################################### 100.0%
[OK]
[#] ========================================== thethorgroup.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/RedPill-TTG/redpill-boot-wait
[#] Extension preparer/packer: https://github.com/RedPill-TTG/redpill-boot-wait
[#] Update URL: https://github.com/jumkey/redpill-load/raw/develop/redpill-boot-wait/rpext-index.json
[#] Platforms supported: ds918p_41890 ds3617xs_42218 ds918p_25556 ds3622xsp_42218 ds3615xs_41222 ds3615xs_25556 ds920p_42218 ds918p_42218 ds3615xs_42218
[#] =======================================================================================
[#] Checking runtime for required tools... [OK]
[#] Adding new extension from https://github.com/jumkey/redpill-load/raw/develop/redpill-virtio/rpext-index.json...
[#] Downloading remote file https://github.com/jumkey/redpill-load/raw/develop/redpill-virtio/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json
######################################################################### 100.0%
[OK]
[#] ========================================== thethorgroup.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://github.com/jumkey/redpill-load/raw/develop/redpill-virtio/rpext-index.json
[#] Platforms supported: ds918p_41890 ds3617xs_42218 ds918p_25556 ds3622xsp_42218 ds3615xs_41222 ds3615xs_25556 ds920p_42218 ds918p_42218 ds3615xs_42218
[#] =======================================================================================
[#] Checking runtime for required tools... [OK]
[#] Updating thethorgroup.boot-wait extension...
[#] Downloading remote file https://github.com/jumkey/redpill-load/raw/develop/redpill-boot-wait/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json
######################################################################### 100.0%
[#] Extension thethorgroup.boot-wait index is already up to date
[#] Updating thethorgroup.virtio extension...
[#] Downloading remote file https://github.com/jumkey/redpill-load/raw/develop/redpill-virtio/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json
######################################################################### 100.0%
[#] Extension thethorgroup.virtio index is already up to date
[#] Updating thethorgroup.virtio extension... [OK]
[#] Checking runtime for required tools... [OK]
[#] Updating ds3615xs_42218 platforms extensions...
[#] 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%######################################################################### 100.0%
[#] Filling-in newly downloaded recipe for extension thethorgroup.boot-wait platform ds3615xs_42218
[#] Downloading remote file https://raw.githubusercontent.com/RedPill-TTG/redpill-boot-wait/master/src/boot-wait.sh to /home/tc/redpill-load/custom/extensions/thethorgroup.boot-wait/ds3615xs_42218/boot-wait.sh
######################################################################### 100.0%
[#] Verifying /home/tc/redpill-load/custom/extensions/thethorgroup.boot-wait/ds3615xs_42218/boot-wait.sh file... [OK]
[#] Successfully processed recipe for extension thethorgroup.boot-wait platform ds3615xs_42218
[#] Downloading remote file https://github.com/RedPill-TTG/redpill-virtio/raw/master/recipes/ds3615xs_41222.json to /home/tc/redpill-load/custom/extensions/_ext_new_rcp.tmp_json
######################################################################### 100.0%######################################################################### 100.0%
[#] Filling-in newly downloaded recipe for extension thethorgroup.virtio platform ds3615xs_42218
[#] Downloading remote file https://raw.githubusercontent.com/RedPill-TTG/redpill-virtio/master/src/check-virtio.sh to /home/tc/redpill-load/custom/extensions/thethorgroup.virtio/ds3615xs_42218/check-virtio.sh
######################################################################### 100.0%
[#] Verifying /home/tc/redpill-load/custom/extensions/thethorgroup.virtio/ds3615xs_42218/check-virtio.sh file... [OK]
[#] Downloading remote file https://github.com/RedPill-TTG/redpill-virtio/releases/download/v1.0.0/virtio-3.10.108.tgz to /home/tc/redpill-load/custom/extensions/thethorgroup.virtio/ds3615xs_42218/virtio-3.10.108.tgz
######################################################################### 100.0%######################################################################### 100.0%
[#] Verifying /home/tc/redpill-load/custom/extensions/thethorgroup.virtio/ds3615xs_42218/virtio-3.10.108.tgz file... [OK]
[#] Unpacking files from /home/tc/redpill-load/custom/extensions/thethorgroup.virtio/ds3615xs_42218/virtio-3.10.108.tgz to /home/tc/redpill-load/custom/extensions/thethorgroup.virtio/ds3615xs_42218/... [OK]
[#] Successfully processed recipe for extension thethorgroup.virtio platform ds3615xs_42218
[#] Unpacking files from /home/tc/redpill-load/custom/extensions/thethorgroup.virtio/ds3615xs_42218/virtio-3.10.108.tgz to /home/tc/redpill-load/custom/extensions/thethorgroup.virtio/ds3615xs_42218/... [OK]
[#] Updating extensions... [OK]
[#] PAT file /home/tc/redpill-load/cache/ds3615xs_42218.pat not found - downloading from https://global.download.synology.com/download/DSM/release/7.0.1/42218/DSM_DS3615xs_42218.pat
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 339M 100 339M 0 0 7398k 0 0:00:46 0:00:46 --:--:-- 7593k
[#] Verifying /home/tc/redpill-load/cache/ds3615xs_42218.pat file... [OK]
[#] Unpacking /home/tc/redpill-load/cache/ds3615xs_42218.pat file to /home/tc/redpill-load/build/1645005356/pat-ds3615xs_42218-unpacked... [OK]
[#] Verifying /home/tc/redpill-load/build/1645005356/pat-ds3615xs_42218-unpacked/zImage file... [OK]
[#] Patching /home/tc/redpill-load/build/1645005356/pat-ds3615xs_42218-unpacked/zImage to /home/tc/redpill-load/build/1645005356/zImage-patched... [OK]
[#] Verifying /home/tc/redpill-load/build/1645005356/pat-ds3615xs_42218-unpacked/rd.gz file... [OK]
[#] Unpacking /home/tc/redpill-load/build/1645005356/pat-ds3615xs_42218-unpacked/rd.gz file to /home/tc/redpill-load/build/1645005356/rd-ds3615xs_42218-unpacked... [OK]
[#] Apply patches to /home/tc/redpill-load/build/1645005356/rd-ds3615xs_42218-unpacked... [OK]
[#] Patching config files in ramdisk... [OK]
[#] Adding OS config patching... [OK]
[#] Repacking ramdisk to /home/tc/redpill-load/build/1645005356/rd-patched-ds3615xs_42218.gz... [OK]
[#] Bundling extensions... [#] Checking runtime for required tools... [OK]
[#] Dumping ds3615xs_42218 platform extensions to /home/tc/redpill-load/build/1645005356/custom-initrd/exts... [OK]
[#] Packing custom ramdisk layer to /home/tc/redpill-load/build/1645005356/custom.gz... [OK]
[#] Generating GRUB config... [OK]
[#] Creating loader image at loader.img... [OK]
[#] Cleaning up... [OK]
Mounting /dev/sde1 to localdiskp1
/dev/sde2 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 DS3615xs v7.0.1-42218 (USB, Verbose)' {
menuentry 'RedPill DS3615xs v7.0.1-42218 (SATA, Verbose)' {
menuentry 'Tiny Core Image Build' {
do yo see anything that I did wrong ? Any help or guidance would be really appreciated
Thanks !