本帖最后由 1149379753 于 2022-6-17 13:29 编辑
有几个疑问请教下,跟进教程http://www.gebi1.com/thread-301414-1-1.html进行编译,第三步的时候,因为我是想要编译DS920+的42218版本,教程原来的命令行是 ./rploader.sh build bromolow-7.0.1-42218,跟进下面提示改为 ./rploader.sh build geminilake-7.0.1-42218,我刚才这样操作了下,完成了1.2.3,没有执行4.5(因为我不需要42261只需要42218),但是我发现和其他教程比对的时候好像少了一部导入驱动的步骤?是第三步的时候就已经自动识别导入了吗?最后提示命令行固件校验失败tc@box:~$ rm -f rploader.sh&&wget https://gitee.com/gebi1/gebi1-redpill/raw/mast
er/rploader.sh&&sudo chmod 700 rploader.sh
Connecting to gitee.com (212.64.63.190:443)
saving to 'rploader.sh'
rploader.sh 100% |********************************| 78521 0:00:00 ETA
'rploader.sh' saved
tc@box:~$ ./rploader.sh fullupgrade now
Performing a full TCRP upgrade
Warning some of your local files will be moved to /home/tc/old/xxxx.2022-Jun-17-13-15
Updating custom_config.json
mv: cannot stat 'custom_config.json': No such file or directory
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 34102 0 34102 0 0 68754 0 --:--:-- --:--:-- --:--:-- 68754
Updating global_config.json
mv: cannot stat 'global_config.json': No such file or directory
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 5672 0 5672 0 0 14109 0 --:--:-- --:--:-- --:--:-- 14109
Updating modules.alias.3.json.gz
mv: cannot stat 'modules.alias.3.json.gz': No such file or directory
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 5591 0 5591 0 0 13603 0 --:--:-- --:--:-- --:--:-- 13603
Updating modules.alias.4.json.gz
mv: cannot stat 'modules.alias.4.json.gz': No such file or directory
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 89007 0 89007 0 0 127k 0 --:--:-- --:--:-- --:--:-- 127k
Updating rpext-index.json
mv: cannot stat 'rpext-index.json': No such file or directory
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 199k 0 199k 0 0 197k 0 --:--:-- 0:00:01 --:--:-- 340k
Updating user_config.json
mv: cannot stat 'user_config.json': No such file or directory
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 431 100 431 0 0 1187 0 --:--:-- --:--:-- --:--:-- 1187
Updating dtc
mv: cannot stat 'dtc': No such file or directory
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 146k 0 146k 0 0 177k 0 --:--:-- --:--:-- --:--:-- 177k
Updating rploader.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 78521 0 78521 0 0 116k 0 --:--:-- --:--:-- --:--:-- 116k
Updating ds1621p.dts
mv: cannot stat 'ds1621p.dts': No such file or directory
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 3026 0 3026 0 0 7221 0 --:--:-- --:--:-- --:--:-- 7221
Updating ds920p.dts
mv: cannot stat 'ds920p.dts': No such file or directory
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 2423 0 2423 0 0 6787 0 --:--:-- --:--:-- --:--:-- 6787
Please make sure you are using the latest 1GB img before using backup option
Current /home/tc size is 2.8M , try to keep it less than 1GB as it might not fit into your image
Should i update the sdc with your current files [Yy/Nn]
y
Backing up home files to sdc : Backing up files to /mnt/sdc3//mydata.tgz touch: cannot touch '/tmp/backup_done': Permission denied
Done.
tc@box:~$ ./rploader.sh build geminilake-7.0.1-42218
Rploader Version : 0.7.0.6
Loader source : https://gitee.com/gebi1/pocopico-redpill-load.git Loader Branch : develop
Redpill module source : https://gitee.com/gebi1/pocopico-redpill-lkm.git : Redpill module branch : master
Extensions : redpill-dtb
Extensions URL : "https://gitee.com/gebi1/pocopico-redpill-load/raw/master/redpill-dtb/rpext-index.json"
TOOLKIT_URL : https://sourceforge.net/projects ... .0.dev.txz/download
TOOLKIT_SHA : d349fa644392d4cfab8191243ee38aaa32bd517208c144678e0c855cb5a619ea
SYNOKERNEL_URL : https://sourceforge.net/projects ... -4.4.x.txz/download
SYNOKERNEL_SHA : af815ee065775d2e569fd7176e25c8ba7ee17a03361557975c8e5a4b64230c5b
COMPILE_METHOD : toolkit_dev
TARGET_PLATFORM : geminilake
TARGET_VERSION : 7.0.1
TARGET_REVISION : 42218
REDPILL_LKM_MAKE_TARGET : test-v7
KERNEL_MAJOR : 4
MODULE_ALIAS_FILE : modules.alias.4.json
SYNOMODEL : ds920p_42218
MODEL : DS920+
Local Cache Folder : /mnt/sdc3/auxfiles
Checking Internet Access -> OK
Checking if a newer version exists on the repo -> Version is current
Cloning into 'redpill-lkm'...
remote: Enumerating objects: 1248, done.
remote: Total 1248 (delta 0), reused 0 (delta 0), pack-reused 1248
Receiving objects: 100% (1248/1248), 476.52 KiB | 369.00 KiB/s, done.
Resolving deltas: 100% (862/862), done.
Cloning into 'redpill-load'...
remote: Enumerating objects: 1893, done.
remote: Counting objects: 100% (1893/1893), done.
remote: Compressing objects: 100% (939/939), done.
remote: Total 1893 (delta 949), reused 1679 (delta 824), pack-reused 0
Receiving objects: 100% (1893/1893), 28.47 MiB | 2.72 MiB/s, done.
Resolving deltas: 100% (949/949), done.
No extra build option specified, using default <static>
Using static compiled redpill extension
Removing any old redpill.ko modules
Looking for redpill for : ds920p_42218
Getting file https://gitee.com/gebi1/pocopico ... plus-geminilake.tgz
Extracting module
Got redpill-linux-v4.4.180+.ko
Testing modules.alias.4.json -> File OK
------------------------------------------------------------------------------------------------
It looks that you will need the following modules :
parse error: Expected another key-value pair at line 1246, column 3
Found VGA Controller : pciid 8086d00003185 Required Extension : i915
Searching for matching extension for i915
Found SATA Controller : pciid 8086d000031e3 Required Extension :
No matching extension
parse error: Expected another key-value pair at line 1246, column 3
Found Ethernet Interface : pciid 10ecd00008168 Required Extension : r8169
Searching for matching extension for r8169
------------------------------------------------------------------------------------------------
Starting loader creation
Found tinycore cache folder, linking to home/tc/custom-module
Checking user_config.json : Done
Entering redpill-load directory
Removing bundled exts directories
Cache directory OK
Want to use firmware files from /home/tc/custom-module/*.pat ? [yY/nN] :
Y
cp: cannot stat '/home/tc/custom-module/*42218*.pat': No such file or directory
Processing add_extensions entries found on custom_config.json file : redpill-dtb
Adding extension "https://gitee.com/gebi1/pocopico-redpill-load/raw/master/redpill-dtb/rpext-index.json"
[#] Checking runtime for required tools... [OK]
[#] Adding new extension from https://gitee.com/gebi1/pocopico ... rpext-index.json...
[#] Downloading remote file https://gitee.com/gebi1/pocopico ... tb/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json
######################################################################### 100.0%
[OK]
[#] ========================================== redpill-dtb ==========================================
[#] Extension name: Device tree binary
[#] Description: Create your own device tree binary
[#] To get help visit: https://gitee.com/gebi1/jumkey-r ... develop/redpill-dtb
[#] Extension preparer/packer: https://gitee.com/gebi1/jumkey-r ... develop/redpill-dtb
[#] Software author: https://gitee.com/gebi1/jumkey-r ... develop/redpill-dtb
[#] Update URL: https://gitee.com/gebi1/pocopico ... tb/rpext-index.json
[#] Platforms supported: ds1621p_42218 ds920p_42661 ds1621p_42661 ds2422p_42661 ds2422p_42218 ds920p_42218 ds920p_42621 ds920p_42550 ds2422p_42621 ds1621p_42621
[#] =======================================================================================
Updating extension : redpill-dtb contents for model : ds920p_42218
[#] Checking runtime for required tools... [OK]
[#] Updating ds920p_42218 platforms extensions...
[#] Downloading remote file https://gitee.com/gebi1/pocopico ... ipes/universal.json to /home/tc/redpill-load/custom/extensions/_ext_new_rcp.tmp_json
######################################################################### 100.0%
[#] Filling-in newly downloaded recipe for extension redpill-dtb platform ds920p_42218
[#] Downloading remote file https://gitee.com/gebi1/jumkey-r ... eases/install_rd.sh to /home/tc/redpill-load/custom/extensions/redpill-dtb/ds920p_42218/install_rd.sh
######################################################################### 100.0%
[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-dtb/ds920p_42218/install_rd.sh file... [OK]
[#] Downloading remote file https://gitee.com/gebi1/jumkey-r ... releases/install.sh to /home/tc/redpill-load/custom/extensions/redpill-dtb/ds920p_42218/install.sh
######################################################################### 100.0%
[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-dtb/ds920p_42218/install.sh file... [OK]
[#] Downloading remote file https://gitee.com/gebi1/jumkey-r ... es/model_ds920p.dtb to /home/tc/redpill-load/custom/extensions/redpill-dtb/ds920p_42218/model_ds920p.dtb
##O#- #
[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-dtb/ds920p_42218/model_ds920p.dtb file... [OK]
[#] Downloading remote file https://gitee.com/gebi1/jumkey-r ... s/model_ds1621p.dtb to /home/tc/redpill-load/custom/extensions/redpill-dtb/ds920p_42218/model_ds1621p.dtb
##O#- #
[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-dtb/ds920p_42218/model_ds1621p.dtb file... [OK]
[#] Downloading remote file https://gitee.com/gebi1/jumkey-r ... s/model_ds2422p.dtb to /home/tc/redpill-load/custom/extensions/redpill-dtb/ds920p_42218/model_ds2422p.dtb
##O#- #
[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-dtb/ds920p_42218/model_ds2422p.dtb file... [OK]
[#] Downloading remote file https://gitee.com/gebi1/jumkey-r ... ll-dtb/releases/dtc to /home/tc/redpill-load/custom/extensions/redpill-dtb/ds920p_42218/dtc
# #=O#- #
[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-dtb/ds920p_42218/dtc file... [OK]
[#] Successfully processed recipe for extension redpill-dtb platform ds920p_42218
[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-dtb/ds920p_42218/dtc file... [OK]
Protocol spec without prior Class and Subclass spec at line 23281
Downloading dtc binary
# #=O=# #
dts file for ds920p not found, trying to download
######################################################################### 100.0%
Found 2 disks and 4 nvme
Collecting disk paths
Found local disk sda with path 00:12.0, adding into internal_slot 1 with portnumber 0
Found local disk sdb with path 00:12.0, adding into internal_slot 2 with portnumber 1
Collecting nvme paths
Found local nvme nvme0n1 with path 00:13.0,00.0, adding into m2_card 1
device node not found
Found local nvme |-nvme0n1p1 with path , adding into m2_card 1
device node not found
Found local nvme |-nvme0n1p2 with path , adding into m2_card 1
device node not found
Found local nvme `-nvme0n1p3 with path , adding into m2_card 1
Your loader is not in USB, i will not try to patch dtb for USB
Converting dts file : ds920p.dts to dtb file : >ds920p.dtb
Error: ds920p.dts:1.1-2 syntax error
FATAL ERROR: Unable to parse input tree
Copying patched dtb file ds920p.dtb to /home/tc/redpill-load/custom/extensions/redpill-dtb/ds920p_42218/model_ds920p.dtb -> OK ! File copied and verified !
[#] Checking runtime for required tools... [OK]
[#] Updating extensions...
[#] Checking runtime for required tools... [OK]
[#] Adding new extension from https://gitee.com/gebi1/pocopico ... rpext-index.json...
[#] Downloading remote file https://gitee.com/gebi1/pocopico ... it/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json
##O#- #
[OK]
[#] ========================================== redpill-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://gitee.com/gebi1/redpill-boot-wait
[#] Extension preparer/packer: https://gitee.com/gebi1/pocopico ... n/redpill-boot-wait
[#] Update URL: https://gitee.com/gebi1/pocopico ... it/rpext-index.json
[#] Platforms supported: ds1621p_42218 ds918p_41890 dva3221_42661 ds3617xs_42621 ds3617xs_42218 ds920p_42661 ds918p_42661 ds1621p_42661 ds918p_25556 dva3221_42218 ds3615xs_42661 ds3622xsp_42661 ds2422p_42661 ds3622xsp_42218 ds2422p_42218 dva3221_42621 ds3615xs_41222 ds918p_42621 ds3617xs_42661 ds3615xs_25556 ds920p_42218 ds920p_42621 ds920p_42550 ds918p_42218 ds2422p_42621 ds1621p_42621 ds3615xs_42621 ds3615xs_42218 ds3622xsp_42621
[#] =======================================================================================
[#] Checking runtime for required tools... [OK]
[#] Updating redpill-boot-wait extension...
[#] Downloading remote file https://gitee.com/gebi1/pocopico ... it/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json
##O#- #
[#] Extension redpill-boot-wait index is already up to date
[#] Updating redpill-dtb extension...
[#] Downloading remote file https://gitee.com/gebi1/pocopico ... tb/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json
######################################################################### 100.0%
[#] Extension redpill-dtb index is already up to date
[#] Updating redpill-dtb extension... [OK]
[#] Checking runtime for required tools... [OK]
[#] Updating ds920p_42218 platforms extensions...
[#] Downloading remote file https://gitee.com/gebi1/redpill- ... ipes/universal.json to /home/tc/redpill-load/custom/extensions/_ext_new_rcp.tmp_json
######################################################################### 100.0%
[#] Filling-in newly downloaded recipe for extension redpill-boot-wait platform ds920p_42218
[#] Downloading remote file https://gitee.com/gebi1/redpill- ... er/src/boot-wait.sh to /home/tc/redpill-load/custom/extensions/redpill-boot-wait/ds920p_42218/boot-wait.sh
######################################################################### 100.0%
[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-boot-wait/ds920p_42218/boot-wait.sh file... [OK]
[#] Successfully processed recipe for extension redpill-boot-wait platform ds920p_42218
[#] Downloading remote file https://gitee.com/gebi1/pocopico ... ipes/universal.json to /home/tc/redpill-load/custom/extensions/_ext_new_rcp.tmp_json
######################################################################### 100.0%
[#] Extension redpill-dtb for ds920p_42218 platform is already up to date
[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-boot-wait/ds920p_42218/boot-wait.sh file... [OK]
[#] Updating extensions... [OK]
[#] PAT file /home/tc/redpill-load/cache/ds920p_42218.pat not found - downloading from https://cndl.synology.cn/downloa ... _DS920%2B_42218.pat
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 353M 100 353M 0 0 27.3M 0 0:00:12 0:00:12 --:--:-- 27.1M
[#] Verifying /home/tc/redpill-load/cache/ds920p_42218.pat file... [ERR]
[!] Checksum mismatch - expected 73053911bd118b432d5a2036dc62d518eed83b78b32c1eb23696d59725a14892 but computed fe2a4648f76adeb65c3230632503ea36bbac64ee88b459eb9bfb5f3b8c8cebb3
*** Process will exit ***
FAILED : Loader creation failed check the output for any errors
|