Skip to content

so3: state the architecture in the boot banner - #306

Merged
daniel-rossier merged 1 commit into
mainfrom
feat/banner-arch
Jul 17, 2026
Merged

so3: state the architecture in the boot banner#306
daniel-rossier merged 1 commit into
mainfrom
feat/banner-arch

Conversation

@daniel-rossier

Copy link
Copy Markdown
Contributor

Why

********** Smart Object Oriented SO3 Operating System **********
Copyright (c) 2014-2026 REDS Institute, HEIG-VD, Yverdon
Version 6.2.3

The same platform can be built either way, and on a Raspberry Pi 4 the 32- and the 64-bit chains differ only by which kernel*.img the firmware picks up. Nothing on the console told you which one had actually booted — which is exactly the kind of thing you want to read off the log rather than infer.

What

Version 6.2.3 (arm64)

Uses CONFIG_ARCH — the string Kconfig already defines (#define CONFIG_ARCH "arm64") — so it needs no maintenance when an architecture is added, and it is a compile-time constant, so the banner stays a plain macro.

Test

Booted on real hardware (RPi 4 Model B), both chains:

  • 32-bit → Version 6.2.3 (arm32)
  • 64-bit → Version 6.2.3 (arm64)

Version 6.2.3

becomes

Version 6.2.3 (arm64)

The same platform can be built either way, and on a Raspberry Pi 4 the 32- and
the 64-bit chains differ only by which kernel*.img the firmware picks up — so
nothing on the console told you which one had actually booted. Print
CONFIG_ARCH, the string Kconfig already defines, so this needs no maintenance
when an architecture is added.
@daniel-rossier
daniel-rossier merged commit 9d03f0a into main Jul 17, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant