Skip to content

Commit

Permalink
Update README.adoc
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
guoren83 authored Dec 4, 2024
1 parent df79405 commit a03ab91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a03ab91

Please sign in to comment.