tree: 18c9bf8a1f1af43cb48e33071f7d5f80ee515ab4
  1. src/
  2. BUILD.bazel
  3. README.md
target/ast10x0/board/README.md

ast10x0_board

Board-level integration crate for AST10x0 platforms.

This crate owns board-level hardware initialization and board-selected SGPIOM configuration for AST10x0 targets.

Responsibilities

  • Apply board pinctrl groups via SCU
  • Gate/reset board-level peripherals needed at boot (currently I2C flow)
  • Export board descriptor metadata used by runtime init
  • Consume generated SGPIOM configuration selected at board build time

SGPIOM policy is board-owned here, while SGPIOM execution remains in //target/ast10x0/peripherals.

SGPIOM JSON Pipeline (Bazel)

The board package wires SGPIOM JSON tooling into Bazel with these targets:

  • //target/ast10x0/board:sgpiom_validate
  • //target/ast10x0/board:sgpiom_merged
  • //target/ast10x0/board:sgpiom_generate
  • //target/ast10x0/board:sgpiom_check
  • //target/ast10x0/board:sgpiom_report

Generated artifact compiled into this crate:

  • sgpiom_config_generated.rs

See //tools/sgpiom/README.md for CLI details and manifest format.

Build

bazelisk build --config=virt_ast10x0 //target/ast10x0/board:ast10x0_board

For AST1060 hardware config and SGPIOM pipeline artifacts:

bazelisk build --config=k_ast1060_evb \
	//target/ast10x0/board:ast10x0_board \
	//target/ast10x0/board:sgpiom_validate \
	//target/ast10x0/board:sgpiom_merged \
	//target/ast10x0/board:sgpiom_generate \
	//target/ast10x0/board:sgpiom_check \
	//target/ast10x0/board:sgpiom_report