From f91f0b2fdd79d5846a07e6c7f102b28d82a681ec Mon Sep 17 00:00:00 2001 From: jchzhou Date: Tue, 23 Sep 2025 11:37:26 +0800 Subject: [PATCH] RISC-V: Update boot cmdline parameters: - Drop quiet - Block efi_rtc_driver_init as a workaround for incorrect system time issues Signed-off-by: jchzhou zhoujiacheng@iscas.ac.cn Signed-off-by: ouuleilei wangliu@iscas.ac.cn --- 0001-add-basic-riscv64-support.patch | 2 +- CreateImage.spec | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/0001-add-basic-riscv64-support.patch b/0001-add-basic-riscv64-support.patch index 30990cb..97dab66 100644 --- a/0001-add-basic-riscv64-support.patch +++ b/0001-add-basic-riscv64-support.patch @@ -45,7 +45,7 @@ index b0f81f5..b24b6a4 100755 + echo 'GRUB_DEFAULT=saved' >> /etc/default/grub + echo 'GRUB_DISABLE_SUBMENU=true' >> /etc/default/grub + echo 'GRUB_TERMINAL_OUTPUT="console"' >> /etc/default/grub -+ echo 'GRUB_CMDLINE_LINUX="console=ttyS0 highres=off earlycon no4lvl systemd.default_timeout_start_sec=600 rootfstype=ext4 nomodeset quiet net.ifnames=0 biosdevname=0 nmi_watchdog=1 rd.shell=0 selinux=0 crashkernel=256M reserve_kbox_mem=16M crash_kexec_post_notifiers panic=3 no-steal-time use-sched-idle-time"' >> /etc/default/grub ++ echo 'GRUB_CMDLINE_LINUX="console=ttyS0 highres=off earlycon no4lvl systemd.default_timeout_start_sec=600 rootfstype=ext4 nomodeset net.ifnames=0 biosdevname=0 nmi_watchdog=1 rd.shell=0 selinux=0 crashkernel=256M reserve_kbox_mem=16M crash_kexec_post_notifiers panic=3 no-steal-time use-sched-idle-time initcall_blacklist=efi_rtc_driver_init"' >> /etc/default/grub + echo 'GRUB_DISABLE_RECOVERY="true"' >>/etc/default/grub + + echo "cat <> /etc/grub.d/00_header diff --git a/CreateImage.spec b/CreateImage.spec index d158441..713b628 100755 --- a/CreateImage.spec +++ b/CreateImage.spec @@ -1,6 +1,6 @@ Name: CreateImage Version: 1.0.0 -Release: 7 +Release: 8 Summary: The tool to create Machine Image Group: System Environment/Base License: Mulan PSL v2 @@ -48,6 +48,11 @@ cp -a lib hooks config %{buildroot}/usr/share/CreateImage /usr/share/CreateImage %changelog +* Tue Sep 23 2025 jchzhou - 1.0.0-8 +- ID:NA +- SUG:NA +- DESC: Update riscv64 boot cmdline parameters: drop quiet, block efi_rtc_driver_init + * Mon May 27 2024 jchzhou - 1.0.0-7 - ID:NA - SUG:NA -- Gitee