From 1070864e013c1c014f7e4203489fc663d5c3d39e Mon Sep 17 00:00:00 2001 From: Mark Zhuang Date: Tue, 3 Feb 2026 22:22:34 +0800 Subject: [PATCH] [SYSINFO] Support model name RISC-V use model name --- src/os/sysinfo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/os/sysinfo.c b/src/os/sysinfo.c index ebe6a077d0..e693ddf934 100644 --- a/src/os/sysinfo.c +++ b/src/os/sysinfo.c @@ -48,7 +48,8 @@ static void readCpuinfo(sysinfo_t* info) info->read_frequency = 1; } } - } else if (info->ncpu <= 1 && strstr(line, "Model Name") != NULL) { // TODO: big.LITTLE handling? + } else if (info->ncpu <= 1 && (strstr(line, "Model Name") != NULL || strstr(line, "model name") != NULL)) { + // TODO: big.LITTLE handling? char* colon = strchr(line, ':'); if (colon != NULL) { char* start = colon + 1;