{
    "key": "raspberry-pi-5-8gb",
    "kind": "board",
    "source": "platform-seed",
    "status": "draft",
    "harness": {
        "gpio": {
            "notes": "RPi.GPIO does not work on Pi 5. The RP1 southbridge moved GPIO off the SoC, so lgpio or libgpiod is required.",
            "library": "libgpiod",
            "pin_scheme": "bcm"
        },
        "flash": {
            "baud": null,
            "tool": "rpi-imager",
            "notes": "The operating system is written to removable media on a host machine. The agent is installed after first boot over the network.",
            "method": "sd-card",
            "port_hint": null
        },
        "probe": {
            "commands": [
                "cat /proc/device-tree/model",
                "uname -m",
                "ls /sys/bus/iio/devices/*/name",
                "ls /sys/class/hwmon/*/name",
                "ls /sys/bus/w1/devices/",
                "i2cdetect -y 1",
                "lsusb",
                "ls /dev/serial/by-id/",
                "gpiodetect",
                "gpioinfo"
            ],
            "model_file": "/proc/device-tree/model",
            "overlay_file": "/boot/firmware/config.txt"
        },
        "runtime": {
            "python3": true,
            "os_family": "debian",
            "package_manager": "apt",
            "service_manager": "systemd"
        },
        "verified": {
            "by": null,
            "os": null,
            "date": null,
            "reviewed_by": null,
            "evidence_url": null
        },
        "transport": {
            "ota": true,
            "tls": true,
            "notes": "Gigabit Ethernet and dual-band Wi-Fi. The agent updates itself in place; no reflash is needed to change the device program.",
            "network": [
                "wifi",
                "ethernet",
                "bluetooth"
            ],
            "mqtt_client": "paho-mqtt"
        },
        "toolchains": [
            "Docker",
            "llama.cpp",
            "Ollama",
            "libgpiod"
        ],
        "local_inference": {
            "llm": {
                "notes": "CPU inference on four Cortex-A76 cores. A 7B or 8B model at 4-bit fits in memory and runs at conversational-but-slow speed. Nothing larger is worth attempting.",
                "viable": true,
                "runtimes": [
                    "llama.cpp",
                    "ollama"
                ],
                "max_params_b": 8,
                "quantisation": [
                    "q4_k_m",
                    "q4_0",
                    "q5_k_m"
                ],
                "max_model_size_gb": 5.5
            },
            "notes": "No GPU or NPU on the board itself. Memory size decides what runs, which is why the 8GB and 16GB variants are separate entries.",
            "tinyml": {
                "notes": "The M.2 AI Kit adds a Hailo accelerator over PCIe for vision workloads. Not fitted by default.",
                "viable": true,
                "frameworks": [
                    "TensorFlow Lite",
                    "ONNX Runtime",
                    "Hailo-8L via the AI Kit"
                ]
            },
            "viable": true,
            "accelerator": "cpu",
            "usable_memory_gb": 8
        },
        "provisioning_model": "linux-agent",
        "component_attachment": "gpio-header",
        "supported_provisioning_models": [
            "linux-agent"
        ]
    },
    "platform": {
        "cpu": "Broadcom BCM2712, quad-core Arm Cortex-A76 @ 2.4GHz",
        "ram": "8GB LPDDR4X",
        "name": "Raspberry Pi 5 8GB",
        "power": [
            {
                "source": "USB-C",
                "voltage_max": 5,
                "voltage_min": 5,
                "current_max_ma": 5000
            }
        ],
        "has_gpu": true,
        "has_npu": false,
        "has_tpu": false,
        "storage": "MicroSD (UHS-I)",
        "weight_g": 37,
        "gpio_pins": 40,
        "board_type": "Single Board Computer",
        "interfaces": [
            {
                "type": "Micro HDMI",
                "count": 2
            },
            {
                "type": "USB-A 3.0",
                "count": 2
            },
            {
                "type": "USB-C",
                "count": 1
            }
        ],
        "description": "Most powerful Raspberry Pi. BCM2712 SoC, PCIe Gen 2 x1, dual 4K display output.",
        "adc_channels": 0,
        "dac_channels": 0,
        "manufacturer": "Raspberry Pi Ltd",
        "model_number": "Raspberry Pi 5 8GB",
        "pwm_channels": 4,
        "datasheet_url": null,
        "dimensions_mm": "85 x 56",
        "serial_protocols": [
            {
                "count": 1,
                "protocol": "I2C"
            },
            {
                "count": 2,
                "protocol": "SPI"
            },
            {
                "count": 1,
                "protocol": "UART"
            },
            {
                "count": 1,
                "protocol": "PCIe"
            }
        ],
        "operating_systems": [
            {
                "name": "Raspberry Pi OS (64-bit)"
            },
            {
                "name": "Ubuntu Desktop"
            }
        ],
        "operating_voltage": "5V",
        "communication_chips": [
            {
                "protocol": "Wi-Fi",
                "standard": "802.11ac",
                "chip_model": "Infineon CYW43455"
            },
            {
                "protocol": "Bluetooth",
                "standard": "5.0",
                "chip_model": "Infineon CYW43455"
            },
            {
                "protocol": "Ethernet",
                "standard": "Gigabit",
                "chip_model": "Broadcom BCM54213PE"
            }
        ]
    },
    "revision": 1
}