Skip to content

About the Compilation and Execution of linux.bin #120

Open
@figuresudo

Description

@figuresudo

We are currently following this tutorial (https://docs.xiangshan.cc/zh-cn/latest/tools/opensbi-kernel-for-xs/) and (https://docs.xiangshan.cc/zh-cn/latest/tools/linux-kernel-for-xs/) to compile linux.bin. However, when using the emu_defconfig configuration, the output's scale is about ten times larger compared to the linux.bin available in the ready-to-run repository(https://github.com/OpenXiangShan/ready-to-run). Specifically, by the time it reaches the paging init instruction, the instruction count has already exceeded tens of millions.

Could you please advise if this behavior is expected or if there might be an issue with our configuration?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions