pocopico / tinycore-redpill

GNU General Public License v3.0
2.14k stars 631 forks source link

fix checksum mismatch ds920+ #109

Open dklabvn opened 2 years ago

dklabvn commented 2 years ago

error build, pls fix!

image

pocopico commented 2 years ago

Which branch are you using ? can you please share the whole build log ?

covein commented 2 years ago

Which branch are you using ? can you please share the whole build log ?

This the error log from my implementation.

tc@box:~$ ./rploader.sh build geminilake-7.0.1-42218
Rploader Version : 0.8.0.3
Loader source : https://github.com/pocopico/redpill-load.git Loader Branch : develop
Redpill module source : https://github.com/pocopico/redpill-lkm.git : Redpill module branch : master
Extensions :   redpill-dtb-static
Extensions URL : "https://github.com/pocopico/rp-ext/raw/main/redpill-dtb-static/rpext-index.json"
TOOLKIT_URL : https://sourceforge.net/projects/dsgpl/files/toolkit/DSM7.0/ds.apollolake-7.0.dev.txz/download
TOOLKIT_SHA : d349fa644392d4cfab8191243ee38aaa32bd517208c144678e0c855cb5a619ea
SYNOKERNEL_URL : https://sourceforge.net/projects/dsgpl/files/Synology%20NAS%20GPL%20Source/25426branch/apollolake-source/linux-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/sda3/auxfiles
DATE Internet : 21072022 Local : 21072022
Checking Internet Access -> OK
Checking if a newer version exists on the main repo -> Version is current
Redpill sources already downloaded, pulling latest
Already up to date.
Loader sources already downloaded, pulling latest
Already up to date.
No extra build option or static specified, using default <static>
Using static compiled redpill extension
Removing any old redpill.ko modules
Looking for redpill for : ds920p_42218
Getting file https://raw.githubusercontent.com/pocopico/rp-ext/master/redpill/releases/redpill-4.4.180plus-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 :

Found VGA Controller : pciid 8086d00003185  Required Extension : i915
Searching for matching extension for i915
Found SATA Controller : pciid 8086d000031e3  Required Extension :
No matching extension
Found SATA Controller : pciid 197bd00000585  Required Extension :
No matching extension
Found Ethernet Interface : pciid 10ecd00008125 Required Extension :
No matching extension
Found Ethernet Interface : pciid 10ecd00008125 Required Extension :
No matching extension
Found SATA Controller : pciid 1b21d00000612  Required Extension : ahci
Searching for matching extension for ahci
------------------------------------------------------------------------------------------------
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
Removing : redpill-boot-wait
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-static
Adding extension "https://github.com/pocopico/rp-ext/raw/main/redpill-dtb-static/rpext-index.json"
[#] Checking runtime for required tools... [OK]
[#] Adding new extension from https://github.com/pocopico/rp-ext/raw/main/redpill-dtb-static/rpext-index.json...
[#] Downloading remote file https://github.com/pocopico/rp-ext/raw/main/redpill-dtb-static/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json
########################################################################################################################################### 100.0%

[!] Extension is already added (index exists at /home/tc/redpill-load/custom/extensions/redpill-dtb-static/redpill-dtb-static.json). For more info use "ext-manager.sh info redpill-dtb-static"

*** Process will exit ***
Updating extension : redpill-dtb-static contents for model : ds920p_42218
[#] Checking runtime for required tools... [OK]
[#] Updating ds920p_42218 platforms extensions...
[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/redpill-dtb-static/recipes/universal.json to /home/tc/redpill-load/custom/extensions/_ext_new_rcp.tmp_json
########################################################################################################################################### 100.0%

[#] Extension redpill-dtb-static for ds920p_42218 platform is already up to date
[#] Updating ds920p_42218 platforms extensions...  [OK]
Protocol spec without prior Class and Subclass spec at line 23281
Downloading dtc binary
########################################################################################################################################### 100.0%
No cached dtb file found in /home/tc/custom-module/ds920p.dtb
Found 0 disks and 0 nvme
Collecting disk paths
NO NVME disks found, returning
Patching USB to include your loader. Loader found in 1-3 port
Converting dts file : ds920p.dts to dtb file : >ds920p.dtb
Copying patched dtb file ds920p.dtb to /home/tc/redpill-load/custom/extensions/redpill-dtb-static/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://github.com/pocopico/rp-ext/raw/main/redpill-boot-wait/rpext-index.json...
[#] Downloading remote file https://github.com/pocopico/rp-ext/raw/main/redpill-boot-wait/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json
########################################################################################################################################### 100.0%
[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://github.com/pocopico/rp-ext/redpill-boot-wait
[#] Extension preparer/packer: https://github.com/pocopico/rp-ext/tree/main/redpill-boot-wait
[#] Update URL: https://raw.githubusercontent.com/pocopico/rp-ext/master/redpill-boot-wait/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 dva1622_42661 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://raw.githubusercontent.com/pocopico/rp-ext/master/redpill-boot-wait/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json
########################################################################################################################################### 100.0%

[#] Extension redpill-boot-wait index is already up to date
[#] Updating redpill-dtb-static extension...
[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/redpill-dtb-static/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json
########################################################################################################################################### 100.0%

[#] Extension redpill-dtb-static index is already up to date
[#] Updating redpill-dtb-static extension... [OK]
[#] Checking runtime for required tools... [OK]
[#] Updating ds920p_42218 platforms extensions...
[#] Downloading remote file https://github.com/RedPill-TTG/redpill-boot-wait/raw/master/recipes/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://raw.githubusercontent.com/RedPill-TTG/redpill-boot-wait/master/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://raw.githubusercontent.com/pocopico/rp-ext/master/redpill-dtb-static/recipes/universal.json to /home/tc/redpill-load/custom/extensions/_ext_new_rcp.tmp_json
########################################################################################################################################### 100.0%
[#] Extension redpill-dtb-static 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]
[#] Verifying /home/tc/redpill-load/cache/ds920p_42218.pat file... [OK]
[#] Unpacking /home/tc/redpill-load/cache/ds920p_42218.pat file to /home/tc/redpill-load/build/1658419412/pat-ds920p_42218-unpacked... [OK]
[#] Verifying /home/tc/redpill-load/build/1658419412/pat-ds920p_42218-unpacked/zImage file... [ERR]
[!] Checksum mismatch - expected 74d513aaa3e30d8aa4f80e202d94a68a552e9c0472f8470e133ad29080556f55 but computed 346b68f662b50f47d3ee6c2bc9de6302e4b60436142c24ee88b620c7afd1ba06

*** Process will exit ***
FAILED : Loader creation failed check the output for any errors
tc@box:~$