11.Nas_1


새창 작성 수정 목록 링크 Edit G카랜다 HDD HDD HDD 게시물 주소 복사


● tinycore build option ./rploader.sh build <platform> static 과 manual ,compile 빌드옵션 차이점

♨ 카랜더 일정 : 2022년05월03일
  • 링크

  • 첨부

  • 컨텐츠 정보

    본문

    tinycore build option ./rploader.sh build <platform> static 과 manual ,compile  빌드옵션 차이점


    빌드 스위치에 대한 자동 옵션이 없습니다. 유효한 옵션은 다음과 같습니다.   

    compile -> redpill-lkm 컴파일 프로세스를 통해 실행(철저하게 테스트되지 않았지만 실패할 가능성이 있음)

    static -> redpill 확장의 정적 redpill 모듈을 사용하고 listmodules 함수도 호출합니다.

    manual -> redpill 확장의 정적 redpill 모듈을 사용하고 listmodules 기능을 실행하지 않고 수동으로 추가한 확장을 진행합니다.

    DTS 패치가 필요한 플랫폼의 경우 DTS 패치를 수동 manual 으로 수행해야 합니다.

    default -> static   listmodules 함수는 PCI 장치를 나열하고, PCI-ID용 커널 모듈에 대해 modules.alias.4.json.gz를 쿼리하고,

    rpext-index.json에서 확장자를 일치 및 추가하려고 시도합니다.

    마지막에는 DTS 패치가 필요한 플랫폼의 경우 model.dt도 패치하려고 합니다.


    따라서 STATIC은 내가 추가한 ext 드라이버를 추가하고 pci-id를 기반으로 ext 드라이버를 검색하지만

    static을 사용하는 것은 builld 명령에 아무것도 추가하지 않는 것과 같습니다. 예: .

     example:

    ./rploader.sh build <platform>

    is the same as

    ./rploader.sh build <platform> static

    same end result

    ==========

    tc@box:~$ cat ds3615_simple_basic_build_dsm71.sh
    #!/bin/bash
    # Made by https://11q.kr
    # 2022.04.27
    # DS3615xs build
    echo Enter ===========  DS3615xs build --- bromolow-7.1.0-42661 ====
    cat user_config_ds3615xs_vmdk.json
    echo Enter =========== cp user_config_ds3615xs_vmdk.json user_config.json
    read answer
    cp user_config_ds3615xs_vmdk.json user_config.json
    cat user_config.json
    echo Enter ===========  build1 =======================
    read answer
    ./rploader.sh clean all
    ./rploader.sh update now
    ./rploader.sh fullupgrade now
    ./rploader.sh serialgen DS3615xs
    ./rploader.sh identifyusb now
    ./rploader.sh satamap now
    #(ll run if custom-module -> /mnt/sdb3/auxfiles is missing)
    mkdir /mnt/"$(mount | grep -i optional | grep cde | awk -F / '{print $3}' | uniq | cut -c 1-3)3"/auxfiles; sudo ln -s /mnt/"$(mount | grep -i optional | grep cde | awk -F / '{print $3}' | uniq | cut -c 1-3)3"/auxfiles /home/tc/custom-module;
    ./rploader.sh build bromolow-7.1.0-42661
    rm -rf /home/tc/oldpat.tar.gz;./rploader.sh clean now; rm -rf /mnt/"$(mount | grep -i optional | grep cde | awk -F / '{print $3}' | uniq | cut -c 1-3)3"/auxfiles; rm -rf /home/tc/custom-module;  ./rploader.sh backup now;
    echo Enter ===========  build2 =======================
    read answer
    #./rploader.sh update now
    #./rploader.sh fullupgrade now
    #./rploader.sh serialgen DS3615xs
    #./rploader.sh identifyusb now
    #./rploader.sh satamap now
    ls /home/tc/custom-module/
    ./lastbuildsystem.sh
    
    echo Enter =========== Normal build2 =======================
    read answer
    # intel driver install
    ./rploader.sh ext bromolow-7.1.0-42661 add https://raw.githubusercontent.com/pocopico/rp-ext/master/vmxnet3/rpext-index.json
    ./rploader.sh ext bromolow-7.1.0-42661 add https://raw.githubusercontent.com/pocopico/rp-ext/master/r8101/rpext-index.json
    ./rploader.sh ext bromolow-7.1.0-42661 add https://raw.githubusercontent.com/pocopico/rp-ext/master/r8125/rpext-index.json
    ./rploader.sh ext bromolow-7.1.0-42661 add https://raw.githubusercontent.com/pocopico/rp-ext/master/e1000/rpext-index.json
    ./rploader.sh ext bromolow-7.1.0-42661 add https://raw.githubusercontent.com/pocopico/rp-ext/master/e1000e/rpext-index.json
    # real tek  driver install
    ./rploader.sh ext bromolow-7.1.0-42661 add https://raw.githubusercontent.com/pocopico/rp-ext/master/r8168/rpext-index.json
    ./rploader.sh ext bromolow-7.1.0-42661 add https://raw.githubusercontent.com/pocopico/rp-ext/master/r8169/rpext-index.json
    # ./rploader.sh ext bromolow-7.1.0-42661 auto
    echo Enter ============= ./rploader.sh build bromolow-7.1.0-42661 auto
    read answer
    ./rploader.sh build bromolow-7.1.0-42661 
    echo Enter ============= cat user_config.json
    read answer
    cat user_config.json
    date
    ls  /mnt/sdb3/auxfiles/
    echo Enter ============= ./rploader.sh backup now sudo filetool.sh -b
    read answer
    ./rploader.sh backup now
    sudo filetool.sh -b
    scp /mnt/sda3/mydata.tgz shimss@192.168.0.10:/i:/1__redpill_synology_bootloader/2_RedPill_Tinycore_loader_Backup/
    scp /mnt/sda3/auxfiles/*.pat shimss@192.168.0.10:/i:/1__redpill_synology_bootloader/2_RedPill_Tinycore_loader_Backup/
    ./lastbuildsystem.sh
    ls -lrt
    ./rploader.sh clean all
    # =======================
    ./lastbuildsystem.sh
    


     https://11q.kr 에 등록된 자료 입니다. ♠ 정보찾아 공유 드리며 출처는 링크 참조 바랍니다♠1.png

    [ 추가 정보 ... 더보기) ]
    뷰PDF 1,2



    office view

    관련자료

    댓글목록

    profile_image

    11qkr님의 댓글

    11qkr 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 아이피 (192.♡.0.1) 작성일

    tc@box:~$ cat grub_cfg_mount.sh
    sudo mount /mnt/sda1
    cd /mnt/sda1
    ls
    cd boot
    ls
    cd grub/
    ls
    cat grub.cfg

    tc@box:~$
    ======================

    profile_image

    11qkr님의 댓글

    11qkr 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 아이피 (192.♡.0.1) 작성일

    tc@box:~$ ./grub_cfg_mount.sh
    EFI  GRUB_VER  boot  custom.gz  grub_cksum.syno  lost+found  rd.gz  zImage
    grub
    fonts  grub.cfg  grubenv  i386-pc  locale  x86_64-efi
    #
    # ### !!! WARNING - READ ME !!! ###
    #
    # DO NOT edit this file. This file has been generated automatically by the loader generator.
    # If you were asked to use a pre-made image and asked by someone to edit this file DO NOT do it. The only
    # supported method of obtaining the loader image is generating it using the loader generator provided.
    #

    terminal_output console
    if serial --unit=0 --speed=115200; then
        terminal_input --append serial_com0
        terminal_output --append serial_com0
    fi

    set default="1"
    set timeout="5"
    set timeout_style="menu"

    if [ -s $prefix/grubenv ]; then
        load_env --file $prefix/grubenv --skip-sig
        set has_env="1"
        if [ -n "${saved_entry}" ]; then
            set default="${saved_entry}"
        fi
    else
        set has_env="0"
        echo "WARN: failed to load env. Default choice will NOT be saved!"
    fi


    function savedefault {
        saved_entry="${chosen}"
        save_env --file $prefix/grubenv saved_entry
    }


    insmod usb_keyboard
    insmod part_msdos
    insmod ext2
    insmod fat
    insmod linux
    insmod gzio

    set gfxmode=auto
    insmod vbe
    insmod vga

    # UEFI
    insmod efi_gop
    insmod efi_uga

    insmod font
    if loadfont ${prefix}/unicode.pf2
    then
        insmod gfxterm
        set gfxmode=auto
        set gfxpayload=keep
        terminal_output gfxterm
    fi

    menuentry 'RedPill DS3622xs v7.1.0-42661 Beta (USB, Verbose)' {
            savedefault
            set root=(hd0,msdos1)
            echo Loading Linux...
            linux /zImage withefi earlyprintk syno_hw_version=DS3622xs+ console=ttyS0,115200n8 netif_num=5 pid=0x0001 earlycon=uart8250,io,0x3f8,115200n8 syno_port_thaw=1 mac1=XXYYXXYYXXYY sn=2030SQRBZMB2T vid=0x46f4 elevator=elevator loglevel=15 HddHotplug=0 DiskIdxMap=00 syno_hdd_detect=0 vender_format_version=2 syno_hdd_powerup_seq=0 log_buf_len=32M root=/dev/md0 SataPortMap=9
            echo Loading initramfs...
            initrd /rd.gz /custom.gz
            echo Starting kernel with USB boot
    }

    menuentry 'RedPill DS3622xs v7.1.0-42661 Beta (SATA, Verbose)' {
            savedefault
            set root=(hd0,msdos1)
            echo Loading Linux...
            linux /zImage withefi earlyprintk syno_hw_version=DS3622xs+ console=ttyS0,115200n8 netif_num=5 pid=0x0001 earlycon=uart8250,io,0x3f8,115200n8 synoboot_satadom=1 syno_port_thaw=1 mac1=XXYYXXYYXXYY sn=2030SQRBZMB2T vid=0x46f4 elevator=elevator loglevel=15 HddHotplug=0 DiskIdxMap=00 syno_hdd_detect=0 vender_format_version=2 syno_hdd_powerup_seq=0 log_buf_len=32M root=/dev/md0 SataPortMap=9
            echo Loading initramfs...
            initrd /rd.gz /custom.gz
            echo Starting kernel with SATA boot
    }


    menuentry 'Tiny Core Image Build' {
            savedefault
            set root=(hd0,msdos3)
            echo Loading Linux...
            linux /vmlinuz64 loglevel=3 cde waitusb=5 vga=791
            echo Loading initramfs...
            initrd /corepure64.gz
            echo Booting TinyCore for loader creation
    }
    tc@box:~$ ls

    목록

    새창 작성 수정 목록 링크 Edit G카랜다 HDD HDD HDD 게시물 주소 복사




    Total 1,684 / 11 Page
    [ ● squarespace 도메인dns구성 및 시놀로지 2개의 웹서버 설치 내용 ]

    ●squarespace 도메인dns구성 및 시놀로지 2개의 웹서버 설치 내용1개의 ddns 사용중에 1개 추가더 구매 2개의 web 서비스 연동…

    [ 최신글(latest)확장! 내맘대로 다양하게 뽑기 ]

    [공통] 최신글(latest)확장! 내맘대로 다양하게 뽑기? (최신, 랜덤, 추천, hit, comment)\r\nby 운영자(220.♡.58.…

    [ Synology NAS DS710+ 1년간의 사용기 ]

    ◎ 네이버에서 [https://11q.kr 홈피] 검색 찾아오세요 ◎http://blog.pointbre.com/3545/synology-nas…

    [ 무료 웹하드_웹하드 솔루션 'AMS-반디' 체험판 무료 다운로드 ]

    기능제한은 없으며, 최대 5명까지 계정(ID) 등록 및 사용이 가능합니다. ID 공유를 통해 소규모 그룹, 조직에서 사용 가능할거라 생각합니다.…

    [ 코멘트 작성/수정/게시판수정/작성시 관리자로 메일 발 ]

    \r\n\r\n\r\n제목\r\n코멘트 작성/수정/게시판수정/작성시 관리자로 메일 발\r\n\r\n\r\n\r\n게시자\r\n11q.kr관리자\…

    [ 배추 빌더 쓸만 합니다 ] 댓글 1

    배추 빌더 쓸만 합니다글쓴이 :심봉사날짜 :2012-09-04 (화) 08:36조회 :4글주소 :http://mwt.so/0Bam3https:/…

    [ DTD설정 및 불당썸 설치 ]

    1. 일단 board/skin/latest/ 에 업로드 하는게 맞습니다. 2. DTD를 설정하시려면 head.sub.php 파일의 <hea…

    [ 림스모바일빌더에서 게시글이 삭제가 되지 않습니다 ] 댓글 1

    림스모바일빌더에서 게시글이 삭제가 되지 않습니다 2.3.1 최종 버전을 사용 하고 아래와같이 설정 하고 https://11q.kr/web/m/v…

    [ phpMyAdmin으로 MySQL DB 백업해서 옮기기 :: 글걸이 ]

    \r\n\r\n\r\nphpMyAdmin으로 MySQL DB 백업해서 옮기기 :: 글걸이‎ - 2009년 6월 12일 \r\n\r\n\r\n\r…

    [ 해당 증상은 익스플로러의 호환성 보기 기능이 활성화되어 있어서 나타나는 증상입니다. ]

    해당 증상은 익스플로러의 호환성 보기 기능이 활성화되어 있어서 나타나는 증상입니다.\r\nhead.sub.php 36 라인 <!-- <…

    [ 배추빌더 라이트 lite 최신글2 메인초기 index에 new글 나오게 하기 ]

    배추빌더 라이트 lite 최신글2 메인초기 index에 new글 나오게 하기<!-- 전체 최신글 보여주기 new2.php관련 파일 수정 i…

    [ editplus에 파일 내용을 비교,동기화 - WinMerge 설치 하기 ]

    editplus에 파일 내용을 비교,동기화 - WinMerge 설치 하기\r\n\r\n파일과 폴더_디렉토리_의 내용을 비교,동기화_WinMerg…

    [ HTML 트루 컬러 차트 폰트색상 _마우스카피 가능표 ]

    HTML 트루 컬러 차트 폰트색상 _마우스카피 가능표\r\n\r\nhttp://translate.google.co.kr/translate?hl=…

    [ 배추스킨 cheditor 설정 이미지 추가 내pc사진 upload 안되는 해결책(기본 path설정) ]

    배추스킨 cheditor 설정 이미지 추가 내pc사진 upload 안되는 해결책(기본 path설정)\r\n\r\n아래와 같이 이미지 추가시 섬네…

    [ g4s 업데이트 기존 사용자 글쓰기 않되는것 버전 g4s-4.0b34.tar 이후 사용자 ]

    g4s 업데이트 기존 사용자 글쓰기 않되는것 버전 g4s-4.0b34.tar 이후 사용자dbconfig.php 제일 마지막에 아래 추가$g4['…

    [ 일반적인 m 디렉토리로 모바일 접속시키기(?) ]

    일반적인 m 디렉토리로모바일접속시키기(?)THIRD작성일시2013.03.16 15:19:42조회858댓글4거두 절미하고 코드 먼저...g4s 설…

    [ config file로 ds-712p NAS 설정 파일 수정 하기 ] 댓글 2

    config file로 ds-712p NAS 설정 파일 수정 하기\r\n\r\n1) config file를 설치2)\n[이 게시물은 관리자님에 …


    ♥간단_메모글♥


    최근글


    새댓글



    PHP 안에 HTML ☞ 홈페이지 화면갱신 시간은 ♨
    ▶ 2024-07-01 16:24:01

    오늘의 홈 현황


    • 현재 접속자♨ 663 명
    • 오늘 가입자※ 0 명
    • 어제 가입자※ 4 명
    • 주간 가입자※ 12 명
    • 오늘 방문자 1,671 명
    • 어제 방문자 1,787 명
    • 최대 방문자 13,042 명
    • 전체 방문자 4,406,721 명
    • 전체 게시물※ 8,671 개
    • 전체 댓글수※ 24,812 개
    • 전체 회원수 11,078 명

    QR코드


    ☞ QR코드 스캔은 kakao앱 자체 QR코드

    알림 0








    최신글↑