·¹µåÇÊ ÅøüÀÎ ºôµå½Ã ¿ìºÐÅõ ÇÊ¿ä ¾ø½À´Ï´Ù. #1 (½Ã³î·ÎÁö ¸®´ª½º¿ë)

   Á¶È¸ 2190   Ãßõ 1    

https://github.com/tossp/redpill-tool-chain (170)

tossp 님 레드필 툴체인으로 헤놀로지 img 빌드시 우분투 별도 설치가 필요 없네요.

기존 설치된 헤롤로지만 있으면 SSH 로 들어가셔서 아래처럼 사용하시면 됩니다.

헤놀로지에 딱 도커 패키지만 미리 설치만 되어 있으면 됩니다. (docker demon)

패키지 센터의 기본패키지니 그냥 설치해 보십시요.

그리고, 저는 root 권한으로 들어가지 않고 바로 실행해 봤는데 그냥 아래처럼 Help가 나오네요.

jq 설치도 필요 없습니다.

redpill_tool_chain.sh 의 chmod +x 실행권한 설정도 필요 없습니다.

sudo su 로 root 계정접속은 필요합니다. (sudo -i 도 될것 같습니다.)

가이드대로 필요한 랜카드나 HBA카드 드라이버 정도 별도 add 로 넣어주시고

build 하시고 auto 하시면 끝이네요.

_user_config.json 은 에디터로 생성해서 별도 손은 봐주셔야 합니다.

아래 케이스는 DS3622xs+ 인 broadwellnk_user_config.json 를 사용했습니다.

잘 정리해서 강좌란에도 올려보겠습니다.

잘 쓰면 TINYCORE 만큼 손쉽게 쓸 수 있을것 같습니다.

리눅스 우분투 별도로 깔고 도커 환경잡고 머하고 귀챦았는데, 아주 손쉬워 졌습니다.^^

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

admin2@NAS4:/volume2/_OS_EXSI/redpill-tool-chain-master$ ./redpill_tool_chain.sh

Usage: ./redpill_tool_chain.sh

Actions: build, auto, run, clean

- build:    Build the toolchain image for the specified platform version.

- auto:     Starts the toolchain container using the previosuly build toolchain image for the specified platform.

            Updates redpill sources and builds the bootloader image automaticaly. Will end the container once done.

- run:      Starts the toolchain container using the previously built toolchain image for the specified platform.

            Interactive Bash terminal.

- clean:    Removes old (=dangling) images and the build cache for a platform version.

            Use ‘all’ as platform version to remove images and build caches for all platform versions.

- add:      To install extension you need to know its index file location and nothing more.

            eg: add 'https://example.com/some-extension/rpext-index.json'

- del:      To remove an already installed extension you need to know its ID.

            eg: del 'example_dev.some_extension'

Available platform versions:

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

bromolow-6.2.4-25556

bromolow-7.0-41222

bromolow-7.0.1-42218

apollolake-6.2.4-25556

apollolake-7.0-41890

apollolake-7.0.1-42218

broadwell-7.0.1-42218

broadwellnk-7.0.1-42218

geminilake-7.0.1-42218


Custom Extensions:

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

[Nothing]


Check global_settings.json for settings.

admin2@NAS4:/volume2/_OS_EXSI/redpill-tool-chain-master$ ll

total 60

drwxrwsr-x  1 admin2 users   306 Feb 23 20:58 .

drwxrwxrwx+ 1 root   root    910 Mar  3 20:21 ..

drwxrwsr-x  1 admin2 users    32 Feb 23 20:58 cache

drwxrwsr-x  1 admin2 users    32 Feb 23 20:58 custom

drwxrwsr-x  1 admin2 users    92 Feb 23 20:58 docker

drwxrwxrwx+ 1 root   users  1264 Mar  3 20:21 @eaDir

-rw-rw-r--  1 admin2 users   299 Feb 23 20:58 .editorconfig

drwxrwsr-x  1 admin2 users    30 Feb 23 20:58 .github

-rw-rw-r--  1 admin2 users    37 Feb 23 20:58 .gitignore

-rw-rw-r--  1 admin2 users 10260 Feb 23 20:58 global_config.json

drwxrwsr-x  1 admin2 users    32 Feb 23 20:58 images

-rw-rw-r--  1 admin2 users  6754 Feb 23 20:58 README_EN.md

-rw-rw-r--  1 admin2 users  5481 Feb 23 20:58 README.md

-rwxr-xr-x  1 admin2 users 14729 Feb 23 20:58 redpill_tool_chain.sh

-rw-rw-r--  1 admin2 users   208 Feb 23 20:58 sample_user_config.json

-rwxr-xr-x  1 admin2 users   541 Feb 23 20:58 synoboot.sh

admin2@NAS4:/volume2/_OS_EXSI/redpill-tool-chain-master$ cp sample_user_config.json broadwellnk_user_config.json

admin2@NAS4:/volume2/_OS_EXSI/redpill-tool-chain-master$ ll -al

total 64

drwxrwsr-x  1 admin2 users   362 Mar  3 20:24 .

drwxrwxrwx+ 1 root   root    910 Mar  3 20:21 ..

-rw-r--r--  1 admin2 users   208 Mar  3 20:24 broadwellnk_user_config.json

drwxrwsr-x  1 admin2 users    32 Feb 23 20:58 cache

drwxrwsr-x  1 admin2 users    32 Feb 23 20:58 custom

drwxrwsr-x  1 admin2 users    92 Feb 23 20:58 docker

drwxrwxrwx+ 1 root   users  1264 Mar  3 20:21 @eaDir

-rw-rw-r--  1 admin2 users   299 Feb 23 20:58 .editorconfig

drwxrwsr-x  1 admin2 users    30 Feb 23 20:58 .github

-rw-rw-r--  1 admin2 users    37 Feb 23 20:58 .gitignore

-rw-rw-r--  1 admin2 users 10260 Feb 23 20:58 global_config.json

drwxrwsr-x  1 admin2 users    32 Feb 23 20:58 images

-rw-rw-r--  1 admin2 users  6754 Feb 23 20:58 README_EN.md

-rw-rw-r--  1 admin2 users  5481 Feb 23 20:58 README.md

-rwxr-xr-x  1 admin2 users 14729 Feb 23 20:58 redpill_tool_chain.sh

-rw-rw-r--  1 admin2 users   208 Feb 23 20:58 sample_user_config.json

-rwxr-xr-x  1 admin2 users   541 Feb 23 20:58 synoboot.sh

admin2@NAS4:/volume2/_OS_EXSI/redpill-tool-chain-master$ ll

total 64

drwxrwsr-x  1 admin2 users   362 Mar  3 20:24 .

drwxrwxrwx+ 1 root   root    910 Mar  3 20:21 ..

-rw-r--r--  1 admin2 users   208 Mar  3 20:24 broadwellnk_user_config.json

drwxrwsr-x  1 admin2 users    32 Feb 23 20:58 cache

drwxrwsr-x  1 admin2 users    32 Feb 23 20:58 custom

drwxrwsr-x  1 admin2 users    92 Feb 23 20:58 docker

drwxrwxrwx+ 1 root   users  1264 Mar  3 20:21 @eaDir

-rw-rw-r--  1 admin2 users   299 Feb 23 20:58 .editorconfig

drwxrwsr-x  1 admin2 users    30 Feb 23 20:58 .github

-rw-rw-r--  1 admin2 users    37 Feb 23 20:58 .gitignore

-rw-rw-r--  1 admin2 users 10260 Feb 23 20:58 global_config.json

drwxrwsr-x  1 admin2 users    32 Feb 23 20:58 images

-rw-rw-r--  1 admin2 users  6754 Feb 23 20:58 README_EN.md

-rw-rw-r--  1 admin2 users  5481 Feb 23 20:58 README.md

-rwxr-xr-x  1 admin2 users 14729 Feb 23 20:58 redpill_tool_chain.sh

-rw-rw-r--  1 admin2 users   208 Feb 23 20:58 sample_user_config.json

-rwxr-xr-x  1 admin2 users   541 Feb 23 20:58 synoboot.sh


admin2@NAS4:/volume2/_OS_EXSI/redpill-tool-chain-master$ ./redpill_tool_chain.sh build broadwellnk-7.0.1-42218

Downloading Toolkit Dev

######################################################################## 100.0%

failed to dial gRPC: cannot connect to the Docker daemon. Is 'docker daemon' running on this host?: dial unix /var/run/docker.sock: connect: permission denied

admin2@NAS4:/volume2/_OS_EXSI/redpill-tool-chain-master$ apt

-sh: apt: command not found

admin2@NAS4:/volume2/_OS_EXSI/redpill-tool-chain-master$ brew

-sh: brew: command not found

admin2@NAS4:/volume2/_OS_EXSI/redpill-tool-chain-master$ sudo su

Password: 

Sorry, try again.

Password: 

ash-4.3# ll

ash: ll: command not found

ash-4.3# ls -al

total 64

drwxrwsr-x  1 admin2 users   362 Mar  3 20:24 .

d---------+ 1 root   root    910 Mar  3 20:21 ..

-rw-r--r--  1 admin2 users   208 Mar  3 20:24 broadwellnk_user_config.json

drwxrwsr-x  1 admin2 users    32 Feb 23 20:58 cache

drwxrwsr-x  1 admin2 users    32 Feb 23 20:58 custom

drwxrwsr-x  1 admin2 users    92 Feb 23 20:58 docker

drwxrwxrwx+ 1 root   users  1264 Mar  3 20:21 @eaDir

-rw-rw-r--  1 admin2 users   299 Feb 23 20:58 .editorconfig

drwxrwsr-x  1 admin2 users    30 Feb 23 20:58 .github

-rw-rw-r--  1 admin2 users    37 Feb 23 20:58 .gitignore

-rw-rw-r--  1 admin2 users 10260 Feb 23 20:58 global_config.json

drwxrwsr-x  1 admin2 users    32 Feb 23 20:58 images

-rw-rw-r--  1 admin2 users  6754 Feb 23 20:58 README_EN.md

-rw-rw-r--  1 admin2 users  5481 Feb 23 20:58 README.md

-rwxr-xr-x  1 admin2 users 14729 Feb 23 20:58 redpill_tool_chain.sh

-rw-rw-r--  1 admin2 users   208 Feb 23 20:58 sample_user_config.json

-rwxr-xr-x  1 admin2 users   541 Feb 23 20:58 synoboot.sh

ash-4.3# ./redpill_tool_chain.sh build broadwellnk-7.0.1-42218

[+] Building 247.4s (15/15) FINISHED                                                                                                                                           

 => [internal] load build definition from Dockerfile                                                                                                                      2.3s

 => => transferring dockerfile: 2.60kB                                                                                                                                    0.3s

 => [internal] load .dockerignore                                                                                                                                         2.0s

 => => transferring context: 2B                                                                                                                                           0.0s

 => [internal] load metadata for docker.io/library/debian:10-slim                                                                                                         4.1s

 => [extract 1/2] FROM docker.io/library/debian:10-slim@sha256:e61cffb42ef0dbb31832d4543d6998ab9125210d0136bc0aed65cc753cee9125                                           9.6s

 => => resolve docker.io/library/debian:10-slim@sha256:e61cffb42ef0dbb31832d4543d6998ab9125210d0136bc0aed65cc753cee9125                                                   0.0s

 => => sha256:e61cffb42ef0dbb31832d4543d6998ab9125210d0136bc0aed65cc753cee9125 1.85kB / 1.85kB                                                                            0.0s

 => => sha256:e847f59f3eeb921647a66e95ebf849f442eb7ebabbdb3dd3d1ea07689871b1a5 529B / 529B                                                                                0.0s

 => => sha256:09904dab2f4100eee259d1f77a49f2101a8b694959c401c799622b6fe1c203b5 1.46kB / 1.46kB                                                                            0.0s

 => => sha256:15115158dd02a1bf2fd28724e3c1024394033fb0e9a5d3e451ed2715b6ae312d 27.15MB / 27.15MB                                                                          2.2s

 => => extracting sha256:15115158dd02a1bf2fd28724e3c1024394033fb0e9a5d3e451ed2715b6ae312d                                                                                 2.9s

 => [internal] load build context                                                                                                                                        10.1s

 => => transferring context: 359.58MB                                                                                                                                     7.5s

 => [stage-1 2/9] RUN cp /etc/apt/sources.list /etc/apt/sources.list.bak &&     sed  -i "s/archive.ubuntu.com/mirrors.aliyun.com/g" /etc/apt/sources.list &&     sed    186.1s

 => [extract 2/2] ADD downloads/ds.broadwellnk-7.0.dev.txz /                                                                                                             57.8s

 => [stage-1 3/9] RUN git clone https://github.com/jumkey/redpill-lkm.git  -b develop  /opt/redpill-lkm &&     git clone https://github.com/jumkey/redpill-load.git -b d  7.1s 

 => [stage-1 4/9] COPY --from=extract /usr/local/x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/sys-root/usr/lib/modules/DSM-7.0/build/ /opt/toolkit_dev-broadwellnk-7.0.1-4221  6.8s 

 => [stage-1 5/9] RUN if [ "apollolake" = "broadwellnk" ]; then echo '+' > /opt/toolkit_dev-broadwellnk-7.0.1-42218/.scmversion; fi &&     if [ "toolkit_dev" = "kernel"  3.2s 

 => [stage-1 6/9] WORKDIR /opt                                                                                                                                            1.6s 

 => [stage-1 7/9] COPY Makefile /opt/                                                                                                                                     1.1s 

 => [stage-1 8/9] COPY entrypoint.sh /entrypoint.sh                                                                                                                       1.1s 

 => [stage-1 9/9] RUN chmod +x /entrypoint.sh                                                                                                                             2.2s

 => exporting to image                                                                                                                                                   19.8s

 => => exporting layers                                                                                                                                                  19.6s

 => => writing image sha256:52d26305e12b32c8d0bdfe9dd6a767e0f2a7c504bd44047cb72fd32358f34cb4                                                                              0.1s

 => => naming to docker.io/library/redpill-tool-chain:broadwellnk-7.0.1-42218                                                                                             0.0s

ash-4.3# ./redpill_tool_chain.sh auto broadwellnk-7.0.1-42218

Checking if redpill-lkm sources require pull.

  Nothing to do.

Check if redpill-load sources require pull.

  Nothing to do.

Lay back and enjoy the show: Magic is about to happen!

make[1]: Entering directory '/opt/redpill-lkm'

make -C /opt/toolkit_dev-broadwellnk-7.0.1-42218 M=/opt/redpill-lkm RP_MODULE_TARGET="dev" RP_MODULE_TARGET_VER="7" modules

make[2]: Entering directory '/opt/toolkit_dev-broadwellnk-7.0.1-42218'

RP-TARGET SPECIFIED AS dev v7

  CC [M]  /opt/redpill-lkm/compat/string_compat.o

  CC [M]  /opt/redpill-lkm/internal/helper/math_helper.o

  CC [M]  /opt/redpill-lkm/internal/helper/memory_helper.o

  CC [M]  /opt/redpill-lkm/internal/helper/symbol_helper.o

  CC [M]  /opt/redpill-lkm/internal/scsi/scsi_toolbox.o

  CC [M]  /opt/redpill-lkm/internal/scsi/scsi_notifier_list.o

  CC [M]  /opt/redpill-lkm/internal/scsi/scsi_notifier.o

  CC [M]  /opt/redpill-lkm/internal/override/override_symbol.o

  CC [M]  /opt/redpill-lkm/internal/override/override_syscall.o

  CC [M]  /opt/redpill-lkm/internal/intercept_execve.o

  CC [M]  /opt/redpill-lkm/internal/call_protected.o

  CC [M]  /opt/redpill-lkm/internal/intercept_driver_register.o

  CC [M]  /opt/redpill-lkm/internal/stealth/sanitize_cmdline.o

  CC [M]  /opt/redpill-lkm/internal/stealth.o

  CC [M]  /opt/redpill-lkm/internal/virtual_pci.o

  CC [M]  /opt/redpill-lkm/internal/uart/uart_swapper.o

  CC [M]  /opt/redpill-lkm/internal/uart/vuart_virtual_irq.o

  CC [M]  /opt/redpill-lkm/internal/uart/virtual_uart.o

  CC [M]  /opt/redpill-lkm/internal/ioscheduler_fixer.o

  CC [M]  /opt/redpill-lkm/config/cmdline_delegate.o

/opt/redpill-lkm/config/cmdline_delegate.c: In function 'extract_config_from_cmdline':

/opt/redpill-lkm/config/cmdline_delegate.c:413:74: warning: value computed is not used [-Wunused-value]

         extract_netif_macs(config->macs, single_param_chunk)             ||

                                                                          ^~

  CC [M]  /opt/redpill-lkm/config/runtime_config.o

  CC [M]  /opt/redpill-lkm/shim/boot_dev/boot_shim_base.o

  CC [M]  /opt/redpill-lkm/shim/boot_dev/usb_boot_shim.o

  CC [M]  /opt/redpill-lkm/shim/boot_dev/fake_sata_boot_shim.o

In file included from /opt/redpill-lkm/shim/boot_dev/fake_sata_boot_shim.c:46:

/opt/redpill-lkm/compat/toolkit/include/../drivers/usb/storage/usb.h:50:2: warning: #warning "Using compatibility file for drivers/usb/storage/usb.h - if possible do NOT compile using toolkit" [-Wcpp]

 #warning "Using compatibility file for drivers/usb/storage/usb.h - if possible do NOT compile using toolkit"

  ^~~~~~~

  CC [M]  /opt/redpill-lkm/shim/boot_dev/native_sata_boot_shim.o

  CC [M]  /opt/redpill-lkm/shim/boot_device_shim.o

  CC [M]  /opt/redpill-lkm/shim/storage/smart_shim.o

  CC [M]  /opt/redpill-lkm/shim/storage/sata_port_shim.o

  CC [M]  /opt/redpill-lkm/shim/bios/bios_hwcap_shim.o

  CC [M]  /opt/redpill-lkm/shim/bios/bios_hwmon_shim.o

  CC [M]  /opt/redpill-lkm/shim/bios/rtc_proxy.o

  CC [M]  /opt/redpill-lkm/shim/bios/bios_shims_collection.o

  CC [M]  /opt/redpill-lkm/shim/bios_shim.o

  CC [M]  /opt/redpill-lkm/shim/block_fw_update_shim.o

  CC [M]  /opt/redpill-lkm/shim/disable_exectutables.o

  CC [M]  /opt/redpill-lkm/shim/pci_shim.o

  CC [M]  /opt/redpill-lkm/shim/pmu_shim.o

  CC [M]  /opt/redpill-lkm/shim/uart_fixer.o

  CC [M]  /opt/redpill-lkm/redpill_main.o

  LD [M]  /opt/redpill-lkm/redpill.o

  Building modules, stage 2.

RP-TARGET SPECIFIED AS dev v7

  MODPOST 1 modules

  CC      /opt/redpill-lkm/redpill.mod.o

  LD [M]  /opt/redpill-lkm/redpill.ko

make[2]: Leaving directory '/opt/toolkit_dev-broadwellnk-7.0.1-42218'

make[1]: Leaving directory '/opt/redpill-lkm'

#############################################

filename:       /opt/redpill-lkm/redpill.ko

license:        GPL

version:        v0.5-at-2022_03_03-11_51_27

author:         TTG

srcversion:     EB354894B5A0F9251BA54D3

depends:        

retpoline:      Y

vermagic:       4.4.180+ SMP mod_unload 

#############################################

Using user_config.json:

{

    "extra_cmdline": {

        "pid": "0x0001",

        "vid": "0x46f4",

        "sn": "1234XXX123",

        "mac1": "XXYYXXYYXXYY"

    },

    "synoinfo": {},

    "ramdisk_copy": {},

    "extensions": []

}

#############################################

/opt/redpill-load /opt

[#] Checking runtime for required tools... [OK]

[#] Updating extensions... 


[#] Checking runtime for required tools... [OK]

[*] Your extensions directory /opt/redpill-load/custom/extensions doesn't exists - creating

[#] Adding new extension from https://github.com/jumkey/redpill-load/raw/develop/redpill-virtio/rpext-index.json... 

[#] Downloading remote file https://github.com/jumkey/redpill-load/raw/develop/redpill-virtio/rpext-index.json to /opt/redpill-load/custom/extensions/_new_ext_index.tmp_json

######################################################################################################################################################################## 100.0%######################################################################################################################################################################## 100.0%

[OK]

[#] ========================================== thethorgroup.virtio ==========================================

[#] Extension name: VirtIO

[#] Description: Adds VirtIO support for fast network/PCI/SCSI/network/console paravirtualization under QEmu (Proxmox, VirtualBox, virsh, and similar)

[#] To get help visit:

[#] Extension preparer/packer: https://github.com/RedPill-TTG/redpill-virtio

[#] Software author: https://www.linux-kvm.org/page/Virtio

[#] Update URL: https://github.com/jumkey/redpill-load/raw/develop/redpill-virtio/rpext-index.json

[#] Platforms supported: ds3622xsp_42218 ds918p_42218 ds918p_41890 ds3615xs_42218 ds3615xs_25556 ds920p_42218 ds3615xs_41222 ds918p_25556 ds920p_42550 ds3617xs_42218 

[#] =======================================================================================


[#] Checking runtime for required tools... [OK]

[#] Adding new extension from https://github.com/jumkey/redpill-load/raw/develop/redpill-boot-wait/rpext-index.json... 

[#] Downloading remote file https://github.com/jumkey/redpill-load/raw/develop/redpill-boot-wait/rpext-index.json to /opt/redpill-load/custom/extensions/_new_ext_index.tmp_json

######################################################################################################################################################################## 100.0%######################################################################################################################################################################## 100.0%

[OK]

[#] ========================================== thethorgroup.boot-wait ==========================================

[#] Extension name: RedPill Bootwait

[#] Description: Simple extension which stops the execution early waiting for the boot device to appear

[#] To get help visit: https://github.com/RedPill-TTG/redpill-boot-wait

[#] Extension preparer/packer: https://github.com/RedPill-TTG/redpill-boot-wait

[#] Update URL: https://github.com/jumkey/redpill-load/raw/develop/redpill-boot-wait/rpext-index.json

[#] Platforms supported: ds3622xsp_42218 ds918p_42218 ds918p_41890 ds3615xs_42218 ds3615xs_25556 ds920p_42218 ds3615xs_41222 ds918p_25556 ds920p_42550 ds3617xs_42218 

[#] =======================================================================================


[#] Checking runtime for required tools... [OK]

[#] Updating thethorgroup.boot-wait extension... 

[#] Downloading remote file https://github.com/jumkey/redpill-load/raw/develop/redpill-boot-wait/rpext-index.json to /opt/redpill-load/custom/extensions/_new_ext_index.tmp_json

######################################################################################################################################################################## 100.0%


[#] Extension thethorgroup.boot-wait index is already up to date

[#] Updating thethorgroup.virtio extension... 

[#] Downloading remote file https://github.com/jumkey/redpill-load/raw/develop/redpill-virtio/rpext-index.json to /opt/redpill-load/custom/extensions/_new_ext_index.tmp_json

######################################################################################################################################################################## 100.0%


[#] Extension thethorgroup.virtio index is already up to date

[#] Updating thethorgroup.virtio extension... [OK]

[#] Checking runtime for required tools... [OK]

[#] Updating ds3622xsp_42218 platforms extensions... 

[#] Downloading remote file https://github.com/RedPill-TTG/redpill-boot-wait/raw/master/recipes/universal.json to /opt/redpill-load/custom/extensions/_ext_new_rcp.tmp_json

######################################################################################################################################################################## 100.0%######################################################################################################################################################################## 100.0%


[#] Filling-in newly downloaded recipe for extension thethorgroup.boot-wait platform ds3622xsp_42218

[#] Downloading remote file https://raw.githubusercontent.com/RedPill-TTG/redpill-boot-wait/master/src/boot-wait.sh to /opt/redpill-load/custom/extensions/thethorgroup.boot-wait/ds3622xsp_42218/boot-wait.sh

######################################################################################################################################################################## 100.0%

[#] Verifying /opt/redpill-load/custom/extensions/thethorgroup.boot-wait/ds3622xsp_42218/boot-wait.sh file... [OK]

[#] Successfully processed recipe for extension thethorgroup.boot-wait platform ds3622xsp_42218

[#] Downloading remote file https://github.com/jumkey/redpill-load/raw/develop/redpill-virtio/recipes/ds3622xsp_41890.json to /opt/redpill-load/custom/extensions/_ext_new_rcp.tmp_json

######################################################################################################################################################################## 100.0%######################################################################################################################################################################## 100.0%

[#] Filling-in newly downloaded recipe for extension thethorgroup.virtio platform ds3622xsp_42218

[#] Downloading remote file https://raw.githubusercontent.com/RedPill-TTG/redpill-virtio/master/src/check-virtio.sh to /opt/redpill-load/custom/extensions/thethorgroup.virtio/ds3622xsp_42218/check-virtio.sh

######################################################################################################################################################################## 100.0%

[#] Verifying /opt/redpill-load/custom/extensions/thethorgroup.virtio/ds3622xsp_42218/check-virtio.sh file... [OK]

[#] Downloading remote file https://github.com/jumkey/redpill-load/raw/develop/redpill-virtio/releases/v1.0.0/broadwellnk/virtio-4.4.180p.tgz to /opt/redpill-load/custom/extensions/thethorgroup.virtio/ds3622xsp_42218/virtio-4.4.180p.tgz

######################################################################################################################################################################## 100.0%######################################################################################################################################################################## 100.0%

[#] Verifying /opt/redpill-load/custom/extensions/thethorgroup.virtio/ds3622xsp_42218/virtio-4.4.180p.tgz file... [OK]

[#] Unpacking files from /opt/redpill-load/custom/extensions/thethorgroup.virtio/ds3622xsp_42218/virtio-4.4.180p.tgz to /opt/redpill-load/custom/extensions/thethorgroup.virtio/ds3622xsp_42218/... [OK]

[#] Successfully processed recipe for extension thethorgroup.virtio platform ds3622xsp_42218

[#] Unpacking files from /opt/redpill-load/custom/extensions/thethorgroup.virtio/ds3622xsp_42218/virtio-4.4.180p.tgz to /opt/redpill-load/custom/extensions/thethorgroup.virtio/ds3622xsp_42218/... [OK]

[#] Updating extensions... [OK]

[#] PAT file /opt/redpill-load/cache/ds3622xsp_42218.pat not found - downloading from https://global.download.synology.com/download/DSM/release/7.0.1/42218/DSM_DS3622xs%2B_42218.pat

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

100  345M  100  345M    0     0  23.1M      0  0:00:14  0:00:14 --:--:-- 23.3M

[#] Verifying /opt/redpill-load/cache/ds3622xsp_42218.pat file... [OK]

[#] Unpacking /opt/redpill-load/cache/ds3622xsp_42218.pat file to /opt/redpill-load/build/1646308301/pat-ds3622xsp_42218-unpacked... [OK]

[#] Verifying /opt/redpill-load/build/1646308301/pat-ds3622xsp_42218-unpacked/zImage file... [OK]

[#] Patching /opt/redpill-load/build/1646308301/pat-ds3622xsp_42218-unpacked/zImage to /opt/redpill-load/build/1646308301/zImage-patched... [OK]

[#] Verifying /opt/redpill-load/build/1646308301/pat-ds3622xsp_42218-unpacked/rd.gz file... [OK]

[#] Unpacking /opt/redpill-load/build/1646308301/pat-ds3622xsp_42218-unpacked/rd.gz file to /opt/redpill-load/build/1646308301/rd-ds3622xsp_42218-unpacked... [OK]

[#] Apply patches to /opt/redpill-load/build/1646308301/rd-ds3622xsp_42218-unpacked... [OK]

[#] Patching config files in ramdisk... [OK]

[#] Adding OS config patching... [OK]

[#] Repacking ramdisk to /opt/redpill-load/build/1646308301/rd-patched-ds3622xsp_42218.gz... [OK]

[#] Bundling extensions... [#] Checking runtime for required tools... [OK]

[#] Dumping ds3622xsp_42218 platform extensions to /opt/redpill-load/build/1646308301/custom-initrd/exts... [OK]

[#] Packing custom ramdisk layer to /opt/redpill-load/build/1646308301/custom.gz... [OK]

[#] Generating GRUB config... [OK]

[#] Creating loader image at /opt/redpill-load/images/redpill-DS3622xs+_7.0.1-42218_b1646308301.img... [OK]

[#] Cleaning up... [OK]

The redpill bootloader is created, the container will be ended now.

ash-4.3# 

image
ªÀº±Û Àϼö·Ï ½ÅÁßÇÏ°Ô.
½Ã³î·ÎÁö ¸®´ª½º ¾È¿¡¼­µµ ÅøüÀÎ »ç¿ë°¡´ÉÇÏ´Ù´Â »ç½ÇÀÌ Á¦°¡ óÀ½ ¹ß°ßÇÑ °É±î¿ä?
ÀÌ¹Ì ¼ö°³¿ùÀü¿¡ ³ª¿Í¼­ ÀÌ¹Ì ½Ã³î·ÎÁö¿¡¼­ ½ÃµµÇØ º¸½ÅºÐÀÌ ÀÖÀ»°Í °°Àºµ¥¿ä?
ÅëÅë9 2022-03
ÁÁÀº Á¤º¸ °¨»çÇÕ´Ï´Ù. Ãßõµå¸®°í °©´Ï´Ù.
Ȥ½Ã³ª ¸ÞÀÎÇì³î¿¡ ÀÌ°ÍÀú°Í À¯Æ¿ÀÌ ¹Ì¸® ±ò·ÁÀ־ ¼Õ½±°Ô µÇ³ª ½Í¾î¼­
¾Æ¹«°Íµµ ±ò¾Æº»ÀûÀÌ ¾ø´Â ¹é¾÷Çì³î¿¡ À§ ³»¿ëó·³ µµÄ¿¸¸ ¼³Ä¡ÇÏ°í Çѹø´õ ÁøÇàÇØ ºÃ½À´Ï´Ù.
Àß µË´Ï´Ù. ¤¾¤¾
dateno1 2022-03
¾ÖÃÊ¿¡ ȯ°æ ¾È µûÁö°í ȣȯ Àß µÇ¶ó°í ÀÖ´Â°Ô DockerÀÔ´Ï´Ù

Ä¿³Î Á¾·ù¸¸ ¶È°°À¸¸é Àß µ¹¾Æ°¡´Â°Ô Á¤»óÀÔ´Ï´Ù
     
À۳⿡ ·¹µåÇÊ ÃÊâ±â¿¡ lkm ÄÄÆÄÀÏ Ã³À½Çغ¸°í ¹®Àǵå·ÈÀ»¶§, dateno1´ÔÀÌ ½Ã³î·ÎÁö ¸®´ª½º¿¡¼± ºÒ°¡´É ¼ö ÀÖ´Ù°í Çϼ̽À´Ï´Ù.
±× ¶§ ÄÄÆÄÀϵµ Àß ¾ÈµÇ°íÇؼ­ ÀÌ·¸°Ô ½ÃµµÇÏ´Â°É Á¢°í ÀÖ¾ú½À´Ï´Ù.
lkm Àº ¾ÈµÇ¾ú°í ÀÌ ÅøüÀÎÀº °¡´ÉÇß´ø ÀÌÀ¯°¡
lkmÀº µµÄ¿¿Í ¹«°üÇÏ°í ÅøüÀÎÀº µµÄ¿ ¶§¹®ÀΰŰÚÁÒ?
          
dateno1 2022-03
³×

³×ÀÌƼºê´Â ÀÌ°ÍÀú°Í ºÎÁ·Çؼ­ ¼ö½Ã·Î ¹®Á¦µÇ¿ä
ÀÚÁÖ »ç¿ëµÇ´Â µå¶óÀ̹ö¸¸ add »ç¿ëÇØ º¸½Ã±â ¹Ù¶ø´Ï´Ù. pocopico´Ô µå¶óÀ̹ö´Â DS920+ ¿¡´Â ´ëÀÀµÇ¾î ÀÖÁö ¾Ê½À´Ï´Ù. Âü°í ¹Ù¶ø´Ï´Ù.

./redpill_tool_chain.sh add https://raw.githubusercontent.com/pocopico/rp-ext/master/igb/rpext-index.json
./redpill_tool_chain.sh add https://raw.githubusercontent.com/pocopico/rp-ext/master/e1000e/rpext-index.json
./redpill_tool_chain.sh add https://raw.githubusercontent.com/pocopico/rp-ext/master/r8169/rpext-index.json
./redpill_tool_chain.sh add https://raw.githubusercontent.com/pocopico/rp-ext/master/mpt3sas/rpext-index.json
DSM 7·Î ¿Ã·Áº¸°í½ÍÀºµ¥ ¾ÆÁ÷µµ ¸øÇغ¸°íÀֳ׿ä.
°­Á ¿Ã¶ó¿À¸é ¹Ù·Î ÇغÁ¾ß°Ú³×¿ä ^^ °¨»çÇÕ´Ï´Ù.
ºí·¢ÆÞ 2022-03
À̰͵µ 3622 update3´Â ºÒ°¡´ÉÇÏ°ÙÁ®? ¤Ð
     
Á¦°¡ ¿À´Ã ÅøüÀÎÀ¸·Î ¸¸µç DS3622xs+ ¸¦ 1¼¼´ë ³ëÆ®ºÏ¿¡ ±ò¾ÆºÃ½À´Ï´Ù.
DSM ¼³Ä¡Ã¢¿¡¼­ ¿¬°áµÇ´Â ½Ã³î·ÎÁö ´Ù¿î·Îµå ¼¾ÅÍ¿¡¼­ ¹ÞÀº°ÍÀº µÚ¿¡ update ¸®ºñÀüÀÌ ¾ÈºÙ´øµ¥¿ä.
º°µµ·Î ¾øµ¥ÀÌÆ®¸¦ ¹Þ¾Æ¼­ ¼öµ¿À¸·Î ¿Ã¸®½Å°Ç°¡¿ä?

¸ðµÎ ´Ù¿î·Îµå ¸µÅ©·Î µé¾î°¡´Ï update 1,2,3 ÆÄÀÏÀÌ ¸ðµÎ Àֳ׿ä.
Á¦°¡ update 3 Çѹø º¯°æÇØ º¸°Ú½À´Ï´Ù.
Çì³îÆ÷·³¿¡¼­µµ tinycore ¿¡¼­ update 2 ±îÁö ¼º°øÇß´Ù°í º»°Í °°Àºµ¥¿ä.
          
ÅøüÀεµ µ¿ÀÏÇϳ׿ä. update 3 Àû¿ëÇÏ´Ï ¹«ÇѺ¹±¸·Î ¹Ýº¹µË´Ï´Ù.
Çì³îÆ÷·³¿¡¼­ ¼º°øÇϽźÐÀÌ ÀÖ´Ù°í Çؼ­ ¾î¶»°Ô ¼º°øÇß´ÂÁö »ó¼¼È÷ ¾Ë·Á´Þ¶ó°í ¿äûÀÌ º¸À̳׿ä.
-> ´Ù½Ã õõÈ÷ Àо´Ï ½Ãµµ¸¸ Çغôٴ°ÅÁö ¼º°øÇß´Ù´Â Àǹ̴ ¾Æ´Ñ°Í °°½À´Ï´Ù. ¤Ì¤Ì

https://xpenology.com/forum/topic/53817-redpill-tinycore-loader/?do=findComment&comment=268852
               
ºí·¢ÆÞ 2022-03
°¨»çÇÕ´Ï´Ù. ±â´Ù·ÁºÁ¾ß°Ù³×¿ä. ÁÁÀºÇÏ·çµÇ¼¼¿ä
                    
ÀÌ·± ´äº¯ÀÌ ¿Ã¶ó¿Ô½À´Ï´Ù.
À§ ¸µÅ©¿¡ ´ëÇÑ ´äº¯¿¡¼­´Â ¼º°øÇϽźÐÀº µüÈ÷ ÇÑ°Ô ¾Æ¹«°Íµµ ¾ø´Âµ¥ ¼º°øÇÑ°Í °°´Ù°í Çß±¸¿ä.

´Ù¸¥ºÐÀÌ ¾Æ·¡Ã³·³ À¯Ã߸¦ Çß½À´Ï´Ù.
"handled by maintainers" ¶ó´Â°ÍÀÌ À¯Áöº¸¼ö¿ë Á¤Ç° ½Ã¸®¾óÀ» »ç¿ëÇÏ´Â °æ¿ì¸¦ ÀÇ¹Ì Çϴ°ɱî¿ä?

if you already are on a loader with u2 handled by maintainers working (DS3615xs if i'm not wrong) then you can install u3.
There is no kernel (zImage) update/change between u2 and u3.
But if you are on a loader like DS3622xs+ not updated to u2 by maintainers, then you can install u2/u3, as it is not patched to work with updated zImage. You will bootloop.
At least this is how I understood it.
                         
ºí·¢ÆÞ 2022-03
3622xs Á¤Ç°½ÃµðÅ°·Î Å×½ºÆ®ÇÑ°Ì´Ï´Ù.
7.1·Î´õ·Î ÇÑ°³ ¾Æ´Ò±îÇÏ´Â ÃßÃø¸¸µå³×¿ä
                         
Á¤Ç°½ÃµðÅ°¸¦ grub.cfg ÀÇ SN »Ó¸¸ ¾Æ´Ï¶ó
DSM ÃÖÃÊ ·Î±×Àνà À¯Áöº¸¼ö ¼³Á¤À» ¹¯´Â â¿¡¼­ °Ç³Ê¶Ù±â ÇÏÁö ¾ÊÀ¸½Ã°í À¯Áöº¸¼ö°è¾à ±îÁö ¼³Á¤ Çϼ̳ª¿ä?
Àú´Â °¡Â¥ ½Ã¸®¾ó ¹Û¿¡ ¾ø¾î¼­ À̺κÐÀº ÁøÇàÀ» ¸øÇغýÀ´Ï´Ù.
¾Æ·¡ ¸µÅ©ÀÇ Àúó·³ Synology °èÁ¤°ú QuickConnect ID °¡ - ·Î °ø¶õÀÌ ¾Æ´Ï¶ó ½ÇÁ¦ °èÁ¤ÀÌ ¼³Á¤µÇ¾î ÀÖ´Â »óÅÂÀ̽Ű¡¿ä?
http://www.2cpu.co.kr/nas/37293
¸¸¾à À̺κР±îÁöµµ ¸¸Á·Çϼ̴µ¥, ¹«ÇÑ ºÎÆÃÀ̶ó¸é,
Àú Çì³îÆ÷·³ÀÇ ÃßÃøÀº À߸øµÈ°Í °°½À´Ï´Ù.
                         
ºí·¢ÆÞ 2022-03
À¯Áöº¸¼ö ¼³Á¤°Ç³Ê¶ç¾ú°í, ÄüÄ¿³ØÆ® ¹× °èÁ¤µµ ¼³Á¤¾ÈÇß½À´Ï´Ù. ¹ê´çÇÒ±îºÁ. Á¤¼®Çì³î¼³Ä¡¹æ¹ýÀ¸·Î Çß½À´Ï´Ù.


NAS
Á¦¸ñPage 47/308
2015-12   1564314   ¹é¸Þ°¡
2014-05   5027570   Á¤ÀºÁØ1
2022-03   1445   FOXBI
2022-03   2784   keiminem
2022-03   2648   Ãʺ¸³ª½º
2022-03   2981   Ãʺ¸³ª½º
2022-03   2133   rung567
2022-03   2546   ´ÏÁô
2022-03   1700   »ç¼ø¹ä
2022-03   1857   ±àÁ¤¸¶¿Õ
2022-03   1724   ·ù½Â¿Ï
2022-03   2193   ³ª½º¹ÖÀç
2022-03   1578   È­Á¤Å¥»ï
2022-03   1731   ¾Æ¸®´Ï¾Æ
2022-03   2150   Çã¾î
2022-03   2191   È­Á¤Å¥»ï
2022-03   1322   È­Á¤Å¥»ï
2022-03   3752   ºò³Ê±¼¸Ç
2022-03   1698   Ãá»ï¶ç
2022-03   2518   ºí·¢ÆÞ
2022-03   1530   ·ù½Â¿Ï
2022-03   2739   ¿À¸®¿£½º