aarch64-qemu-virt:启动卡死问题 #11
Unanswered
alvinsun039
asked this question in
Q&A
Replies: 3 comments 1 reply
-
|
请提供一下一个可复现版本,可以推在 github 上的某个分支。 推测可能是因为 Rustc 工具链版本过新导致链接行为发生改变,需要进一步确定。 |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
在 starryos branch main commit a8c556585303447a7a3470d2578635ceb00ffe8e 已经可以正常启动 make ARCH=aarch64 build
make img ARCH=aarch64
make run ARCH=aarch64
|
Beta Was this translation helpful? Give feedback.
0 replies
-
|
应该和 arceos-org/axplat_crates#25 是一样的问题,修复在 arceos-org/axplat_crates#26 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
问题复现:
qemu没有任何输出,卡死在内核初始化接阶段?
主机环境信息:
** 因为本地cargo版本与ax-plat不匹配,对源码做了些修改以使用最新的rust工具链:
gdb调试问题
objdump分析可执行文件:
_start作为entry,应该链接在_start_primary之前?!
临时解决方案:
修改axplat-aarch64-qemu-virt:
修改arceos/modules/axhal/linker.lds.S:
Beta Was this translation helpful? Give feedback.
All reactions