Jump to content
XPEnology Community

TinyCore RedPill Loader (TCRP)


pocopico

Recommended Posts

8 minutes ago, Peter Suh said:

@pocopico

 

I will further review whether the mpt3sas of ds918+ is necessary and request it to Github's issue.

 

However, ds3622xs+ cannot be terminated or rebooted not only during DSM installation but also during normal times.
The sudo reboot or sudo poweroff command is also unavailable.
You know that, right?

update rploader.sh with sudo./rploader.sh update now 
and recompile loader using tc 

Link to comment
Share on other sites

30 minutes ago, Peter Suh said:

@pocopico

 

I will further review whether the mpt3sas of ds918+ is necessary and request it to Github's issue.

 

However, ds3622xs+ cannot be terminated or rebooted not only during DSM installation but also during normal times.
The sudo reboot or sudo poweroff command is also unavailable.
You know that, right?


Yes right, please see the below post. I've changed the repo to dogodefi and recreated the static redpill module.

 

If you recreate the loader it should now be fixed.

 

 

  • Like 2
Link to comment
Share on other sites

1 minute ago, smilenkovski said:

@pocopico

First THANK You. 

I've installed  apollolake-7.0.1-42218 just fine. I think that script didn't recognize Intel cpu 10 gen and i915 ko is not compiled, because I have no /dev/dri folder neither hw transcoding in Plex. Should I do something manually or anything else?

 

Since i915 will not compile using the Synology provided sources, for i915 on newer iGPUs, there is a process for patching the integrated module to include your iGPU id. I'm not following at all. You can search the forum for that. @IG-88 has some info about it. 

 

 

Link to comment
Share on other sites

Hi !

Ok big news ! (at least for me)

 

As some of you may remember, I didn't want to upgrade my PROD system because of disks detected as only 2To in DSM installation/migration process

 

DiskStation> fdisk -l
fdisk: device has more than 2^32 sectors, can't use all of them
Disk /dev/sda: 2048 GB, 2199023255040 bytes, 4294967295 sectors
267349 cylinders, 255 heads, 63 sectors/track
Units: sectors of 1 * 512 = 512 bytes

Disk /dev/sda doesn't contain a valid partition table
Disk /dev/synoboot: 14 GB, 15376318464 bytes, 30031872 sectors
14664 cylinders, 64 heads, 32 sectors/track
Units: sectors of 1 * 512 = 512 bytes

Device       Boot StartCHS    EndCHS        StartLBA     EndLBA    Sectors  Size Id Type
/dev/synoboot1 *  0,32,33     6,62,56           2048     100351      98304 48.0M 83 Linux
/dev/synoboot2    6,62,57     15,205,62       100352     253951     153600 75.0M 83 Linux
/dev/synoboot3    15,205,63   130,138,8       253952    2097151    1843200  900M 83 Linux
DiskStation>ls

 

So I finally bought a 4Tb disk... just to test if it was a false positive, or a real issue...

 

So I installed the 4To alone as new on a N54L ready to boot.

 

I enabled telnet to check fdisk, and as expected, same as above, only 2048 GB shown with the 2^32 sectors warning message.

 

So I launched the installation process, it worked fine.

Then in DSM I created the volume/storage :

 

image.thumb.png.509e5b762f868faa957628bd0e0947ef.png

 

So this warning message in install process is a false positive !

  • Like 3
Link to comment
Share on other sites

On 2/17/2022 at 11:12 PM, ArcherTatsu said:

Hello,

I tried to build ds918p ds3615xs ds3617xs loaders on my baremetal. For all these loaders, the machine was stuck at "Booting the kernel", but failed to be found by Synology Assistant and find.synology.com. I have no idea about what's happening.

 

Here's some information about my machine.

Baremetal: Lenovo IdeaPad Y400 Laptop

CPU: Intel Core i5 3230M

Ethernet adapter: Qualcomm Atheros AR8161

 

During building, I observed the output and it seemed that the alx extension had been correctly added.

BTW, I have installed ds3615xs img of 6.2.3.25423u3 with Jun's loader successfully on this machine.

 

Could you please help with this problem and tell me what to do for debugging? Thanks very much! If any additional information could help, I am glad to provide it.

 

@pocopico

Sorry for bothering, but could you please help with this problem? I noticed that the author of this tutorial https://xpenology.club/install-dsm-7-on-baremetal-or-vm/ said that he succeeded in installing 7.0.1 on gen2 CPU. So I think my gen3 CPU also meets the requirement.

Here is extra information: The SATA0 port of this machine is an mSATA port, on which I don't install any disk. Is there any impact of this on finding the machine?

Edited by ArcherTatsu
Link to comment
Share on other sites

8 minutes ago, ArcherTatsu said:

Ethernet adapter: Qualcomm Atheros AR8161

 

 

Hm... did you try with Tinycore RP ?  I dont know which extension will enable AR8161. Can you sent the output of the build process ? Mainly the listmods part where rploader tries to match your PCI ids to an extension.

Link to comment
Share on other sites

27 minutes ago, pocopico said:

 

Hm... did you try with Tinycore RP ?  I dont know which extension will enable AR8161. Can you sent the output of the build process ? Mainly the listmods part where rploader tries to match your PCI ids to an extension.

@pocopico

Yes, I used tinycore RP. As mentioned in the readme in your repo, the extension for AR8161 is alx and it seems that the extension has been added successfully during building. Here is the entire output of one building procedure. Sorry for using screenshot without directly pasting the texts, since I think that the colored text helps read.

1.thumb.png.8a06144df0f453df40aa09292682f126.png2.thumb.png.cc404801847763bc39359caa9b2581ab.png3.thumb.png.6020b8f9edbdf748a714c25ff6c702a5.png4.thumb.png.186ea2108721ae5677791221906ecbd1.png

Link to comment
Share on other sites

17 minutes ago, ArcherTatsu said:

@pocopico

Yes, I used tinycore RP. As mentioned in the readme in your repo, the extension for AR8161 is alx and it seems that the extension has been added successfully during building. Here is the entire output of one building procedure. Sorry for using screenshot without directly pasting the texts, since I think that the colored text helps read.

1.thumb.png.8a06144df0f453df40aa09292682f126.png2.thumb.png.cc404801847763bc39359caa9b2581ab.png3.thumb.png.6020b8f9edbdf748a714c25ff6c702a5.png4.thumb.png.186ea2108721ae5677791221906ecbd1.png

 

Well it looks very clean ... I pressume that alx is the module you get when you run tinycore right ? check with lsmod 

 

 

Link to comment
Share on other sites

So I've been scratching my hair for a good couple of hours now trying to install this on ESXi 7.02. Anyone been successful with that? If so want to share what vm template/configuration you used and how you configured your json file?

 

Using the supplied vmdk from github it boots fine on vm configured with Linux 4.x 64-bit on IDE 0 with legacy (BIOS).

 

I've tried DS3615/17/22. With/Without SCSI controller. SATA etc. Setting my empty virtual disk as SCSI or SATA doesn't seem to matter. (always on 0:0)

 

Generating neccesary stuffs seems to be fine and is inserted into the config properly. Not touching satamaping or usb at all since it's a VM. 

Building seems fine. It locates e1000e/vmxnet3. SCSI. I says it identifies SATA but doesn't download any drivers for it? Maybe it's not necessary? 

 

I can connect to DSM installation guide using find.synology.com or their tool installed. It seems to recognize the disk. 

 

But it _always_ fails on 55-56% with the corrupt message. Tried using official image and the one in ~/redpill-load/cache. 

 

Hopefully someone knows what's going on here. :-P

 

Thanks!

 

 

Link to comment
Share on other sites

14 minutes ago, pocopico said:

 

Well it looks very clean ... I pressume that alx is the module you get when you run tinycore right ? check with lsmod 

 

 

yes, i think so. Here's the output of lsmod on tinycore:

 

tc@box:~$ lsmod
Module                  Size  Used by    Not tainted
cpufreq_powersave      12288  0
cpufreq_userspace      12288  0
cpufreq_conservative    12288  0
squashfs               32768 52
loop                   24576 104
mxm_wmi                12288  0
ideapad_laptop         16384  0
sparse_keymap          12288  1 ideapad_laptop
mei_hdcp               12288  0
battery                16384  0
sdhci_pci              36864  0
cqhci                  16384  1 sdhci_pci
sdhci                  36864  1 sdhci_pci
ac                     12288  0
lpc_ich                20480  0
pcspkr                 12288  0
wmi                    16384  2 mxm_wmi,ideapad_laptop
video                  36864  1 ideapad_laptop
backlight              12288  2 ideapad_laptop,video
mmc_core               81920  3 sdhci_pci,cqhci,sdhci
jmb38x_ms              16384  0
mei_me                 20480  1
memstick               12288  1 jmb38x_ms
xhci_pci               12288  0
xhci_hcd               98304  1 xhci_pci
mei                    45056  3 mei_hdcp,mei_me
alx                    32768  0
mdio                   12288  1 alx
xhci_pci_renesas       12288  1 xhci_pci
Link to comment
Share on other sites

Just now, ArcherTatsu said:

yes, i think so. Here's the output of lsmod on tinycore:

 


tc@box:~$ lsmod

alx                    32768  0

 

 

Yes that looks OK  alx is the module you are looking for. What is the issue ? You cannot find it with the find.synology.com right ? check your router for the provided dhcp IP 

Link to comment
Share on other sites

Hi Community,

 

Please forgive my poor English😂

 

I'm trying to install on my Baremetal HP Microserver Gen8 with SD Card.

 

I run these commands:

 

./rploader.sh serialgen DS3615xs
./rploader.sh identifyusb now
./rploader.sh satamap now
vi user_config.json
./rploader.sh build bromolow-7.0.1-42218 static
sudo reboot

 

My user_config.json look like this:

{
  "extra_cmdline": {
    "pid": "0x4030",
    "vid": "0x0424",
    "sn": "*************",
    "mac1": "00********70",
    "mac2": "00********71",
    "mac3": "00********72",
    "mac4": "00********73",
    "netif_num": "4",
    "SataPortMap": "6",
    "DiskIdxMap": "00"
  },
  "synoinfo": {
    "internalportcfg" : "0xffff",
    "maxdisks" : "16"
  }
}

 

But after select "USB" mode in grub. Screen stop at "Booting linux kernel". And cannot get any ip address (with DHCP Server alive).

 

image.thumb.png.a449f3221f65b1d20c1f8bace47e7376.png

 

What should i do now.

 

Thanks !

Link to comment
Share on other sites

10 minutes ago, Stuff said:

Using the supplied vmdk from github it boots fine on vm configured with Linux 4.x 64-bit on IDE 0 with legacy (BIOS).

 

The error is on the attachment of the loader on the IDE bus. It will not shim the synoboot device correctly when you select SATA at Grub. It has to be on the SATA bus. Preferable at 0:0 and the data disks on Sata on the second controller 1:0 , 1:1. etc

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

24 minutes ago, cospotato said:

Hi Community,

 

Please forgive my poor English😂

 

I'm trying to install on my Baremetal HP Microserver Gen8 with SD Card.

 

I run these commands:

 


./rploader.sh serialgen DS3615xs
./rploader.sh identifyusb now
./rploader.sh satamap now
vi user_config.json
./rploader.sh build bromolow-7.0.1-42218 static
sudo reboot

 

My user_config.json look like this:


{
  "extra_cmdline": {
    "pid": "0x4030",
    "vid": "0x0424",
    "sn": "*************",
    "mac1": "00********70",
    "mac2": "00********71",
    "mac3": "00********72",
    "mac4": "00********73",
    "netif_num": "4",
    "SataPortMap": "6",
    "DiskIdxMap": "00"
  },
  "synoinfo": {
    "internalportcfg" : "0xffff",
    "maxdisks" : "16"
  }
}

 

But after select "USB" mode in grub. Screen stop at "Booting linux kernel". And cannot get any ip address (with DHCP Server alive).

 

image.thumb.png.a449f3221f65b1d20c1f8bace47e7376.png

 

What should i do now.

 

Thanks !

image.thumb.png.b566742e614e582dc8a8b156324515e7.png

Link to comment
Share on other sites

2 minutes ago, cospotato said:

image.thumb.png.b566742e614e582dc8a8b156324515e7.png

have you setup ip address to ILO? 
If yes, connect to ilo via ssh, logon, at prompt type "VSP" without double quote, you should see serial output, at the end you should have a something like 
Synology_logon, type root and press enter, if you are on, type ifconfig, you should see ip address 

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