Repository navigation
feat(nutshell): build linux images with nutshell_defconfig - #77
Merged
Merged
Conversation
poemonsense
reviewed
Sep 20, 2026
| @@ -1,3 +1,4 @@ | |||
| # XiangShan/NEMU. NutShell uses nutshell_defconfig. | |||
Member
There was a problem hiding this comment.
We should rename this file to xiangshan_defconfig and add nutshell_defconfig
Rename nemu_defconfig to xiangshan_defconfig. DEFAULT_DTB=nutshell or nutshell-* selects nutshell_defconfig (RV64IMAC/lp64); other names keep xiangshan_defconfig. A stamp records which defconfig last configured the Buildroot tree so switching rebuilds the SDK. Bootlin only ships lp64d, so the NutShell config builds gcc inside Buildroot and a linux.config fragment turns off FPU, V, and KVM. SPEC2006 follows the same DEFAULT_DTB switch and defaults to riscv_gcc16_rv64imac_lp64.cfg.
good-circle
force-pushed
the
circle-patch3
branch
from
September 21, 2026 08:32
725d1c0 to
03a3d36
Compare
poemonsense
approved these changes
Sep 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DEFAULT_DTB=nutshell or nutshell-* now selects nutshell_defconfig (RV64IMAC/lp64) in the same build/buildroot tree as XiangShan's nemu_defconfig. A stamp records which defconfig last configured that tree so switching rebuilds the SDK. Bootlin only ships lp64d, so the NutShell config builds gcc inside Buildroot and a linux.config fragment turns off FPU, V, and KVM.
SPEC2006 follows the same DEFAULT_DTB switch and defaults to riscv_gcc16_rv64imac_lp64.cfg.