riscv: defconfig: Enable CONFIG_RTC_DRV_EFI config#327
Conversation
riscv inclusion category: config bugzilla: RVCK-Project#326 ------------------------ Turn on CONFIG_RTC_DRV_EFI to support system time access via the UEFI Runtime Services interface on RISC-V platforms: - CONFIG_RTC_DRV_EFI=y This option aligns with the approach used in the arm64 defconfig. Signed-off-by: hu.yuye<hu.yuye@zte.com.cn> Signed-off-by: liuqingtao <liu.qingtao2@zte.com.cn>
|
开始测试 log: https://github.com/RVCK-Project/rvck/actions/runs/28873451104 参数解析结果
测试完成 详细结果:
Kunit Test Result[14:24:31] Testing complete. Ran 482 tests: passed: 465, skipped: 17
Kernel Build Result
Check Patch Result
LAVA Check (qemu)
result: Lava check done!
|
|
你们有在 QEMU 上做过测试吗?能否指导一下 QEMU 上如何测试?谢谢 |
开启该选项,可以通过dmesg | grep -i rtc观察rtc相关信息 安装hwclock,可以获取rtc时间。 |
请教一下你在qemu 上是如何启用 UEFI 的?否则默认启动的 rtc 是 goldfish |
|
这个可以在欧拉sp3的发版,uefi方式启动中,验证。 https://dl-cdn.openeuler.openatom.cn/openEuler-24.03-LTS-SP3/virtual_machine_img/riscv64/ 在start_vm_RVA23.sh脚本中,指定了uefi方式启动的固件。发版内核中也已经开启了CONFIG_RTC_DRV_EFI。 以下是信息: [root@localhost ~]# dmesg | grep rtc [root@localhost ~]# hwclock [root@localhost ~]# cat /boot/config-6.6.0-138.0.0.121.oe2403sp3.riscv64 | grep RTC_DRV_EFI |
fixed: #326
riscv: defconfig: Enable CONFIG_RTC_DRV_EFI config
riscv inclusion
category: config
bugzilla: #326
Turn on CONFIG_RTC_DRV_EFI to support system time access via the UEFI
Runtime Services interface on RISC-V platforms:
This option aligns with the approach used in the arm64 defconfig.