aarch64-virt-rt 0.1.0 —— 第二块板 - #242
Merged
Merged
Conversation
板级包模型此前只被一块板验证过。这一块变两件事:不同 ISA + 零 libc 层。
⭐ 由两个构建程序自己的缓存记录实测,两块板发出的指令集合相同:
riscv-virt-rt ldflag runner
aarch64-virt-rt ldflag runner
C 库体现为 ldflag 的值不同,而不是多一条指令 ⇒ 板级包与 C 库提供者是可分离
的角色,而板级包的接口是完整的。
deps 只写模拟器:这块板引用不到任何 C 库符号,没有东西要装。
xim:picolibc-aarch64 存在,要它的工程自己声明 —— 那是工程的选择。
CN 端已回探核验,与 GLOBAL 逐字节一致。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
板级包模型此前只被一块板验证过,而一个只被一块板验证的模型,分不清它是对的还是它恰好合那块板 —— 与 openarch 在两台 RISC 机器上的处境同形。
riscv-virt-rt固定了三件事:ISA、有 C 库、模拟器板。同 ISA 的第二块板只变第三件,证据最弱。所以这一块变两件:不同 ISA + 零 libc 层。⭐ 结论
由两个构建程序自己的缓存记录实测(
d <tag>行是引擎记下的「发出过什么」,不是读源码):同样两条指令。 C 库体现为
ldflag的值不同:⇒ 「板级包」与「C 库提供者」是可分离的角色,而板级包的接口是完整的。
deps只写模拟器这块板引用不到任何 C 库符号,没有东西要装。
xim:picolibc-aarch64存在,要它的工程自己声明 —— 那是工程的选择,写在这里就成了板子替工程决定。模拟器仍然要写:别的东西也不装它,而一个能解析却跑不起来的板子,正是
mcpp run报「no runner is configured」的那种失败。CN 端已回探核验,与 GLOBAL 逐字节一致。