Jump to content
XPEnology Community

Yet Another Jun's Mod


Recommended Posts

34 minutes ago, giacomoleopardo said:

I'm not sure of what I'm looking at:

gio_admin@NAS920J:/$ ll /sys/block
total 0
drwxr-xr-x  2 root root 0 Jul 19 16:02 .
dr-xr-xr-x 12 root root 0 Jul 19 16:02 ..
lrwxrwxrwx  1 root root 0 Jul 19 16:02 dm-0 -> ../devices/virtual/block/dm-0
lrwxrwxrwx  1 root root 0 Jul 19 16:02 dm-1 -> ../devices/virtual/block/dm-1
lrwxrwxrwx  1 root root 0 Jul 19 16:02 dm-2 -> ../devices/virtual/block/dm-2
lrwxrwxrwx  1 root root 0 Jul 19 16:02 loop0 -> ../devices/virtual/block/loop0
lrwxrwxrwx  1 root root 0 Jul 19 16:02 loop1 -> ../devices/virtual/block/loop1
lrwxrwxrwx  1 root root 0 Jul 19 16:02 loop2 -> ../devices/virtual/block/loop2
lrwxrwxrwx  1 root root 0 Jul 19 16:02 loop3 -> ../devices/virtual/block/loop3
lrwxrwxrwx  1 root root 0 Jul 19 16:02 loop4 -> ../devices/virtual/block/loop4
lrwxrwxrwx  1 root root 0 Jul 19 16:02 loop5 -> ../devices/virtual/block/loop5
lrwxrwxrwx  1 root root 0 Jul 19 16:02 loop6 -> ../devices/virtual/block/loop6
lrwxrwxrwx  1 root root 0 Jul 19 16:02 loop7 -> ../devices/virtual/block/loop7
lrwxrwxrwx  1 root root 0 Jul 19 16:02 md0 -> ../devices/virtual/block/md0
lrwxrwxrwx  1 root root 0 Jul 19 16:02 md1 -> ../devices/virtual/block/md1
lrwxrwxrwx  1 root root 0 Jul 19 16:02 md2 -> ../devices/virtual/block/md2
lrwxrwxrwx  1 root root 0 Jul 19 16:02 ram0 -> ../devices/virtual/block/ram0
lrwxrwxrwx  1 root root 0 Jul 19 16:02 ram1 -> ../devices/virtual/block/ram1
lrwxrwxrwx  1 root root 0 Jul 19 16:02 ram10 -> ../devices/virtual/block/ram10
lrwxrwxrwx  1 root root 0 Jul 19 16:02 ram11 -> ../devices/virtual/block/ram11
lrwxrwxrwx  1 root root 0 Jul 19 16:02 ram12 -> ../devices/virtual/block/ram12
lrwxrwxrwx  1 root root 0 Jul 19 16:02 ram13 -> ../devices/virtual/block/ram13
lrwxrwxrwx  1 root root 0 Jul 19 16:02 ram14 -> ../devices/virtual/block/ram14
lrwxrwxrwx  1 root root 0 Jul 19 16:02 ram15 -> ../devices/virtual/block/ram15
lrwxrwxrwx  1 root root 0 Jul 19 16:02 ram2 -> ../devices/virtual/block/ram2
lrwxrwxrwx  1 root root 0 Jul 19 16:02 ram3 -> ../devices/virtual/block/ram3
lrwxrwxrwx  1 root root 0 Jul 19 16:02 ram4 -> ../devices/virtual/block/ram4
lrwxrwxrwx  1 root root 0 Jul 19 16:02 ram5 -> ../devices/virtual/block/ram5
lrwxrwxrwx  1 root root 0 Jul 19 16:02 ram6 -> ../devices/virtual/block/ram6
lrwxrwxrwx  1 root root 0 Jul 19 16:02 ram7 -> ../devices/virtual/block/ram7
lrwxrwxrwx  1 root root 0 Jul 19 16:02 ram8 -> ../devices/virtual/block/ram8
lrwxrwxrwx  1 root root 0 Jul 19 16:02 ram9 -> ../devices/virtual/block/ram9
lrwxrwxrwx  1 root root 0 Jul 19 16:02 sata1 -> ../devices/pci0000:00/0000:00:17.0/ata5/host4/target4:0:0/4:0:0:0/block/sata1
lrwxrwxrwx  1 root root 0 Jul 19 16:02 sata2 -> ../devices/pci0000:00/0000:00:17.0/ata6/host5/target5:0:0/5:0:0:0/block/sata2
lrwxrwxrwx  1 root root 0 Jul 19 16:02 synoboot -> ../devices/pci0000:00/0000:00:14.0/usb2/2-8/2-8:1.0/host10/target10:0:0/10:0:0:0/block/synoboot
lrwxrwxrwx  1 root root 0 Jul 19 16:02 zram0 -> ../devices/virtual/block/zram0
lrwxrwxrwx  1 root root 0 Jul 19 16:02 zram1 -> ../devices/virtual/block/zram1

 

 

PS: Dumb question: What does "DTC" stand for?

 

 

It's a bit difficult to explain simply.

https://source.android.com/devices/architecture/dto

https://octavosystems.com/app_notes/osd335x-design-tutorial/osd335x-lesson-2-minimal-linux-boot/linux-device-tree/

 

In REDPILL
If you know what dtc / dts / dtb is, you can use it.

 

Edited by Peter Suh
Link to comment
Share on other sites

Now, this is amazing: with the extraordinary help of ./my.sh DS920+ I've just applied the jumkey's jun's mod through

./my.sh DS920+J noconfig

with manual serial, vid and pid.

The dtc is making its job flawlessly due to DS920+, and I tested the Synology update from 7.0.1 (Update5) to 7.1.0 (Update 3) with success!

 

@jumkey

Would it be possible for you to implement in your jun's mod some more extensions such as:

  1. add acpid service (power button)
    sudo ./rploader.sh ext geminilake-7.1.0-42661 add https://github.com/pocopico/redpill-load/raw/develop/redpill-acpid/rpext-index.json
  2. Realtek 2,5 Gb 8125 NIC controller ext
    sudo ./rploader.sh ext geminilake-7.1.0-42661 add https://raw.githubusercontent.com/pocopico/rp-ext/main/r8125/rpext-index.json

Also thanks to @Peter Suh for clarifying all these concepts for me!

Edited by giacomoleopardo
Link to comment
Share on other sites

13 hours ago, giacomoleopardo said:

Now, this is amazing: with the extraordinary help of ./my.sh DS920+ I've just applied the jumkey's jun's mod through

./my.sh DS920+J noconfig

with manual serial, vid and pid.

The dtc is making its job flawlessly due to DS920+, and I tested the Synology update from 7.0.1 (Update5) to 7.1.0 (Update 3) with success!

 

@jumkey

Would it be possible for you to implement in your jun's mod some more extensions such as:

  1. add acpid service (power button)
    sudo ./rploader.sh ext geminilake-7.1.0-42661 add https://github.com/pocopico/redpill-load/raw/develop/redpill-acpid/rpext-index.json
  2. Realtek 2,5 Gb 8125 NIC controller ext
    sudo ./rploader.sh ext geminilake-7.1.0-42661 add https://raw.githubusercontent.com/pocopico/rp-ext/main/r8125/rpext-index.json

Also thanks to @Peter Suh for clarifying all these concepts for me!

 

instead of

./my.sh DS920+J noconfig

 

Use

./myv.sh DS920+J noconfig

 

There is a function that allows you to add the exts you want in advance.

You can select several at the same time.

Link to comment
Share on other sites

8 hours ago, Peter Suh said:

 

instead of

./my.sh DS920+J noconfig

 

Use

./myv.sh DS920+J noconfig

 

There is a function that allows you to add the exts you want in advance.

You can select several at the same time.

 

Very nice!

What I need is 22 for onboard Intel 1Gb NIC and 46 for my Realtek 2,5 Gb pci-e NIC.

Which one is for acpid service?

 

1) aacraid      2) aic94xx      3) alx  4) arcmsr       5) asix
 6) atl1         7) atl1c       😎 atl1e        9) atl2         10) atlantic
 11) ax88179_178a        12) be2net      13) bna         14) bnx2        15) bnx2x
 16) cxgb        17) cxgb3       18) cxgb4       19) cxgb4vf     20) dm9601
 21) e1000       22) e1000e      23) early-telnet        24) forcedeth   25) hpsa
 26) hv_netvsc   27) i40e        28) iavf        29) igb         30) igbvf
 31) ixgbe       32) ixgbe.vanilla       33) ixgbevf     34) megaraid_sas        35) mlx4_core
 36) mlx5_core   37) mpt2sas     38) mpt3sas     39) mptsas      40) mptspi
 41) mvsas       42) nct6775     43) qla2xxx     44) qlcnic      45) r8101
 46) r8125       47) r8152       48) r8168       49) r8169       50) raspbi-pill
 51) redpill     52) redpill-boot-wait   53) rtl8150     54) sfc         55) skge
 56) sky2        57) tcrp-diag   58) tg3         59) tn40xx      60) v9fs
 61) via-rhine   62) via-velocity        63) vmw_pvscsi  64) vmxnet3     65) vxge
 66) wch

Link to comment
Share on other sites

9 hours ago, Peter Suh said:

 

instead of

./my.sh DS920+J noconfig

 

Use

./myv.sh DS920+J noconfig

 

There is a function that allows you to add the exts you want in advance.

You can select several at the same time.

 

r8125 gives errors:

 

[-] The extension pocopico.r8125 was found. However, the extension index has no recipe for ds920p_42218 platform. It may not be
[-] supported on that platform, or author didn't updated it for that platform yet. You can try running
[-] "ext-manager.sh update" to refresh indexes for all extensions manually. Below are the currently known information about
[-] the extension stored locally:
[#] ========================================== pocopico.r8125 ==========================================
[#] Extension name: r8125
[#] Description: Adds Realtek RTL8125 2.5Gigabit Ethernet driver Support
[#] To get help visit: <todo>
[#] Extension preparer/packer: https://github.com/pocopico/rp-ext/tree/main/r8125
[#] Software author: https://github.com/pocopico
[#] Update URL: https://raw.githubusercontent.com/pocopico/rp-ext/master/r8125/rpext-index.json
[#] Platforms supported: ds1621p_42218 ds918p_41890 dva3221_42661 ds3617xs_42621 ds3617xs_42218 ds920p_42661 ds918p_42661 dva1622_42621 ds1621p_42661 ds918p_25556 dva3221_42218 ds3615xs_42661 ds3622xsp_42661 ds3622xsp_42218 ds2422p_42218 dva3221_42621 ds3615xs_41222 ds918p_42621 ds3617xs_42661 ds3615xs_25556 ds920p_42621 dva1622_42661 ds918p_42218 ds2422p_42621 ds1621p_42621 ds3615xs_42621 ds3615xs_42218 ds3622xsp_42621
[#] =======================================================================================

[-] Failed to update recipe for pocopico.r8125 extension for platform ds920p_42218. The script will terminate as you do not
[-] have previously downloaded recipe which can be used if download fails. Try again later. If problem
[-] persists contact the extension packer for support (displayed below)
[#] ========================================== pocopico.r8125 ==========================================
[#] Extension name: r8125
[#] Description: Adds Realtek RTL8125 2.5Gigabit Ethernet driver Support
[#] To get help visit: <todo>
[#] Extension preparer/packer: https://github.com/pocopico/rp-ext/tree/main/r8125
[#] Software author: https://github.com/pocopico
[#] Update URL: https://raw.githubusercontent.com/pocopico/rp-ext/master/r8125/rpext-index.json
[#] Platforms supported: ds1621p_42218 ds918p_41890 dva3221_42661 ds3617xs_42621 ds3617xs_42218 ds920p_42661 ds918p_42661 dva1622_42621 ds1621p_42661 ds918p_25556 dva3221_42218 ds3615xs_42661 ds3622xsp_42661 ds3622xsp_42218 ds2422p_42218 dva3221_42621 ds3615xs_41222 ds918p_42621 ds3617xs_42661 ds3615xs_25556 ds920p_42621 dva1622_42661 ds918p_42218 ds2422p_42621 ds1621p_42621 ds3615xs_42621 ds3615xs_42218 ds3622xsp_42621
[#] =======================================================================================

[!] Cannot continue due to previous errors (see above)

*** Process will exit ***
[!] Failed to update all extensions for ds920p_42218 platform - see errors above

*** Process will exit ***
FAILED : Loader creation failed check the output for any errors

 

Any idea?

Link to comment
Share on other sites

2 hours ago, giacomoleopardo said:

 

Very nice!

What I need is 22 for onboard Intel 1Gb NIC and 46 for my Realtek 2,5 Gb pci-e NIC.

Which one is for acpid service?

 

1) aacraid      2) aic94xx      3) alx  4) arcmsr       5) asix
 6) atl1         7) atl1c       😎 atl1e        9) atl2         10) atlantic
 11) ax88179_178a        12) be2net      13) bna         14) bnx2        15) bnx2x
 16) cxgb        17) cxgb3       18) cxgb4       19) cxgb4vf     20) dm9601
 21) e1000       22) e1000e      23) early-telnet        24) forcedeth   25) hpsa
 26) hv_netvsc   27) i40e        28) iavf        29) igb         30) igbvf
 31) ixgbe       32) ixgbe.vanilla       33) ixgbevf     34) megaraid_sas        35) mlx4_core
 36) mlx5_core   37) mpt2sas     38) mpt3sas     39) mptsas      40) mptspi
 41) mvsas       42) nct6775     43) qla2xxx     44) qlcnic      45) r8101
 46) r8125       47) r8152       48) r8168       49) r8169       50) raspbi-pill
 51) redpill     52) redpill-boot-wait   53) rtl8150     54) sfc         55) skge
 56) sky2        57) tcrp-diag   58) tg3         59) tn40xx      60) v9fs
 61) via-rhine   62) via-velocity        63) vmw_pvscsi  64) vmxnet3     65) vxge
 66) wch

 

 

The missing redpill-acpid was modified to be used as number 52. Try it again.

 

548396476_2022-07-2311_13_26.thumb.png.4807ba13660a42d10ec5319decd14e60.png

 

 

You can type like this.

46,52

 

 

Edited by Peter Suh
Link to comment
Share on other sites

2 hours ago, giacomoleopardo said:

 

r8125 gives errors:

 

[-] The extension pocopico.r8125 was found. However, the extension index has no recipe for ds920p_42218 platform. It may not be
[-] supported on that platform, or author didn't updated it for that platform yet. You can try running
[-] "ext-manager.sh update" to refresh indexes for all extensions manually. Below are the currently known information about
[-] the extension stored locally:
[#] ========================================== pocopico.r8125 ==========================================
[#] Extension name: r8125
[#] Description: Adds Realtek RTL8125 2.5Gigabit Ethernet driver Support
[#] To get help visit: <todo>
[#] Extension preparer/packer: https://github.com/pocopico/rp-ext/tree/main/r8125
[#] Software author: https://github.com/pocopico
[#] Update URL: https://raw.githubusercontent.com/pocopico/rp-ext/master/r8125/rpext-index.json
[#] Platforms supported: ds1621p_42218 ds918p_41890 dva3221_42661 ds3617xs_42621 ds3617xs_42218 ds920p_42661 ds918p_42661 dva1622_42621 ds1621p_42661 ds918p_25556 dva3221_42218 ds3615xs_42661 ds3622xsp_42661 ds3622xsp_42218 ds2422p_42218 dva3221_42621 ds3615xs_41222 ds918p_42621 ds3617xs_42661 ds3615xs_25556 ds920p_42621 dva1622_42661 ds918p_42218 ds2422p_42621 ds1621p_42621 ds3615xs_42621 ds3615xs_42218 ds3622xsp_42621
[#] =======================================================================================

[-] Failed to update recipe for pocopico.r8125 extension for platform ds920p_42218. The script will terminate as you do not
[-] have previously downloaded recipe which can be used if download fails. Try again later. If problem
[-] persists contact the extension packer for support (displayed below)
[#] ========================================== pocopico.r8125 ==========================================
[#] Extension name: r8125
[#] Description: Adds Realtek RTL8125 2.5Gigabit Ethernet driver Support
[#] To get help visit: <todo>
[#] Extension preparer/packer: https://github.com/pocopico/rp-ext/tree/main/r8125
[#] Software author: https://github.com/pocopico
[#] Update URL: https://raw.githubusercontent.com/pocopico/rp-ext/master/r8125/rpext-index.json
[#] Platforms supported: ds1621p_42218 ds918p_41890 dva3221_42661 ds3617xs_42621 ds3617xs_42218 ds920p_42661 ds918p_42661 dva1622_42621 ds1621p_42661 ds918p_25556 dva3221_42218 ds3615xs_42661 ds3622xsp_42661 ds3622xsp_42218 ds2422p_42218 dva3221_42621 ds3615xs_41222 ds918p_42621 ds3617xs_42661 ds3615xs_25556 ds920p_42621 dva1622_42661 ds918p_42218 ds2422p_42621 ds1621p_42621 ds3615xs_42621 ds3615xs_42218 ds3622xsp_42621
[#] =======================================================================================

[!] Cannot continue due to previous errors (see above)

*** Process will exit ***
[!] Failed to update all extensions for ds920p_42218 platform - see errors above

*** Process will exit ***
FAILED : Loader creation failed check the output for any errors

 

Any idea?

 

@pocopico was applied 1 hour before.

 

https://github.com/pocopico/rp-ext/commit/fa48e5f2f8eea86d35881a1b52fe1b03e5a275c0

 

I have synced now.

 

https://github.com/PeterSuh-Q3/rp-ext/commit/9bd2b7affe88540bb3a4abbfbce3ef05e7d7f774

 

Edited by Peter Suh
Link to comment
Share on other sites

44 minutes ago, Peter Suh said:

 

 

The missing redpill-acpid was modified to be used as number 52. Try it again.

 

548396476_2022-07-2311_13_26.thumb.png.4807ba13660a42d10ec5319decd14e60.png

 

 

You can type like this.

46,52

 

 

 

Is this still the right link do use your script?

wget https://github.com/PeterSuh-Q3/tinycore-redpill/raw/main/myv.sh.gz; tar -zxvf myv.sh.gz;

 

Because it's still giving me 52) redpill-boot-wait

Link to comment
Share on other sites

1 minute ago, giacomoleopardo said:

 

Is this still the right link do use your script?

wget https://github.com/PeterSuh-Q3/tinycore-redpill/raw/main/myv.sh.gz; tar -zxvf myv.sh.gz;

 

Because it's still giving me 52) redpill-boot-wait

 

It's an old download script.
Use the one below. myv.sh is also included.

 

curl --location "https://github.com/PeterSuh-Q3/tinycore-redpill/raw/main/my.sh.gz" -O; tar -zxvf my.sh.gz;

Link to comment
Share on other sites

10 minutes ago, Peter Suh said:

 

It's an old download script.
Use the one below. myv.sh is also included.

 

curl --location "https://github.com/PeterSuh-Q3/tinycore-redpill/raw/main/my.sh.gz" -O; tar -zxvf my.sh.gz;

 

Alright, this link works, but another error on r8125

 

[-] JSON file "/home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json" is invalid:

parse error: Expected separator between values at line 40, column 18
[-] Extension loaded from https://raw.githubusercontent.com/PeterSuh-Q3/rp-ext/master/r8125/rpext-index.json (id: ) is invalid: index JSON file is unparsable. Please report that to the extension maintainer via help URL
[!] The index file for https://raw.githubusercontent.com/PeterSuh-Q3/rp-ext/master/r8125/rpext-index.json extension is invalid - please report that to the extension maintainer

*** Process will exit ***

 

Link to comment
Share on other sites

29 minutes ago, giacomoleopardo said:

 

Alright, this link works, but another error on r8125

 

[-] JSON file "/home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json" is invalid:

parse error: Expected separator between values at line 40, column 18
[-] Extension loaded from https://raw.githubusercontent.com/PeterSuh-Q3/rp-ext/master/r8125/rpext-index.json (id: ) is invalid: index JSON file is unparsable. Please report that to the extension maintainer via help URL
[!] The index file for https://raw.githubusercontent.com/PeterSuh-Q3/rp-ext/master/r8125/rpext-index.json extension is invalid - please report that to the extension maintainer

*** Process will exit ***

 

 

Sorry, There was a typo.

Try again now.

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

Exciting as always!

Thanks to @pocopico @jumkey and @Peter Suh  I had successfully installed DSM 7.0.1 (update 5) and next I successfully updated to DSM 7.1.0 (Update 3) through DSM update.
I also installed extensions for my Realtek 2,5 Gb 8125 NIC controller and added acpid service (power button), everything survived happily to the update from 7.0.1 to 7.1.0.
Here are the steps:

[DS920+]

- MANUALLY MODIFY user_config.json with serial n. and Mac addresses (included my Realtek 2,5 Gb NIC) through WinSCP

- from Putty:

  • sudo ./rploader.sh identifyusb now   # to get USB pen drive vid and pid
  • curl --location "https://github.com/PeterSuh-Q3/tinycore-redpill/raw/main/my.sh.gz" -O; tar -zxvf my.sh.gz;   # to download Peter Suh's amazing script my.sh
  • ./myv.sh DS920+J noconfig   # why myv? Because it gives us the opportunity to install other extensions (such as 46 and 52); why J? Because this is jumkey's latest Jun's Mod which allows updating like a real Synology (at least from 7.0.1 to 7.1); why noconfig? Because I manually modified the serial n. and the mac addresses with proper ones

 

Attached here my Putty session, just in case somebody would need it.

Putty session 23rd July 2022.txt

Edited by giacomoleopardo
  • Like 2
Link to comment
Share on other sites

3 minutes ago, Peter Suh said:

The ds920+ used ARPL's fabio's dtbpatch ext.
This dtbpatch ext is designed to automatically detect and add NVMe.
If this part is not automatically processed, there must be another reason.

Whit this procedure I used should dtbpatch be automatically present, or do I need to add it manually during usb boot drive creation?

Link to comment
Share on other sites

1 hour ago, giacomoleopardo said:

Whit this procedure I used should dtbpatch be automatically present, or do I need to add it manually during usb boot drive creation?

 

dtbpatch is already added automatically by m shell(my.sh) .

 

Since it is a topic completely unrelated to jun mode, it is not polite to jumkey to continue talking on this topic.
If you create a new topic in the general question box, I will continue to answer it.

Edited by Peter Suh
  • Like 2
Link to comment
Share on other sites

6 minutes ago, Peter Suh said:

 

dtbpatch is already added automatically by m shell(my.sh) .

 

Since it is a topic completely unrelated to jun mode, it is not polite to jumkey to continue talking on this topic.
If you create a new topic in the general question box, I will continue to answer it.

 

Fair enough. In a few days I'll test an nvme cache implementation. Thanks

  • Like 2
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...