はじめに
TenstorrentのBlackhole用に、tt-zephyr-platforms については、下記のブログに書きました。
- Tenstorrent Blackhole の tt-zephyr-platforms (その1)
- Tenstorrent Blackhole の tt-zephyr-platforms (その2)
- Tenstorrent Blackhole の tt-zephyr-platforms (その3)
今回は、tt-zephyr-platforms のドキュメント
NotebookLMの音声概要
SMC と DMC
上記のドキュメントによると、Blackhole firmware のは、2つのターゲットがあるようです。
- System Management Controller (SMC): the ARC cluster in the Blackhole SoC
- Device Management Controller (DMC): an external ARM microcontroller
- mainly responsible for power-on, fan control, some telemetry, SMBus communication, and other board-level management functions.
SMC firmware は、
- focuses on management of high-speed I/O (i.e PCIe, GDDR, and Ethernet), power management, frequency scaling, thermal management, host communication over PCIe and other chip-level functionality.
を行うようです。
yaml ファイル
DMC (tt_blackhole_tt_blackhole_dmc_p100a.yaml) の中身は下記のようになっています。
arch が arm になっています。
identifier: tt_blackhole@p100a/tt_blackhole/dmc name: Tenstorrent Blackhole P100A board (DMC) type: mcu arch: arm toolchain: - zephyr - gnuarmemb - xtools sysbuild: true ram: 144 flash: 512 supported: - gpio - counter - watchdog - pwm - adc - i2c - dma - mfd - sensor vendor: tenstorrent
SMC(tt_blackhole_tt_blackhole_smc_p100a.yaml)は、下記のようになっていて、arch は arc です。
# Copyright (c) 2024 Tenstorrent AI ULC # SPDX-License-Identifier: Apache-2.0 identifier: tt_blackhole@p100a/tt_blackhole/smc name: Tenstorrent Blackhole P100A (SMC) type: mcu arch: arc toolchain: - zephyr - cross-compile - xtools - arcmwdt supported: - smp - gpio testing: ignore_tags: - net - bluetooth vendor: tenstorrent
おわりに
Blackhole内の ARC CPU だけでなく、外部(ボード上)に arm MCU を持っているんですね。電源やリセット関連は、外部の arm MCU が制御し、それ以外は Blackhole 内の ARC CPU が制御する感じですかね。