From a03ab91019e1a581ccbb016211818474936760f7 Mon Sep 17 00:00:00 2001 From: Guo Ren Date: Wed, 4 Dec 2024 14:14:40 +0800 Subject: [PATCH] Update README.adoc Change boot hartid from -1 to 0. Hardware must contain the core 0. Because 5.10 only supports mhartid=0 boot, so unify the boot hart id. --- README.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.adoc b/README.adoc index c0daa6a..32a024b 100644 --- a/README.adoc +++ b/README.adoc @@ -307,7 +307,7 @@ set *(unsigned long *)($dyninfo_addr + 8) = 2 set *(unsigned long *)($dyninfo_addr + 16) = $vmlinux_addr set *(unsigned long *)($dyninfo_addr + 24) = 1 set *(unsigned long *)($dyninfo_addr + 32) = 0 -set *(unsigned long *)($dyninfo_addr + 40) = -1 +set *(unsigned long *)($dyninfo_addr + 40) = 0 # Set boot flag for CPU functional setting # This flag.BIT[0] makes zsb enable RV64XT32 by setting mxstatus.[63]=1