Giter VIP home page Giter VIP logo

Comments (6)

maye459453500 avatar maye459453500 commented on May 27, 2024

我也遇到这个问题,可以删除或者注释掉 "extensions": [] 这一行,我删除后可以正常编译了,删除掉以后也是默认打包所有驱动

from redpill-tool-chain.

tossp avatar tossp commented on May 27, 2024

昨天补了 github actions 在里面做了全平台验证,都是成功了的

嗯,看着像jq的语法bug,json没有注释,可以删除

json文件末尾最后试着给一个空行

from redpill-tool-chain.

lukemin avatar lukemin commented on May 27, 2024

昨天补了 github actions 在里面做了全平台验证,都是成功了的

嗯,看着像jq的语法bug,json没有注释,可以删除

json文件末尾最后试着给一个空行

在bromolow_user_config.json最后加了一个空行可以继续编译了,但是又出现下面的错误。

[#] Extension pocopico.r8168 for ds3615xs_42218 platform is already up to date
[#] 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%
[#] Extension thethorgroup.boot-wait for ds3615xs_42218 platform is already up to date
[#] Downloading remote file https://github.com/RedPill-TTG/redpill-virtio/raw/master/recipes/ds3615xs_41222.json to /opt/redpill-load/custom/extensions/_ext_new_rcp.tmp_json
######################################################################## 100.0%
[#] Extension thethorgroup.virtio for ds3615xs_42218 platform is already up to date
[#] Updating ds3615xs_42218 platforms extensions... [OK]
[#] Updating extensions... [OK]
[#] Verifying /opt/redpill-load/cache/ds3615xs_42218.pat file... [ERR]
[!] Checksum mismatch - expected 0813a94cabecb760fd419dc6415ef993d6cd439f8b4e4492c55aab52b2314d9a but computed 5e4c38c2ffbfd7a14d611035bf2d15b0c36e6814b77e6d28af1f5127eb172a14

*** Process will exit ***
Makefile:29: recipe for target 'build_redpill_load' failed
make: *** [build_redpill_load] Error 1

手动替换ds3615xs_42218.pat文件,编译成功。

from redpill-tool-chain.

iparanoid avatar iparanoid commented on May 27, 2024

*** Process will exit ***

昨天补了 github actions 在里面做了全平台验证,都是成功了的
嗯,看着像jq的语法bug,json没有注释,可以删除
json文件末尾最后试着给一个空行

在bromolow_user_config.json最后加了一个空行可以继续编译了,但是又出现下面的错误。

[#] Extension pocopico.r8168 for ds3615xs_42218 platform is already up to date [#] 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% [#] Extension thethorgroup.boot-wait for ds3615xs_42218 platform is already up to date [#] Downloading remote file https://github.com/RedPill-TTG/redpill-virtio/raw/master/recipes/ds3615xs_41222.json to /opt/redpill-load/custom/extensions/_ext_new_rcp.tmp_json ######################################################################## 100.0% [#] Extension thethorgroup.virtio for ds3615xs_42218 platform is already up to date [#] Updating ds3615xs_42218 platforms extensions... [OK] [#] Updating extensions... [OK] [#] Verifying /opt/redpill-load/cache/ds3615xs_42218.pat file... [ERR] [!] Checksum mismatch - expected 0813a94cabecb760fd419dc6415ef993d6cd439f8b4e4492c55aab52b2314d9a but computed 5e4c38c2ffbfd7a14d611035bf2d15b0c36e6814b77e6d28af1f5127eb172a14

*** Process will exit *** Makefile:29: recipe for target 'build_redpill_load' failed make: *** [build_redpill_load] Error 1

手动替换ds3615xs_42218.pat文件,编译成功。

同样卡在此处
[#] Verifying /opt/redpill-load/cache/ds3615xs_42218.pat file... [ERR]
[!] Checksum mismatch - expected 0813a94cabecb760fd419dc6415ef993d6cd439f8b4e4492c55aab52b2314d9a but computed dddd26891815ddca02d0d53c1d42e8b39058b398a4cc7b49b80c99f851cf0ef7

*** Process will exit ***

请问「手动替换ds3615xs_42218.pat文件」是指 替换 redpill-tool-chain/cache/ 下面的文件么?
我在群晖官网下载替换后还会卡顿

from redpill-tool-chain.

tossp avatar tossp commented on May 27, 2024

#12

from redpill-tool-chain.

hncsjmj avatar hncsjmj commented on May 27, 2024

root@ubuntu-867007:~/dsm# ./redpill_tool_chain.sh build ds918p_user_config.json
Error: Platform version ds918p_user_config.json not specified in global_config.json

Usage: ./redpill_tool_chain.sh

Actions: build, auto, run, clean, add, del, sn, pat

  • 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'

  • sn: Generates a serial number and mac address for the following platforms
    DS3615xs DS3617xs DS916+ DS918+ DS920+ DS3622xs+ FS6400 DVA3219 DVA3221 DS1621+
    eg: sn ds920p

  • pat: For decoding PAT file. see: https://github.com/tossp/redpill-tool-chain/blob/master/.github/workflows/pat.yml

Available platform versions:

ds1621p-7.0.1-42218
ds1621p-7.1.0-42661
ds2422p-7.0.1-42218
ds3615xs-6.2.4-25556
ds3615xs-7.0.1-42218
ds3615xs-7.1.0-42661
ds3617xs-7.0.1-42218
ds3617xs-7.1.0-42661
ds3622xsp-7.0.1-42218
ds3622xsp-7.1.0-42661
ds918p-6.2.4-25556
ds918p-7.0.1-42218
ds918p-7.1.0-42661
ds920p-7.0.1-42218
ds920p-7.1.0-42661
dva3221-7.0.1-42218
dva3221-7.1.0-42661

Custom Extensions:

pocopico.aic94xx
pocopico.arcmsr
pocopico.e1000
pocopico.e1000e
pocopico.igb
pocopico.ixgbe
pocopico.mpt3sas
pocopico.mvsas
pocopico.r8125
pocopico.r8152
pocopico.r8168
pocopico.r8169
pocopico.redpill
pocopico.redpilldev
pocopico.sata_nv
pocopico.sky2
pocopico.vmxnet3
redpill-acpid
redpill-boot-wait
redpill-dtb-static

Check global_settings.json for settings.
root@ubuntu-867007:~/dsm#

我的报这个错,头疼死了, arm 版的 ubuntu 编译,无法安装 libsdl2-mixer

from redpill-tool-chain.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.