Popular Post pocopico Posted June 3, 2022 Popular Post #1 Posted June 3, 2022 (edited) As i have annouce on a previous message, it has been decided to split development and stable TCRP releases. In an effort to properly document the deplot. => So stable release will remain at 0.8 version and can be accessed through the main repo : https://github.com/pocopico/tinycore-redpill/tree/stable No new features will come through the stable release. Only fixes will be applied as they come along. => Development release 0.9 will bring new features, refinement of old processes etc. So far the development release includes the following : Current : - New images containing latest development rploader.sh version 0.9.0.2 - New background wallpaper when landing into TCRP desktop - New system status landing page when you start desktop. You can now easily find your IP addess on screen. - rploader.sh development release 0.9.0.2 - Several missing packages from Tinycore (ntpclient/file/php-8-cli/scsi modules etc) Roadmap : - User manual module compilation process. - User manual extension creation - Custom.gz re-engineering Tinycore image will remain at version 12 as the binutils on 13.1 have gone passed the required maximum for module compilation. You can head to the development repo to download new images if you would like to test : https://github.com/pocopico/tinycore-redpill/tree/main Please report any development additions and improvements you would to include on this thread. Do not post install issues here. Spoiler [1/10/2022] Links updated Edited October 1, 2022 by Polanskiman Links were outdated. 17 13 Quote
tahuru Posted July 13, 2022 #2 Posted July 13, 2022 Hi, Is there a simple way to upgrade to 0.9 from 0.8 without running all the steps again? Thx! Quote
luckcolors Posted July 14, 2022 #3 Posted July 14, 2022 On 7/14/2022 at 5:22 AM, tahuru said: Hi, Is there a simple way to upgrade to 0.9 from 0.8 without running all the steps again? Thx! I think the easiest solution to accomplish this would be to introduce a second empty image as the TC home directory. This way TC would be stored on one image that can be easily be swapped for another on update. This of course has the drawback of requiring 2 disks in the vm for these images. As follows: TC.img -> mounted as TC's /root TCHome.img -> mounted as TC /home/tc @pocopicoWould it be possible to implement this? Quote
Peter Suh Posted July 14, 2022 #4 Posted July 14, 2022 25 minutes ago, luckcolors said: I think the easiest solution to accomplish this would be to introduce a second empty image as the TC home directory. This way TC would be stored on one image that can be easily be swapped for another on update. This of course has the drawback of requiring 2 disks in the vm for these images. As follows: TC.img -> mounted as TC's /root TCHome.img -> mounted as TC /home/tc @pocopicoWould it be possible to implement this? Another easy way would be to do something like this: Can I do this? Is it pocopico? curl --location "https://github.com/pocopico/tinycore-redpill/raw/develop/rploader.sh" -O ./rploader.sh fullupgrade Quote
Peter Suh Posted July 14, 2022 #5 Posted July 14, 2022 And, pocopico probably hasn't introduced it yet. There is an incredibly handy feature that has recently been modified in the his develop repo. For models using Device Tree such as DS920+, DS1621+, DVA1622 DTB patch to recognize Sataport's disk and NVMe is essential, This part has been converted from the existing static method to a dynamic method. The difference between the dtb static method and the dynamic method is huge. The static method requires rebuilding the loader whenever the number of disks and ports of sataport change, The dynamic method doesn't have to. Quote
phone guy Posted July 14, 2022 #6 Posted July 14, 2022 4 hours ago, Peter Suh said: And, pocopico probably hasn't introduced it yet. There is an incredibly handy feature that has recently been modified in the his develop repo. For models using Device Tree such as DS920+, DS1621+, DVA1622 DTB patch to recognize Sataport's disk and NVMe is essential, This part has been converted from the existing static method to a dynamic method. The difference between the dtb static method and the dynamic method is huge. The static method requires rebuilding the loader whenever the number of disks and ports of sataport change, The dynamic method doesn't have to. I believe @pocopico worked with @fbelavenuto who did arpl project, to get that working... Quote
Peter Suh Posted July 14, 2022 #7 Posted July 14, 2022 14 minutes ago, phone guy said: I believe @pocopico worked with @fbelavenuto who did arpl project, to get that working... Perhaps it is. As soon as the dtbpatch addon for arpl is complete dtbpatch ext for TCRP was added. I also changed this ext to be used for the DTC-only model of the m shell. Quote
pocopico Posted July 14, 2022 Author #8 Posted July 14, 2022 (edited) 11 hours ago, Peter Suh said: And, pocopico probably hasn't introduced it yet. There is an incredibly handy feature that has recently been modified in the his develop repo. For models using Device Tree such as DS920+, DS1621+, DVA1622 DTB patch to recognize Sataport's disk and NVMe is essential, This part has been converted from the existing static method to a dynamic method. The difference between the dtb static method and the dynamic method is huge. The static method requires rebuilding the loader whenever the number of disks and ports of sataport change, The dynamic method doesn't have to. No major changes will be introduced in stable release. Only fixes. The dtcpatch by fbelavenuto should be included as a fix for 0.8. To upgrade your 0.8 to develop 0.9 image you may proceed with what @Peter Suh suggested. curl --location "https://github.com/pocopico/tinycore-redpill/raw/develop/rploader.sh" -O ./rploader.sh fullupgrade The automatic dtbpatch by fbelavenuto solves most of the issues we had with dtc patching in the past. Also dtc and dtbpatch binaries are copied during boot in runtime DSM for manual troubleshooting or for hotplug disk addition, if its required. CPP code is open and available at fbelavenuto repo. https://github.com/fbelavenuto/arpl-addons/blob/main/dtbpatch/src/main.cpp Edited July 14, 2022 by pocopico 3 Quote
phone guy Posted July 27, 2022 #9 Posted July 27, 2022 Which platform to pick 920? geminilake? and it does auto create the dtc ? Quote
pocopico Posted July 27, 2022 Author #10 Posted July 27, 2022 1 hour ago, phone guy said: Which platform to pick 920? geminilake? and it does auto create the dtc ? Geminilake is the option for DS920+ and it does create automatically the dtb. 1 1 Quote
cferra Posted August 5, 2022 #11 Posted August 5, 2022 (edited) oh good something to try on my 6.2.3 upgrade project that I’ve been procrastinating on. Edited August 5, 2022 by cferra Quote
Al lex Posted August 16, 2022 #12 Posted August 16, 2022 I do hope that the new loader will fix a current problem with minor updates. If you installed 7.1 update 3 + and have to reinstall the loader, the loader will contain 7.1 DSM and drives will contain 7.1.3 DSM. So it will crash the system and the only way I found is to mirate drives to some other pure 7.1 model, then migrate back and then update to 7.1.3+ again. There is no postupdate option for new 7.1 pure installation and you have to update 7.1 to 7.1.3+ from INSIDE system that does not start if your loader is 7.1 and drives are 7.1.3+ 1 Quote
WiteWulf Posted September 2, 2022 #13 Posted September 2, 2022 On 8/16/2022 at 9:33 AM, Al lex said: I do hope that the new loader will fix a current problem with minor updates. If you installed 7.1 update 3 + and have to reinstall the loader, the loader will contain 7.1 DSM and drives will contain 7.1.3 DSM. So it will crash the system and the only way I found is to mirate drives to some other pure 7.1 model, then migrate back and then update to 7.1.3+ again. There is no postupdate option for new 7.1 pure installation and you have to update 7.1 to 7.1.3+ from INSIDE system that does not start if your loader is 7.1 and drives are 7.1.3+ That sounds similar to the problems I've been having updating an old 7.0-41890 install: I reckon I might have to give your approach a try at some point Quote
dimakv2014 Posted September 5, 2022 #14 Posted September 5, 2022 В 03.06.2022 в 17:47, pocopico сказал: As i have annouce on a previous message, it has been decided to split development and stable TCRP releases. In an effort to properly document the deplot. => So stable release will remain at 0.8 version and can be accessed through the main repo : https://github.com/pocopico/tinycore-redpill/tree/main No new features will come through the stable release. Only fixes will be applied as they come along. => Development release 0.9 will bring new features, refinement of old processes etc. So far the development release includes the following : Current : - New images containing latest development rploader.sh version 0.9.0.2 - New background wallpaper when landing into TCRP desktop - New system status landing page when you start desktop. You can now easily find your IP addess on screen. - rploader.sh development release 0.9.0.2 - Several missing packages from Tinycore (ntpclient/file/php-8-cli/scsi modules etc) Roadmap : - User manual module compilation process. - User manual extension creation - Custom.gz re-engineering Tinycore image will remain at version 12 as the binutils on 13.1 have gone passed the required maximum for module compilation. You can head to the development repo to download new images if you would like to test : https://github.com/pocopico/tinycore-redpill/tree/develop Please report any development additions and improvements you would to include on this thread. Do not post install issues here. Hey friend, thanks again for doing this hard work, is it possible to add dva3219 to 0.8 or 0.9 by any chance? Thank you in advance. Quote
Peter Suh Posted September 5, 2022 #15 Posted September 5, 2022 Hey friend, thanks again for doing this hard work, is it possible to add dva3219 to 0.8 or 0.9 by any chance? Thank you in advance.DVA3219 already supports 7.1.0-42661 in m shell.We will release a version corresponding to 7.1.1-42962 today.https://xpenology.com/forum/topic/63946-dva3219-loader-development-thread/Sent from my iPhone using Tapatalk 1 Quote
Kanedo Posted September 8, 2022 #16 Posted September 8, 2022 Hi @pocopico Could you make the image a tad smaller? I have a 1000MB USB stick and your 1GB image doesn't fit it. Thanks. 1 Quote
flyride Posted September 8, 2022 #17 Posted September 8, 2022 1 hour ago, Kanedo said: Hi @pocopico Could you make the image a tad smaller? I have a 1000MB USB stick and your 1GB image doesn't fit it. Thanks. Wow. 2 4 Quote
Kanedo Posted September 8, 2022 #18 Posted September 8, 2022 (edited) Yea, I'm guessing it's a diff between how drive makers consider 1GB (1000^3) vs binary 1GiB (1024^3). It'd be even better if the image could be as small as possible, and then do the expansion(resize) upon first boot. Edited September 8, 2022 by Kanedo Quote
nemesis122 Posted September 9, 2022 #19 Posted September 9, 2022 I think is better you buy a larger usb stick 4 Quote
Kanedo Posted September 11, 2022 #20 Posted September 11, 2022 On 9/9/2022 at 12:34 PM, nemesis122 said: I think is better you buy a larger usb stick No need. I re-sized the 3rd partition of the img to be just a little bit smaller and got it to fit on a 1GB USB stick. What would make the most sense is for the 3rd partition of the img to be as small as possible and resize to fit the USB stick on first boot. This is merely a suggestion. 1 Quote
JakeSully Posted September 11, 2022 #21 Posted September 11, 2022 Having a issue i ran this curl --location "https://github.com/pocopico/tinycore-redpill/raw/develop/rploader.sh" -O ./rploader.sh fullupgrade but problem is now when doing postupdate it complains that /mnt/sde1/rd.gz: Compressed data is corrupt /mnt/sde2/rd.gz: Compressed data is corrupt. So doing this does not fix problem on upgrading to TinyCore redpil 9.0 for me apparently. Quote
siri_uk Posted September 11, 2022 #22 Posted September 11, 2022 Thanks guys I managed to get the loader working on my system using 0.4-alpha7..great loader!! Quote
sam juan Posted September 13, 2022 #23 Posted September 13, 2022 anyone tried to upgrade from v0.8 to v0.9? i would like to try 7.1.1. tnx Quote
tdse13 Posted September 14, 2022 #24 Posted September 14, 2022 I tried to upgrade to DSM 7.1.1-42962 from DSM 7.1-42661 Update 3 but in vain. First of all I upgraded TC 0.8 to TC 0.9. However it does not work. Any idea how to upgrade? Thank you. tc@box:~$ sudo ./rploader.sh postupdate apollolake-7.1.1-42962 bspatch does not exist, bringing over from repo % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 10232 100 10232 0 0 44681 0 --:--:-- --:--:-- --:--:-- 44681 Rploader Version : 0.9.1.4 Loader source : https://github.com/pocopico/redpill-load.git Loader Branch : develop Redpill module source : https://github.com/pocopico/redpill-lkm.git : Redpill module branch : master Extensions : redpill-misc Extensions URL : "https://github.com/pocopico/redpill-load/raw/master/redpill-misc/rpext-index.json" TOOLKIT_URL : https://sourceforge.net/projects/dsgpl/files/toolkit/DSM7.0/ds.apollolake-7.0.dev.txz/download TOOLKIT_SHA : d349fa644392d4cfab8191243ee38aaa32bd517208c144678e0c855cb5a619ea SYNOKERNEL_URL : https://sourceforge.net/projects/dsgpl/files/Synology%20NAS%20GPL%20Source/25426branch/apollolake-source/linux-4.4.x.txz/download SYNOKERNEL_SHA : af815ee065775d2e569fd7176e25c8ba7ee17a03361557975c8e5a4b64230c5b COMPILE_METHOD : toolkit_dev TARGET_PLATFORM : apollolake TARGET_VERSION : 7.1.1 TARGET_REVISION : 42962 REDPILL_LKM_MAKE_TARGET : test-v7 KERNEL_MAJOR : 4 MODULE_ALIAS_FILE : modules.alias.4.json SYNOMODEL : ds918p_42962 MODEL : DS918+ Local Cache Folder : /mnt/sdd3/auxfiles DATE Internet : 14092022 Local : 14092022 Checking Internet Access -> OK Redpill sources already downloaded, pulling latest remote: Enumerating objects: 60, done. remote: Counting objects: 100% (60/60), done. remote: Compressing objects: 100% (23/23), done. remote: Total 60 (delta 25), reused 45 (delta 25), pack-reused 0 Unpacking objects: 100% (60/60), 15.30 KiB | 746.00 KiB/s, done. From https://github.com/pocopico/redpill-lkm 169d8fb..a6b4ae9 master -> origin/master Updating 169d8fb..a6b4ae9 Fast-forward .github/workflows/main.yml | 125 ++++++++++++++++++++++++---------------------------------------------------------------------------- .github/workflows/sync.yml | 15 ------------ PLATFORMS | 7 ++++++ compile-lkms.sh | 21 +++++++++++++++++ config/cmdline_delegate.c | 40 +++++++++++++++++++++++++++----- config/cmdline_opts.h | 1 - config/platforms.h | 207 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------------------------------- config/runtime_config.c | 12 +++++----- 8 files changed, 209 insertions(+), 219 deletions(-) delete mode 100755 .github/workflows/sync.yml create mode 100644 PLATFORMS create mode 100755 compile-lkms.sh Loader sources already downloaded, pulling latest remote: Enumerating objects: 245, done. remote: Counting objects: 100% (234/234), done. remote: Compressing objects: 100% (120/120), done. remote: Total 245 (delta 120), reused 216 (delta 107), pack-reused 11 Receiving objects: 100% (245/245), 2.65 MiB | 22.57 MiB/s, done. Resolving deltas: 100% (121/121), completed with 9 local objects. From https://github.com/pocopico/redpill-load c6ac089..38a3bb8 develop -> origin/develop Updating c6ac089..38a3bb8 error: Your local changes to the following files would be overwritten by merge: config/DS918+/7.1.0-42661/config.json Please commit your changes or stash them before you merge. Aborting Removing any old redpill.ko modules Looking for redpill for : ds918p_42962 Getting file https://raw.githubusercontent.com/pocopico/rp-ext/master/redpill/releases/redpill-4.4.180plus.tgz Extracting module Creating temp ramdisk space Mounting partition sdd1 Mounting partition sdd2 Extracting update ramdisk unlzma: /mnt/sdd2/rd.gz: Compressed data is corrupt 38500 blocks Found Version : 7.1-42661-3 Do you want to use this for the loader ? [yY/nN] : n Saving user session for future use. Saving current extensions -> OK ! Saving current user_config.json -> OK ! Quote
pocopico Posted September 14, 2022 Author #25 Posted September 14, 2022 On 9/14/2022 at 9:13 PM, tdse13 said: I tried to upgrade to DSM 7.1.1-42962 from DSM 7.1-42661 Update 3 but in vain. First of all I upgraded TC 0.8 to TC 0.9. However it does not work. Any idea how to upgrade? Thank you. tc@box:~$ sudo ./rploader.sh postupdate apollolake-7.1.1-42962 bspatch does not exist, bringing over from repo % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 10232 100 10232 0 0 44681 0 --:--:-- --:--:-- --:--:-- 44681 Rploader Version : 0.9.1.4 Loader source : https://github.com/pocopico/redpill-load.git Loader Branch : develop Redpill module source : https://github.com/pocopico/redpill-lkm.git : Redpill module branch : master Extensions : redpill-misc Extensions URL : "https://github.com/pocopico/redpill-load/raw/master/redpill-misc/rpext-index.json" TOOLKIT_URL : https://sourceforge.net/projects/dsgpl/files/toolkit/DSM7.0/ds.apollolake-7.0.dev.txz/download TOOLKIT_SHA : d349fa644392d4cfab8191243ee38aaa32bd517208c144678e0c855cb5a619ea SYNOKERNEL_URL : https://sourceforge.net/projects/dsgpl/files/Synology%20NAS%20GPL%20Source/25426branch/apollolake-source/linux-4.4.x.txz/download SYNOKERNEL_SHA : af815ee065775d2e569fd7176e25c8ba7ee17a03361557975c8e5a4b64230c5b COMPILE_METHOD : toolkit_dev TARGET_PLATFORM : apollolake TARGET_VERSION : 7.1.1 TARGET_REVISION : 42962 REDPILL_LKM_MAKE_TARGET : test-v7 KERNEL_MAJOR : 4 MODULE_ALIAS_FILE : modules.alias.4.json SYNOMODEL : ds918p_42962 MODEL : DS918+ Local Cache Folder : /mnt/sdd3/auxfiles DATE Internet : 14092022 Local : 14092022 Checking Internet Access -> OK Redpill sources already downloaded, pulling latest remote: Enumerating objects: 60, done. remote: Counting objects: 100% (60/60), done. remote: Compressing objects: 100% (23/23), done. remote: Total 60 (delta 25), reused 45 (delta 25), pack-reused 0 Unpacking objects: 100% (60/60), 15.30 KiB | 746.00 KiB/s, done. From https://github.com/pocopico/redpill-lkm 169d8fb..a6b4ae9 master -> origin/master Updating 169d8fb..a6b4ae9 Fast-forward .github/workflows/main.yml | 125 ++++++++++++++++++++++++---------------------------------------------------------------------------- .github/workflows/sync.yml | 15 ------------ PLATFORMS | 7 ++++++ compile-lkms.sh | 21 +++++++++++++++++ config/cmdline_delegate.c | 40 +++++++++++++++++++++++++++----- config/cmdline_opts.h | 1 - config/platforms.h | 207 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------------------------------- config/runtime_config.c | 12 +++++----- 8 files changed, 209 insertions(+), 219 deletions(-) delete mode 100755 .github/workflows/sync.yml create mode 100644 PLATFORMS create mode 100755 compile-lkms.sh Loader sources already downloaded, pulling latest remote: Enumerating objects: 245, done. remote: Counting objects: 100% (234/234), done. remote: Compressing objects: 100% (120/120), done. remote: Total 245 (delta 120), reused 216 (delta 107), pack-reused 11 Receiving objects: 100% (245/245), 2.65 MiB | 22.57 MiB/s, done. Resolving deltas: 100% (121/121), completed with 9 local objects. From https://github.com/pocopico/redpill-load c6ac089..38a3bb8 develop -> origin/develop Updating c6ac089..38a3bb8 error: Your local changes to the following files would be overwritten by merge: config/DS918+/7.1.0-42661/config.json Please commit your changes or stash them before you merge. Aborting Removing any old redpill.ko modules Looking for redpill for : ds918p_42962 Getting file https://raw.githubusercontent.com/pocopico/rp-ext/master/redpill/releases/redpill-4.4.180plus.tgz Extracting module Creating temp ramdisk space Mounting partition sdd1 Mounting partition sdd2 Extracting update ramdisk unlzma: /mnt/sdd2/rd.gz: Compressed data is corrupt 38500 blocks Found Version : 7.1-42661-3 Do you want to use this for the loader ? [yY/nN] : n Saving user session for future use. Saving current extensions -> OK ! Saving current user_config.json -> OK ! Hi, you could start over by running ./rploader.sh clean ./rploader.sh update ./rploader.sh fullupgrade ./rploader.sh postupdate apollolake-7.1.1-42962 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.