Jump to content
XPEnology Community

TinyCore RedPill Loader (TCRP)


pocopico

Recommended Posts

25 minutes ago, titoum said:


i don't really share this point of view tbh...

It might be better to have people that really want to have those version on a BareMetal testing it and reporting/fixing.
As you mentioned, he should be quite overloaded already so asking for more from a person doing that during free time doesn't make sense.

 

 

Do you know what pre-test means?
The developed program has a minimal test of the developer himself.

If even this is not an environment for @pocopico to help, I will not make any more unreasonable demands.

  • Like 1
Link to comment
Share on other sites

13 hours ago, Bose321 said:

Can someone help me with getting it to work on Unraid? After building it does seem to build. but it seems like there is no network attached. I only see lo when I do ifconfig on the cli. I've tried both virtio and virtio-net and br0 and virtual br0. Even tried adding two interfaces.

 

The weird thing is that I do see the eth0 and eth1 interfaces when I am in the loader... But not after building in DSM.

 

Also tried to add this, but not working: https://github.com/jumkey/redpill-load/raw/develop/redpill-virtio/rpext-index.json

Just tried to set it to e1000 in Unraid (via de XML editor), and again in the loader I see the e1000 interface, and I've got internet and an IP address and it works, but after building again only a lo adapter. During the build I even see that it does say to load the e1000 adapter for ethernet. What's wrong here?

Link to comment
Share on other sites

On 4/7/2022 at 8:45 AM, coint_cho said:

Ok, looks like my NIC is the issue here.. F1BD4BDE-66DF-408B-A76D-421A566CAA16.thumb.jpeg.82ed462b54e8a921369c6d2e94c5bae5.jpeg

And looks like there’s some other issues as well, is there any solutions to any of these? If these are Ethernet based errors, maybe switching to vmxnet3 would help? Or virtio?

I have the same error, how to fix?

Link to comment
Share on other sites

21 hours ago, alienman said:

Hi @Indio,

 

The module is running. It's sufficient to see in the dmesg log of the DSM the lines "... smart_shim.c:818> Handling ioctl ...". So until here, all is right installed.

 

Regarding your problem, I see that all seems OK with the HD. What's the problem now? Remember that I'm using VMWARE ESXi and not PROMOX. So I don't know how to enable VIRTUAL SSD in the qemu configuration. However, I feel it can be enabled. Search in the documentation about how to mark a virtual harddisk as SSD.

 

Regards.

 

Hi again, the main problem is that proxmox only allow 6 sata drives to be passthrough to an VM, so, if I want more than 6 I have to try to add them as SCSI instead of SATA, and as SCSI they don't show in DSM :sad:.

Link to comment
Share on other sites

21 hours ago, RedwinX said:

VMware ESXi didn't work for me. The only worked version installed for me is 7.0.1-42218 (918+ but whatever version), and I didn't remember how I did... The only think I know/see is that it's mandatory to have 2 network interfaces to get 1 working (5 for 3622xs+).

Current working version (7.0.1) has 2 network insterface and it work. BIOS mode and that's it... 1 vmdk (convert with v2v converter) in SATA 0:0 and 1 disk of DATA (4To thin provisioning) in SATA 0:1.

Cannot reproduce a working VM with same configuration with current redpill-loader, 7.0.1 or 7.1. Try many platform, not working. No visible error at boot (serial console). First boot and install are ok. But said that the system is in repair state after first reboot.

 

@pocopicoI'm wondering if the kernel has not change, because the RC version has disapear, but have the same build number. Do you think I have to regenerate the BSP ? 

Regenerating now, and compare the 2 files... I will let you know

EDIT : same binary...


And just for information, I'm on ESXi 7.0u2. @pocopicoCannot boot with your vmdk tinycore, it said that it's an incorrect format. The only way to get a working version is to convert the img to vmdk (v2v converter)

Found solution. Please make a 6.7u2 compatibility VM in order to work, and don't fogot like me that the new 7.1 build is 661 and not 621. So make a new bsp etc... Works fine now

Link to comment
Share on other sites

A few hours ago, the ds3622xs+ bsp was shown, so I finished building with TCRP using the bsp.
It was successful by modifying the Intel ext of the pocopico.
It was possible to jump to 7.0.1-42218 -> 7.1.0-42661 by two step update.

I think it's because misc and boot-wait are not ready at the moment
There is a file corruption phenomenon in 56% of the pat file installation.

 

AD0D0A49-B95D-47E7-A14A-1F3688B95E03_1_105_c.thumb.jpeg.a17c8c71b65385dd405ed35e0bb182f0.jpeg

  • Thanks 1
Link to comment
Share on other sites

3 minutes ago, coint_cho said:

No idea, still waiting on a potential fix from pocopico probably, if I had to guess it's just an issue with the VM? No idea

Oh, I just tested a switching from qemu64 CPU to host in Proxmox and I'm instantly dropped into the web UI and currently it's done being setup... Well that was a stupid fix, if I had to guess it's probably something to do with DS3622xs requiring a specific CPU function flag and qemu64 just doesn't have that? As qemu64 is designed to have bare minimal CPU flags afaik. My host cpu is E3-1275 v6 for reference. image.thumb.png.717f5083ac56824580c635130d03b07a.png

Link to comment
Share on other sites

I'll be attempting a Tinycore build for my existing setup (3615xs w/ 6.2.3-25426 Update 3).  I have three 4TB drives installed.  Should I leave them as is, or format and remove all partitions before I start?  They're JBOD.  It would be nice if I didn't have to do a restore, but I can go either way since I have everything backed up.

Link to comment
Share on other sites

3 часа назад, Peter Suh сказал:

There is a file corruption phenomenon in 56% of the pat file installation.

to fix it, you need to disconnect the Internet connection during installation

Link to comment
Share on other sites

Posted (edited)
11 minutes ago, Badger said:

I'll be attempting a Tinycore build for my existing setup (3615xs w/ 6.2.3-25426 Update 3).  I have three 4TB drives installed.  Should I leave them as is, or format and remove all partitions before I start?  They're JBOD.  It would be nice if I didn't have to do a restore, but I can go either way since I have everything backed up.

Leave them as is. Backup is always recommended 

Edited by pocopico
Link to comment
Share on other sites

4 hours ago, Peter Suh said:

A few hours ago, the ds3622xs+ bsp was shown, so I finished building with TCRP using the bsp.
It was successful by modifying the Intel ext of the pocopico.
It was possible to jump to 7.0.1-42218 -> 7.1.0-42661 by two step update.

I think it's because misc and boot-wait are not ready at the moment
There is a file corruption phenomenon in 56% of the pat file installation.

 

AD0D0A49-B95D-47E7-A14A-1F3688B95E03_1_105_c.thumb.jpeg.a17c8c71b65385dd405ed35e0bb182f0.jpeg

Awesome!!  what is bsp?

Link to comment
Share on other sites

Posted (edited)
1 hour ago, Dvalin21 said:

Awesome!!  what is bsp?

 

 

I don't know exactly what BSP is.
The final version came up and I just used it.
The link below seems to be an action related to this, but I don't know how to turn it.
I'd appreciate it if you could let me know if anyone knows.

 

https://github.com/dogodefi/redpill-load/actions

 

767843406_2022-04-0811_21_07.thumb.png.7d20cee77c85fff4d19a23fce1c4e8d1.png

 

1380975158_2022-04-0811_18_06.thumb.png.5c65ef94d40f08920cf06fc06141cb96.png

 

1273370933_2022-04-0811_29_44.thumb.png.b0e4bec8103267d469ca18ef192cb3a4.png

Edited by Peter Suh
Link to comment
Share on other sites

 

Migration succeeded with two bootloaders.

Use 7.1.0-42661 (regular version) as a manual DSM update on 7.0.1-42118

During the reboot process, I replaced it with the 7.1.0-42661 bootloader that I built yesterday

The update is working well.

The PC1 for my XPENOLOGY test I used yesterday was changed to PC2 because I kept getting this 56% error last time.

I should proceed with the installation again after HDD CLEAR instead of updating the migration.

 

727758959_2022-04-099_34_09.thumb.png.3623f741a5f2bbaa4c2f09466a8b68b6.png1513773540_2022-04-099_34_19.thumb.png.2efb0067e7e7a2c3bf22800c124ac67e.png

Link to comment
Share on other sites

Posted (edited)

Before the official version of @pocopico comes out, anyone who wants to try it first should try it.

Download "tc.zip" from the Google link below, copy it from the window to the TC

You can destroy the existing tc folder and unzip the file you just received and replace it.

Permission adjustment is also required, so please follow the command below.


The Intel driver/misc/boot-wait is already in the adjusted state and should not be downloaded again.

Do not use actions such as update/clean/fullupgrade.

Even if you ask if you want to check the internet and change it to a new version, you have to do N.


Realtek r8169 is not included, so if you need it, please download it.

You only need to carry out the three builds below.

 

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

 

 

https://drive.google.com/file/d/1mjv2knHo2aWICnQD_6xbeUirIlgWYICM/view?usp=sharing

 

scp  [download path]/tc.zip  tc@192.168.1.2:/home

 

cd /home

sudo rm -rf tc

unzip tc

cd tc

chmod -R 755 *

 

(Already included and omitted)

./rploader.sh ext broadwellnk-7.0.1-42218 add https://raw.githubusercontent.com/PeterSuh-Q3/rp-ext/master/igb/rpext-index.json

./rploader.sh ext broadwellnk-7.0.1-42218 add https://raw.githubusercontent.com/PeterSuh-Q3/rp-ext/master/e1000e/rpext-index.json

 

(Run if necessary)

./rploader.sh ext broadwellnk-7.0.1-42218 add https://raw.githubusercontent.com/PeterSuh-Q3/rp-ext/master/mpt3sas/rpext-index.json

./rploader.sh ext broadwellnk-7.0.1-42218 add https://raw.githubusercontent.com/PeterSuh-Q3/rp-ext/master/r8169/rpext-index.json

 

(Repeat twice, type y for all questions)

./rploader.sh build broadwellnk-7.0.1-42218 manual

 

./rploader.sh build broadwellnk-7.0.1-42218 manual

(This question needs to come up)

Want to use firmware files from /home/tc/custom-module/*.pat ? [yY/nN] :

y

 

(Already included and omitted)

./rploader.sh ext broadwellnk-7.1.0-42661 add https://github.com/PeterSuh-Q3/redpill-load/raw/develop/redpill-misc/rpext-index.json

./rploader.sh ext broadwellnk-7.1.0-42661 add https://github.com/PeterSuh-Q3/redpill-ext/blob/master/redpill-boot-wait/rpext-index.json

./rploader.sh ext broadwellnk-7.1.0-42661 add https://raw.githubusercontent.com/PeterSuh-Q3/rp-ext/master/igb/rpext-index.json

./rploader.sh ext broadwellnk-7.1.0-42661 add https://raw.githubusercontent.com/PeterSuh-Q3/rp-ext/master/e1000e/rpext-index.json

 

(recovering redpill.ko, type y for all questions)

cp *load/ext/*lkm/redpill-linux-v4.4.180+.ko ./redpill.ko

cp *load/ext/*lkm/redpill-linux-v4.4.180+.ko ./custom-module/redpill.ko

 

./rploader.sh build broadwellnk-7.1.0-42661 manual

Edited by Peter Suh
  • Thanks 1
Link to comment
Share on other sites

You don't have to worry about the 56% and 57% stop. I think it's because it's a muxed sata board

On another board, considering the muxed sata, the sataportmap was shortened, adjusted, and the 7.1 official new installation was successfully.

Normal installation is over 61%.

  • Like 1
Link to comment
Share on other sites

3 hours ago, Peter Suh said:

Before the official version of @pocopico comes out, anyone who wants to try it first should try it.

Download "tc.zip" from the Google link below, copy it from the window to the TC

You can destroy the existing tc folder and unzip the file you just received and replace it.

Permission adjustment is also required, so please follow the command below.


The Intel driver/misc/boot-wait is already in the adjusted state and should not be downloaded again.

Do not use actions such as update/clean/fullupgrade.

Even if you ask if you want to check the internet and change it to a new version, you have to do N.


Realtek r8169 is not included, so if you need it, please download it.

You only need to carry out the three builds below.

 

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

 

 

https://drive.google.com/file/d/1mjv2knHo2aWICnQD_6xbeUirIlgWYICM/view?usp=sharing

 

scp  [download path]/tc.zip  tc@192.168.1.2:/home

 

cd /home

sudo rm -rf tc

unzip tc

cd tc

chmod -R 755 *

 

(Already included and omitted)

./rploader.sh ext broadwellnk-7.0.1-42218 add https://raw.githubusercontent.com/PeterSuh-Q3/rp-ext/master/igb/rpext-index.json

./rploader.sh ext broadwellnk-7.0.1-42218 add https://raw.githubusercontent.com/PeterSuh-Q3/rp-ext/master/e1000e/rpext-index.json

 

(Run if necessary)

./rploader.sh ext broadwellnk-7.0.1-42218 add https://raw.githubusercontent.com/PeterSuh-Q3/rp-ext/master/mpt3sas/rpext-index.json

./rploader.sh ext broadwellnk-7.0.1-42218 add https://raw.githubusercontent.com/PeterSuh-Q3/rp-ext/master/r8169/rpext-index.json

 

(Repeat twice, type y for all questions)

./rploader.sh build broadwellnk-7.0.1-42218 manual

 

./rploader.sh build broadwellnk-7.0.1-42218 manual

(This question needs to come up)

Want to use firmware files from /home/tc/custom-module/*.pat ? [yY/nN] :

y

 

(Already included and omitted)

./rploader.sh ext broadwellnk-7.1.0-42661 add https://github.com/PeterSuh-Q3/redpill-load/raw/develop/redpill-misc/rpext-index.json

./rploader.sh ext broadwellnk-7.1.0-42661 add https://github.com/PeterSuh-Q3/redpill-ext/blob/master/redpill-boot-wait/rpext-index.json

./rploader.sh ext broadwellnk-7.1.0-42661 add https://raw.githubusercontent.com/PeterSuh-Q3/rp-ext/master/igb/rpext-index.json

./rploader.sh ext broadwellnk-7.1.0-42661 add https://raw.githubusercontent.com/PeterSuh-Q3/rp-ext/master/e1000e/rpext-index.json

 

(recovering redpill.ko, type y for all questions)

cp *load/ext/*lkm/redpill-linux-v4.4.180+.ko ./redpill.ko

cp *load/ext/*lkm/redpill-linux-v4.4.180+.ko ./custom-module/redpill.ko

 

./rploader.sh build broadwellnk-7.1.0-42661 manual

 

Maybe VM can do it with this.

./rploader.sh ext broadwellnk-7.0.1-42218 add https://raw.githubusercontent.com/PeterSuh-Q3/rp-ext/master/vmxnet3/rpext-index.json

 

Link to comment
Share on other sites

15 minutes ago, Peter Suh said:

 

Maybe VM can do it with this.

./rploader.sh ext broadwellnk-7.0.1-42218 add https://raw.githubusercontent.com/PeterSuh-Q3/rp-ext/master/vmxnet3/rpext-index.json

 

The issue with vmxnet3, is that it doesn't really work for some reason. I was testing it before with my 42621 installation, and for some reason it's reporting back in Xpenology as a gigabit link, but it's only a 100mb link, and even with an assigned IP, I can't reach the box as well.

Link to comment
Share on other sites

4 hours ago, Peter Suh said:

Before the official version of @pocopico comes out, anyone who wants to try it first should try it.

Download "tc.zip" from the Google link below, copy it from the window to the TC

You can destroy the existing tc folder and unzip the file you just received and replace it.

Permission adjustment is also required, so please follow the command below.


The Intel driver/misc/boot-wait is already in the adjusted state and should not be downloaded again.

Do not use actions such as update/clean/fullupgrade.

Even if you ask if you want to check the internet and change it to a new version, you have to do N.


Realtek r8169 is not included, so if you need it, please download it.

You only need to carry out the three builds below.

 

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

 

 

https://drive.google.com/file/d/1mjv2knHo2aWICnQD_6xbeUirIlgWYICM/view?usp=sharing

 

scp  [download path]/tc.zip  tc@192.168.1.2:/home

 

cd /home

sudo rm -rf tc

unzip tc

cd tc

chmod -R 755 *

 

(Already included and omitted)

./rploader.sh ext broadwellnk-7.0.1-42218 add https://raw.githubusercontent.com/PeterSuh-Q3/rp-ext/master/igb/rpext-index.json

./rploader.sh ext broadwellnk-7.0.1-42218 add https://raw.githubusercontent.com/PeterSuh-Q3/rp-ext/master/e1000e/rpext-index.json

 

(Run if necessary)

./rploader.sh ext broadwellnk-7.0.1-42218 add https://raw.githubusercontent.com/PeterSuh-Q3/rp-ext/master/mpt3sas/rpext-index.json

./rploader.sh ext broadwellnk-7.0.1-42218 add https://raw.githubusercontent.com/PeterSuh-Q3/rp-ext/master/r8169/rpext-index.json

 

(Repeat twice, type y for all questions)

./rploader.sh build broadwellnk-7.0.1-42218 manual

 

./rploader.sh build broadwellnk-7.0.1-42218 manual

(This question needs to come up)

Want to use firmware files from /home/tc/custom-module/*.pat ? [yY/nN] :

y

 

(Already included and omitted)

./rploader.sh ext broadwellnk-7.1.0-42661 add https://github.com/PeterSuh-Q3/redpill-load/raw/develop/redpill-misc/rpext-index.json

./rploader.sh ext broadwellnk-7.1.0-42661 add https://github.com/PeterSuh-Q3/redpill-ext/blob/master/redpill-boot-wait/rpext-index.json

./rploader.sh ext broadwellnk-7.1.0-42661 add https://raw.githubusercontent.com/PeterSuh-Q3/rp-ext/master/igb/rpext-index.json

./rploader.sh ext broadwellnk-7.1.0-42661 add https://raw.githubusercontent.com/PeterSuh-Q3/rp-ext/master/e1000e/rpext-index.json

 

(recovering redpill.ko, type y for all questions)

cp *load/ext/*lkm/redpill-linux-v4.4.180+.ko ./redpill.ko

cp *load/ext/*lkm/redpill-linux-v4.4.180+.ko ./custom-module/redpill.ko

 

./rploader.sh build broadwellnk-7.1.0-42661 manual

 

Google Drive's tc.zip was deleted due to permission issues and replaced with the following tc.tgz.

 

https://drive.google.com/file/d/1Msg-dBHns__GexG0WcA6qdS6RI30YqH_/view?usp=sharing

 

scp  [download path]/tc.tgz  tc@192.168.1.2:/home

 

cd /home

sudo rm -rf tc

tar -xvf tc.tgz

cd tc

  • Thanks 2
Link to comment
Share on other sites

20 minutes ago, coint_cho said:

The issue with vmxnet3, is that it doesn't really work for some reason. I was testing it before with my 42621 installation, and for some reason it's reporting back in Xpenology as a gigabit link, but it's only a 100mb link, and even with an assigned IP, I can't reach the box as well.

image.thumb.png.b35e2b082e5b2796c2a2598d7a824c51.pngimage.png.c56e3c2e6b9496171e0258d563bd3431.png

Either it'll have to be rtl8139 or e1000

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