danpengapple 发表于 2022-6-14 11:23:21

怎么编译新的引导,我编后只能是ds918+ 7.0.1-42218

本帖最后由 danpengapple 于 2022-6-14 11:24 编辑

4、清理7.0.1编译环境

[*]./rploader.sh clean now

复制代码

5、编译7.1.0

[*]./rploader.sh build bromolow-7.1.0-42661

复制代码
这个这两步还是一样,就是ds918+ 7.0.1-42218,是那里错了吗

zhongzk 发表于 2022-6-14 11:59:07

贴编译日志看看。

danpengapple 发表于 2022-6-14 15:54:05

tc@box:~$./rploader.sh build apollolake-7.1.0-42661
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/redpill-lkm.git : Redpill module      branch : master
Extensions :   redpill-misc
Extensions URL : "https://gitee.com/gebi1/pocopico-redpill-load/raw/master/redpi   ll-misc/rpext-index.json"
TOOLKIT_URL : https://sourceforge.net/projects/dsgpl/files/toolkit/DSM7.0/ds.apo   llolake-7.0.dev.txz/download
TOOLKIT_SHA : d349fa644392d4cfab8191243ee38aaa32bd517208c144678e0c855cb5a619ea
SYNOKERNEL_URL : https://sourceforge.net/projects/dsgpl/files/Synology%20NAS%20G   PL%20Source/25426branch/apollolake-source/linux-4.4.x.txz/download
SYNOKERNEL_SHA : af815ee065775d2e569fd7176e25c8ba7ee17a03361557975c8e5a4b64230c5   b
COMPILE_METHOD : toolkit_dev
TARGET_PLATFORM       : apollolake
TARGET_VERSION    : 7.1.0
TARGET_REVISION : 42661
REDPILL_LKM_MAKE_TARGET : test-v7
KERNEL_MAJOR : 4
MODULE_ALIAS_FILE :modules.alias.4.json
SYNOMODEL : ds918p_42661
MODEL : DS918+
Local Cache Folder : /mnt/sdb3/auxfiles
Checking Internet Access -> OK
Checking if a newer version exists on the repo -> Version is current
Cloning into 'redpill-lkm'...
remote: Enumerating objects: 1051, done.
remote: Total 1051 (delta 0), reused 0 (delta 0), pack-reused 1051
Receiving objects: 100% (1051/1051), 449.04 KiB | 64.00 KiB/s, done.
Resolving deltas: 100% (724/724), 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 948), reused 1679 (delta 824), pack-reused 0
Receiving objects: 100% (1893/1893), 28.47 MiB | 111.00 KiB/s, done.
Resolving deltas: 100% (948/948), done.
No extra build option specified, using default <static>
Using static compiled redpill extension
Removing any old redpill.ko modules
Looking for redpill for : ds918p_42661
Getting file https://gitee.com/gebi1/pocopico-rp-ext/raw/main/redpill/releases/redpill-4.4.180plus.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 8086d00009bc8Required Extension :
No matching extension
Found SATA Controller : pciid 8086d0000a382Required 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
Found build request for revision greater than 42218
Found extractor locally cached
Copying required libraries to local lib directory
Linking lib to lib64
Copying executable
Removing temp folder /tmp/synoesp
Checking if tool is accessible
/bin/syno_extract_system_patch: /usr/local/lib/libcurl.so.4: no version information available (required by /bin/syno_extract_system_patch)
Executed succesfully
Creating temp folder /tmp/pat
Checking for cached pat file
Found tinycore cache folder, linking to home/tc/custom-module
Found locally cached pat file /home/tc/custom-module/ds918p_42661.pat
Could not determine if file /home/tc/custom-module/ds918p_42661.pat is encrypted or not, maybe corrupted
-rwxrwxrwx 1 root root 3322 Jun 14 00:30 /home/tc/custom-module/ds918p_42661.pat
041
tc@box:~$ tc@box:~$./rploader.sh build apollolake-7.1.0-42661

danpengapple 发表于 2022-6-14 15:54:56

帮我看看是怎么一回事

mxj666 发表于 2022-6-14 16:31:57

想编译别的命令里面的bromolow这个要改成相对应的模型才行,仔细看看教程里有说明

mxj666 发表于 2022-6-14 16:33:37

041错误是对应的路劲位置缺少相应文件
/home/tc/custom-module/ds918p_42661.pat

danpengapple 发表于 2022-6-14 16:36:12

ds918+      这命令应该没错才对,./rploader.sh build apollolake-7.0.1-42218,,你说的bromolow应该是DS3615xs才对

danpengapple 发表于 2022-6-14 16:53:28

才4k肯定是不正常的,就是不知道那时错了

zhongzk 发表于 2022-6-14 16:55:13

用winscp进入/home/tc/custom-module/下删除里面的pat文件。或者在windows删除这个文件应该在u盘引导盘的第三个分区的auxfiles文件夹里的pat文件。再编译试试。PS:gebi的rploader.sh版本没有更新到和pocopico的一致,他的gitee库好像也没有同步github。所以不知道会遇到什么问题。推荐网络满足的情况下直接用pocopico的TCRP编译,或者用tossp的在线github编译。

danpengapple 发表于 2022-6-14 17:01:11

好的,我试试看

danpengapple 发表于 2022-6-15 16:57:34

在线编译可以,如果要自己加驱动不知道怎么添加

zhongzk 发表于 2022-6-17 11:04:57

在test.yml里80行左右,自己对应添加需要的驱动或者扩展

danpengapple 发表于 2022-6-17 15:03:00

谢谢,明白了
页: [1]
查看完整版本: 怎么编译新的引导,我编后只能是ds918+ 7.0.1-42218