RedPill - the new loader for 6.2.4 - Discussion


Recommended Posts

Hi All, first time poster here, so be kind 😉

 

Could someone please assist me. I've tried to read as much as possible, but exuse me if I missed anything.

I'm currently on DSM 42214, which is working flawlessly, but I wanted to upgrade to DSM 42218. I did the following:

 

sudo apt-get update
sudo apt install docker.io
sudo apt install jq
sudo apt install curl
cd redpill-tool-chain_x86_64_v0.11
chmod +x redpill_tool_chain.sh
sudo bash ./redpill_tool_chain.sh build apollolake-7.0.1-42218 && sudo bash ./redpill_tool_chain.sh auto apollolake-7.0.1-42218

 

This all went without issues, giving me the following file: redpill-DS918+_7.0.1-42218_b1633599141.img.

 

I put this file on a thumbdrive via Rufus, and it boots without issues. Synology assistant sees this as migratable, but when I upload the following file: DSM_DS918+_42218.pat, after 56% it give me an error saying: Faile to install the file. The file is probably corrupted. Tried downloading another pat file, with no avail. 

 

Any advise would be helpfull.

2021-10-07_11-41-30.png

Edited by dpruim
Link to post
Share on other sites
5 minutes ago, dpruim said:

Could someone please assist me. I've tried to read as much as possible, but exuse me if I missed anything.

I'm currently on DSM 42214, which is working flawlessly, but I wanted to upgrade to DSM 42218. I did the following:

 

Did you update the PID and VID in you config to match the new USB stick ? 

Which redpill repo are you using , the official TTG does not support apollolake-7.0.1-42218 

Link to post
Share on other sites
14 minutes ago, dpruim said:

Hi All, first time poster here, so be kind 😉

 

Could someone please assist me. I've tried to read as much as possible, but exuse me if I missed anything.

I'm currently on DSM 42214, which is working flawlessly, but I wanted to upgrade to DSM 42218. I did the following:

 

sudo apt-get update
sudo apt install docker.io
sudo apt install jq
sudo apt install curl
cd redpill-tool-chain_x86_64_v0.11
chmod +x redpill_tool_chain.sh
sudo bash ./redpill_tool_chain.sh build apollolake-7.0.1-42218 && sudo bash ./redpill_tool_chain.sh auto apollolake-7.0.1-42218

 

This all went without issues, giving me the following file: redpill-DS918+_7.0.1-42218_b1633599141.img.

 

I put this file on a thumbdrive via Rufus, and it boots without issues. Synology assistant sees this as migratable, but when I upload the following file: DSM_DS918+_42218.pat, after 56% it give me an error saying: Faile to install the file. The file is probably corrupted. Tried downloading another pat file, with no avail. 

 

Any advise would be helpfull.

2021-10-07_11-41-30.png

Have a look at the above ^^^^ you can troubleshoot by telneting after the install fails and verify whats wrong

Link to post
Share on other sites
1 hour ago, pocopico said:

 

Jun used a sata_remap variable to remap the disk numbering which does not exist in RP.

 

Found this : https://gugucomputing.wordpress.com/2018/11/11/experiment-on-sata_args-in-grub-cfg/

 

 

oh, this makes sense.. that's why the bootloader disk can be adjusted to 0C and gets out of the way leaving /dev/sda free..

 

 

btw i have a fork of redpill with dsm 7.0.1-42218 badly patching stuff from pocopico and jumkey repos if anyone wants to try..

Link to post
Share on other sites
6 minutes ago, taiziccf said:

I am using proxmox, i have a question, what disk mapping do i need to set so that in DSM it will show Drive 1 instead of Drive 7?

 

thank you

 

image.png.050b7d477a0a2ccf3030934b47faac00.png

My guess is that the first 6 drives are reserved for IDE. If you change from SATA to IDE it will show on Drive 1.

Link to post
Share on other sites

@pocopico i finally compile tn40xx myself and it works

 

[ 2273.598415] tn40xx: Tehuti Network Driver, 0.3.6.14.1
[ 2273.603509] tn40xx: Supported phys : MV88X3120 MV88X3310
[ 2273.609313] tn40xx 0000:01:00.0: enabling device (0000 -> 0002)
[ 2273.615302] tn40xx: srom 0x0 HWver 16 build 0 lane# 4 max_pl 0x1 mrrs 0x2
[ 2273.834763] tn40xx: PHY detected on port 0 ID=2B09AB - MV88X3310 (A1) 10Gbps 10GBase-T
[ 2273.842690] tn40xx: PHY type by svid 0 found 4
[ 2276.955878] tn40xx: MV88X3310 firmware code is running
[ 2276.961112] tn40xx: MV88X3310 FW version is 0.2.8.0
[ 2277.154530] tn40xx: fw 0xe
[ 2277.157252] tn40xx: eth1, Port A
[ 2277.160496] tn40xx: 1 1fc9:4027:1432:8104
[ 2277.164519] tn40xx: detected 1 cards, 1 loaded

 

Main problem was in sources. Only the oldest one (v0.3.6.14.1) supports vendor MV88X3310. All newer doesn`t

[  158.836678] tn40xx: Tehuti Network Driver, 0.3.6.17.2
[  158.841745] tn40xx: Supported phys :    QT2025 TLK10232 AQR105 MUSTANG

 

I will try backport MV88X3310 to the latest sources because on 6.2.3 with extras it`s working

6.2.3 with extras

[   21.455402] tn40xx: Tehuti Network Driver, 0.3.6.17.2
[   21.460489] tn40xx: Supported phys : MV88X3120 MV88X3310 MV88E2010 QT2025 TLK10232 AQR105 MUSTANG
[   21.469635] tn40xx: srom 0x0 HWver 16 build 0 lane# 4 max_pl 0x0 mrrs 0x2
[   21.689198] tn40xx: PHY detected on port 0 ID=2B09AB - MV88X3310 (A1) 10Gbps 10GBase-T
[   21.697107] tn40xx: PHY type by svid 0 found 4
[   24.948258] tn40xx: MV88X3310 initdata applied
[   24.952777] tn40xx: MV88X3310 I/D version is 0.3.4.0
[   25.145958] tn40xx: fw 0xe
[   25.148678] tn40xx: eth0, Port A
[   25.151911] tn40xx: 1 1fc9:4027:1432:8104
[   25.155919] tn40xx: detected 1 cards, 1 loaded
[   30.585590] tn40xx: eth0 Link Up 10G

 

  • Like 1
Link to post
Share on other sites
56 minutes ago, Comic Chang said:

you can try my branch, I got 3615 7.0.1 working

 

https://github.com/comicchang/redpill-load/tree/7.0.1

Thank you for this , 

when I try and and build with TGG sas activator extension added , I get an error as 42218 is not a supported platform / has no recipe . is there a fork of this ? or do I need to add @pocopico mpt2sas extensions instead ? 

Link to post
Share on other sites
1 minute ago, scoobdriver said:

Thank you for this , 

when I try and and build with TGG sas activator extension added , I get an error as 42218 is not a supported platform / has no recipe . is there a fork of this ? or do I need to add @pocopico mpt2sas extensions instead ? 

I believe you should fork TGG sas activator extension, and add 42218 into the recipe.

 

just the same as @Orphée did for RedPill-TTG/redpill-virtio

https://github.com/OrpheeGT/redpill-virtio/

Link to post
Share on other sites

  

20 minutes ago, scoobdriver said:

Thank you for this , 

when I try and and build with TGG sas activator extension added , I get an error as 42218 is not a supported platform / has no recipe . is there a fork of this ? or do I need to add @pocopico mpt2sas extensions instead ? 

 

https://github.com/r0bb10/rp-ext

there you have some extensions that work with 7.0.1-42218, sas-activator too

 

badly patched the work from others, credits to them.

 

edit: if you want i have also the redpill-loader here https://github.com/r0bb10/redpill-load that has everything to build 7.0.1-42218, just add this code to @haydibe0.11 builder and it works.

 

if you build it without ani extra extension the build proceeds with only "thethorgroup.boot-wait" in the bundled-exts

 

{
            "id": "bromolow-7.0.1-42218",
            "platform_version": "bromolow-7.0.1-42218",
            "user_config_json": "bromolow_user_config.json",
            "docker_base_image": "debian:8-slim",
            "compile_with": "toolkit_dev",
            "redpill_lkm_make_target": "prod-v7",
            "downloads": {
                "kernel": {
                    "url": "https://sourceforge.net/projects/dsgpl/files/Synology%20NAS%20GPL%20Source/25426branch/bromolow-source/linux-3.10.x.txz/download",
                    "sha256": "18aecead760526d652a731121d5b8eae5d6e45087efede0da057413af0b489ed"
                },
                "toolkit_dev": {
                    "url": "https://sourceforge.net/projects/dsgpl/files/toolkit/DSM7.0/ds.bromolow-7.0.dev.txz/download",
                    "sha256": "a5fbc3019ae8787988c2e64191549bfc665a5a9a4cdddb5ee44c10a48ff96cdd"
                }
            },
            "redpill_lkm": {
                "source_url": "https://github.com/RedPill-TTG/redpill-lkm.git",
                "branch": "master"
            },
            "redpill_load": {
                "source_url": "https://github.com/r0bb10/redpill-load.git",
                "branch": "master"
            }
        },

 

Edited by pigr8
Link to post
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.