Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

hardware.sg2k

Declared in BadgeOS/modules/sg2k/options.nix, BadgeOS/modules/sg2k/firmware.nix.

hardware.sg2k.enable

Whether to enable SG200x board support.

Type: boolean

Default:

false

Example:

true

Declared by:

hardware.sg2k.board

The board this system runs on.

Type: one of “nix-badge”, “licheerv-nano”

Default:

"nix-badge"

Declared by:

hardware.sg2k.cores

The cores the board can boot.

Type: list of (one of “arm”, “riscv”)

Default:

[ ]

Declared by:

hardware.sg2k.fitKeyCert

PEM certificate of the sg1-image key, which signs the generation image and which the secure U-Boot trusts. Required with secureBoot. When set it is also the RAUC keyring.

Type: null or absolute path

Default:

null

Declared by:

hardware.sg2k.secureBoot

Boot through the verified-boot chain: the secure U-Boot in the fip (signed FITs only, trusting hardware.sg2k.fitKeyCert) and a generation image and slot vbmeta images signed with the sg1-image key. Implies hardware.sg2k.firmware.secureBoot. The signing needs the autopen daemon socket at build time.

Type: boolean

Default:

false

Declared by:

hardware.sg2k.soc

The SoC on the board.

Type: one of “sg2000”, “sg2002”

Declared by: