Jump to content
XPEnology Community

titoum

Member
  • Posts

    126
  • Joined

  • Last visited

Posts posted by titoum

  1. 5 hours ago, pocopico said:

     

    The updates are handles by tcrpfriend so in tcrpfriend repo, i will try to update the info.

    super 🙏

     

    i wasn't sure if i could update to latest version and Peter was saying yours wasn't supporting it yet...

    so having that info in wiki would be quite helpful ☺️

     

    cheers 🍻

  2. is there a way to get the log of why i get file is considered corrupted?

     

    curl --location "https://github.com/pocopico/tinycore-redpill/raw/main/rploader.sh" -O
    ./rploader.sh fullupgrade
    ./rploader.sh clean
    ./rploader.sh build ds3622xsp-7.1.1-42962 withfriend
    ./rploader.sh postupdate ds3622xsp-7.1.1-42962

     

    when booting it asked me to reinstall the dsm and then when providing the file, i get the corrupted file.

    pid/vid same as before and mac as well.

  3. 11 hours ago, sam juan said:

    i tried the steps, but gotten corrupt pat file at 40% - 41%
    will try to investigate, if not, will try the 2 step; ie. 7.0.1-42218 to 7.1.0-42661

     

    so i did easy way:

     

    • boot up NAS
    • backup hyperbackup
    • manual update with the PAT file from synology

     

    • when synology process reboot pc -> select tiny core on the grub menu selection

    then you do the same as explained by Peter but dont forget to check again you user_config.json as it will be refreshed by the command executed :-)

     

    [DS3622xs+]
    
    ./rploader.sh update now
    ./rploader.sh fullupgrade now
    
    ./rploader.sh serialgen DS3622xs+
    ./rploader.sh identifyusb now
    ./rploader.sh satamap now
    
      --Check user_config.json if all is correct
    
    ./rploader.sh build broadwellnk-7.0.1-42218
    ./rploader.sh clean now
    ./rploader.sh build broadwellnk-7.1.0-42661
    
    ./rploader.sh clean now;  rm -rf /mnt/sdb3/auxfiles;  rm -rf /home/tc/custom-module;  ./rploader.sh backup now;

     

    hope this help

     

    • Like 1
  4. On 4/9/2022 at 7:15 PM, Peter Suh said:

    [DS3622xs+]

     

    ./rploader.sh update now

    ./rploader.sh fullupgrade now

     

    ./rploader.sh serialgen DS3622xs+

    ./rploader.sh identifyusb now

    ./rploader.sh satamap now

     

    ./rploader.sh build broadwellnk-7.0.1-42218

    ./rploader.sh clean now

    ./rploader.sh build broadwellnk-7.1.0-42661

     

    ./rploader.sh clean now;  rm -rf /mnt/sdb3/auxfiles;  rm -rf /home/tc/custom-module;  ./rploader.sh backup now;

     

    1655034970_3622_2022-04-1012_02_58.thumb.png.b8df5ab6659d29c4d606d716bd4f38d7.png

     

    super duper !

    worked first try 

     

    image.png.1b569d254a554419b3431910dc785b13.png

    • Like 1
  5. 1 hour ago, gadreel said:

    Something needs to be done with 7.1... We need a guide with clear instructions how to do it without any issues.

     

    All I see in the last pages is users failing and running a bunch of TC commands which might or might not be correct.

    this is still experimental so if it is not your thing then just wait in a corner of the room.

    Rome was not built in one day and try/error was part of it.

    • Like 1
  6. 49 minutes ago, Peter Suh said:

    He must be very busy, but ds920 / ds1621 would like @pocopico to pre-test at BAREMETAL.
    Too much energy is consumed by users for testing.


    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.

     

  7. Just now, Peter Suh said:

     

    Pocopico already had 20 hours ago not "ds,pat"
    I changed it to the correct URL.
    However, the file below keeps downloading old files for some reason.
    So this order or any command needs to be adjusted a little bit, so it is currently being tested.

    /redpill-load/config/DS3622xs+/7.1.0-42621/config.json

    you can by-pass error by putting file directly into cache ;-)

    thats how i did it.

  8. i took the cmd from pocopico to be sure that tinycore is refreshed and then i followed the cmd you provided :-)

     

    for the sake on not loosing my mind, i just diligently followed every steps the same to be sure of no deviation.

    might be possible to skip some but Murphy is always around the corner ^^'

     

    for the sata config, i can edit on the usb if i remember correctly. it was on partition 2? 

  9. ok i got it !

     

    image.thumb.png.d03b845ab9c8dfb8c973ca2bd9385993.png

     

    so in summary i followed previous steps i described:

     

    ./rploader.sh clean now
    ./rploader.sh update now
    ./rploader.sh fullupgrade now
    ./rploader.sh backup now
    
    ./rploader.sh update now
    ./rploader.sh fullupgrade now
    ./rploader.sh clean now
    ./rploader.sh download broadwellnk-7.0.1-42218
    ./rploader.sh ext broadwellnk-7.0.1-42218 add https://github.com/jumkey/redpill-load/raw/develop/redpill-misc/rpext-index.json
    
    edit custom_config.json to replace following under "id": "broadwellnk-7.0.1-42218" / "id": "broadwellnk-7.1.0-42621":
    
    "redpill_lkm": {
                                "source_url": "https://github.com/dogodefi/redpill-lkm.git",
                                "branch": "develop"
                        },
                        "redpill_load": {
                                "source_url": "https://github.com/dogodefi/redpill-load.git",
                                "branch": "develop"
                        },
    
    DONT FORGET TO ADAPTE user_config.json :-)
    
    ./rploader.sh build broadwellnk-7.0.1-42218
    
    then i  had to copy over the path file to the following location with the name expected: /home/tc/custom-module/ds3622xsp_42621.pat
    
    ./rploader.sh build broadwellnk-7.1.0-42621

     

     

    only thing missing is proper hdd handling...

     

    image.png.73699536ebb3c494150b10527079ecee.png

     

    i dont know why but it doesnt seems to find them...i guess i need to edit my usbkey to change those value ?

  10. oki doki getting there ! 🤗

     

    so to summarize:

     

    ./rploader.sh clean now
    ./rploader.sh update now
    ./rploader.sh fullupgrade now
    ./rploader.sh backup now
    
    ./rploader.sh update now
    ./rploader.sh fullupgrade now
    ./rploader.sh clean now
    ./rploader.sh download broadwellnk-7.0.1-42218
    ./rploader.sh ext broadwellnk-7.0.1-42218 add https://github.com/jumkey/redpill-load/raw/develop/redpill-misc/rpext-index.json
    wget https://github.com/jumkey/redpill-load/blob/develop/config/DS3622xs%2B/7.0.1-42218/config.json 
    mv config.json  /home/tc/redpill-load/config/DS3622xs+/7.0.1-42218/config.json 
    
    edit custom_config.json to replace following under "id": "broadwellnk-7.0.1-42218" / "id": "broadwellnk-7.1.0-42621":
    
    "redpill_lkm": {
                                "source_url": "https://github.com/dogodefi/redpill-lkm.git",
                                "branch": "develop"
                        },
                        "redpill_load": {
                                "source_url": "https://github.com/dogodefi/redpill-load.git",
                                "branch": "develop"
                        },
    
    DONT FORGET TO ADAPTE user_config.json :-)
    
    ./rploader.sh build broadwellnk-7.0.1-42218
    ./rploader.sh build broadwellnk-7.1.0-42621

     

    then i finnaly got this 

    menuentry 'RedPill DS3622xs v7.1.0-42621 Beta (USB, Verbose)' {
    menuentry 'RedPill DS3622xs v7.1.0-42621 Beta (SATA, Verbose)' {
    menuentry 'Tiny Core Image Build' {
    Caching files for future use
    No adequate space on TCRP loader partition /mnt/sdf3 to cache pat file
    Found /mnt/sdf3/auxfiles/ds3622xsp_42218.pat
    /mnt/sdf3/auxfiles/ds3622xsp_42621.pat file
    Do you want me to remove older cached pat files and cache current ? [yY/nN] : y
    Found /home/tc/redpill-load/cache/ds3622xsp_42621.pat, copying to cache directory : /mnt/sdf3/auxfiles
    cp: preserving permissions for '/mnt/sdf3/auxfiles/ds3622xsp_42621.pat': Operation not permitted

     

    i hope that now i will not have issue with grub not booting 😕

     

    edit: facing same issue at boot time

    error:symbol 'grub_disk_native_sectors' not found
    entering rescue mode
    grub rescue>


    any idea what i am doing wrong 😓

  11. 25 minutes ago, Peter Suh said:

    @pocopico

     

    The 7.0.1 build was successful, as shown in the log
    Copy to the last cache directory and see something wrong.
    Is it about authority?

     

    223947483_2022-04-0612_21_12.thumb.png.dee49c3d165e34464191bdd3e8468ba9.png

     

    And, when I proceed with the 7.1 build,
    It seems that the pat file of the above cache directory cannot be found as below.

     

    1759935118_2022-04-0612_21_37.thumb.png.7a1261ed6f178b6e154fc6ce7a84f075.png

    exact same issue i faced ;-)

     

    i did exact steps advise by pocopico and then redo steps from peter.

     

    imo something is wrong with testarchive() which invalidate a couple of other steps.

  12. 9 minutes ago, Peter Suh said:

    So, I record the USB again and perform it as below.

     

    ./rploader.sh update now

    ./rploader.sh fullupgrade now

    ./rploader.sh clean now

    ./rploader.sh download broadwellnk-7.0.1-42218

    ./rploader.sh ext broadwellnk-7.0.1-42218 add https://github.com/jumkey/redpill-load/raw/develop/redpill-misc/rpext-index.json

    ./rploader.sh build broadwellnk-7.0.1-42218

    ./rploader.sh build broadwellnk-7.1.0-42621

     

    same... i dont know what i am doing wrong

     

    i was able to build 7.0.1 no problemo then i switched to 7.1

    i got this first error:

    Downloading pat file from URL : ds.pat
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
      0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: ds.pat
    Failed to download PAT file //mnt/sdf3/auxfiles/DS3622xs+_42621.pat from ds.pat

     

    so i have copied the pat file directly in the cache:

    /bin/syno_extract_system_patch: /usr/local/lib/libcurl.so.4: no version information available (required by /bin/syno_extract_system_patch)
    Executed succesfully
    Processing pat file  file
    Checking for cached pat file
    Found tinycore cache folder, linking to home/tc/custom-module
    Found locally cached pat file /home/tc/custom-module/DSM_DS3622xs+_42621.pat
    ./rploader.sh: line 148: [: =: unary operator expected
    ./rploader.sh: line 152: [: =: unary operator expected
    Something went wrong, please check cache files

     

    which then fallback to other issue about testarchive.

     

    time to cook :-) nothing urgent. i just like to dig into this.

  13. playing around...sorry if i missed something:

     image.thumb.png.f79ea5e977fed2886706cddfe9a39ddc.png

     

    it seems that variable is not set when doing  ./rploader.sh build broadwellnk-7.1.0-42621

     

    ok my bad i didnt see testarchive was supposed to check if but it still doesnt seem to provide the value as expected :-)

     

    just checked a bit further:

     

    image.thumb.png.08efdab6fce43a3e03172c58117b1c7e.png

     

    i hope this canl help if of course i didnt miss something 😕

    pat file is directly from syno website so untouch

  14. 23 minutes ago, pocopico said:

    Reminders : 

    - always add jumkeys redpill-misc extension before you build loader for 7.1

    super work as usual.

     

    can you just give a hint how to add redpil misc extension if possible? i will try to do a build on bromllow after that :-)

     

    edit: i guess this is the one

    ./rploader.sh ext bromolow-7.1.0-42621 add https://github.com/jumkey/redpill-load/raw/develop/redpill-misc/rpext-index.json


    thx

  15. 3 hours ago, Peter Suh said:

     

    @Dvalin21

     

    I thought I didn't need postupdate when TPRC's new feature was released.
    I think your problem needs to be solved separately.


    There is no need to worry about encryption and non-encryption for 7.1 RC pat files used in TPRC's preliminary preparation for postupdate.
    You can just update it in DSM 7.0.1 with the pat downloaded on the Sinology homepage.
    Did we proceed like this?

    And can you capture the log screen that says there is a mount error?
    Even if I can't solve it, wouldn't someone else be able to answer?

    isnt there an issue with the script for bromollow 7.1 ? i see that it points to sda3 when it should be sdf3 ?

     

    Could not find pat file locally cached
    Downloading pat file from URL : https://global.download.synology.com/download/DSM/release/7.1/42621/DSM_DS3615xs_42621.pat
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
      0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0Warning: Failed to create the file /mnt/sda3/auxfiles/DS3615xs_42621.pat: No
    Warning: such file or directory
      0  339M    0 16384    0     0   123k      0  0:47:03 --:--:--  0:47:03  123k
    curl: (23) Failed writing body (0 != 16384)
    Failed to download PAT file /mnt/sda3/auxfiles/DS3615xs_42621.pat from https://global.download.synology.com/download/DSM/release/7.1/42621/DSM_DS3615xs_42621.pat

     

    if i check in the rploader.sh

     curl --location ${pat_url} -o "/mnt/sda3/auxfiles/${MODEL}_${TARGET_REVISION}.pat"
            patfile="/mnt/sda3/auxfiles/${MODEL}_${TARGET_REVISION}.pat"
            if [ -f ${patfile} ]; then
                testarchive ${patfile}
            else
                echo "Failed to download PAT file $patfile from ${pat_url} "
                exit 99

     

    all other path refer to sdf at least in my setup.

     

    so i went back to basic by following your other notes:

     

        "redpill_lkm": {
                    "source_url": "https://github.com/pocopico/redpill-lkm.git",
                    "branch": "master"
                },
                "redpill_load": {
                    "source_url": "https://github.com/pocopico/redpill-load.git",
                    "branch": "develop"
                },
    
    then perform
    
    ./rlploader clean now
    ./rploader download bromolow-7.0.1-42218
    ./rploader listmods bromolow-7.0.1-42218
    ./rploader postupdate bromolow-7.0.1-42218

     

    but then i have a error symbol grub_disk_native_sectors not found.

    and i am back to rescue mode 😕

  16. 36 minutes ago, Peter Suh said:

    3. As a default tc user (no root switching to sudo su, especially for HBA SCSI drivers, absolutely prohibited using sudo, what @pocopico has confirmed) below

    Execute any command without omission.

    ./rploader.sh update now

    ./rploader.sh backuploader now

    ./rploader.sh download broadwellnk-7.0.1-42218

    (Expanded driver that only needs DS3622xs+)

    ./rploader.sh ext broadwellnk-7.0.1-42218 add https://github.com/jumkey/redpill-load/raw/develop/redpill-misc/rpext-index.json

    (BROADWELLNK Model: DS3622xs+ Version: 7.1.0-42621 Loader versioning process is required for two questions y)

    ./rploader.sh postupdate broadwellnk-7.0.1-42218

     

    ok so far i am good with my wrong update as my baremetal is now 7.1 where key is not.

    so i followed you procedure. i had to provide the img file at the right location with the expected name but then it goes through (some warning message about recipe missing with jumkey) and the *.img is no where to be found anymore. is there a specific place for it ?

×
×
  • Create New...