/ 详情

Can we provide a relative new kernel version to support RISC-V

Done
Requirement
Opened this issue  
2020-06-03 19:44

The OpenEuler has founded the RISC-V SIG to support RISC-V. Since linux kernel 5.2 can support RISC-V well. Can we work out a solution for supporting RISC-V?

A possible solution is:

  1. Create a branch to store an relative new version (> 5.4) of kernel.
  2. Create a config file in arch/riscv64/openEuler_defconfig like arch/riscv64/openEuler_defconfig
Attachments

Comments (6)

Hey @whoisxxx , Welcome to openEuler Community.
All of the projects in openEuler Community are maintained by @openeuler-ci-bot .
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md to find the details.

whoisxxx created需求
whoisxxx set related repository to openEuler/kernel
XieXiuQi changed issue state from 新建 to 待办的
XieXiuQi set assignee to YangYingliang
XieXiuQi assigned collaborator XieXiuQi
展开全部操作日志

As discussion before, we could create a branch to support risc-v only. But limit the usage of this branch (might be 5.5), and it'll be upgrate a new kernel version in openEuler 21.03.

About the config, you'd better provide a arch/riscv64/openeuler_defconfig as the baseline.

I'll create a new issue to disscuss the config.

XieXiuQi added
 
kind/feature
label

As discussion before, we could create a branch to support risc-v only. But limit the usage of this branch (might be 5.5), and it'll be upgrate a new kernel version in openEuler 21.03.

@XieXiuQi yes, I agree with you.

About the config, you'd better provide a arch/riscv64/openeuler_defconfig as the baseline.
I'll create a new issue to disscuss the config.

I have tried to compile linux 5.4.32 RISC-V Image using the openeuler_defconfig of linux 4.19. I successfully generates kernel Image but fails to boot up the openEuler-RISC-V system with the kernel Image.
As the default arch/riscv/config/defconfig works well for openEuler-RISC-V and meets the requirement of bootstrap stage of openEuler RISC-V. Maybe we can use the default arch/riscv/defconfig at first and disscuss in the future.

kernel 5.5 branch has been created.

I'll close this issue. If you want to disscuss the config file, you'd better create new issue.

XieXiuQi changed issue state from 待办的 to 已完成

Sign in to comment

状态
Assignees
Projects
Milestones
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
Branches
Planed to start   -   Planed to end
-
Top level
Priority
Duration (hours)
确定
参与者(3)
5329419 openeuler ci bot 1578984659