The SC-OBC Module A1 is an on-board computer module for CubeSats made by
Space Cubics. Its processing system is implemented in an Artix-7 FPGA,
which hosts a Cortex-M3, 4 MiB of main memory (HRMEM) and a set of
peripherals. The module must be mounted on a base I/O board. This machine
only models the module and not the base I/O board.
The default FPGA image provided by Space Cubics contains so-called
mission bus peripherals, which are user definable via an FPGA image and
live in the range 0x5000_0000 to 0x6000_0000. This is the only image this
machine models.
The board is already commercially available and in upstream Zephyr
as scobc_a1. To make development and CI easier we want to add it to
upstream QEMU as well.
Currently only a small subset of hardware is modelled, mainly the CPU,
memory map + mirror, console UART and 6 mission bus UARTs. They are
register compatible with Xilinx UART Lite, hence the existing device
implementation is reused. Other devices are mapped as unimplemented
devices and are planned to be implemented in further patches.
The hardware is publicly documented and can be accessed via the
following links. The memory map and interrupt page are partly
in Japanese only at the moment, but should be understandable to English
speakers as well:
- https://docs.zephyrproject.org/4.5.0/boards/sc/scobc_a1/doc/index.html
- https://docs.spacecubics.com/scobc-a1/latest/key-specs
- https://docs.spacecubics.com/scobc-a1-ja/latest/fpga/memory_map
- https://docs.spacecubics.com/scobc-a1-ja/latest/fpga/interrupt
- https://spacecubics.com/en/products/scobc_a1/
I added a small functional test, checking that the provided Zephyr ELF
boots and "hello world" is printed. The ELF is an unmodified
samples/hello_world from Zephyr v4.5.0 and hosted on
downloads.spacecubics.com.
The board and possible future additions will be maintained by me.
Signed-off-by: Maximilian Zimmermann <maxz@spacecubics.com>
---
Maximilian Zimmermann (3):
hw/arm: Add Space Cubics SC-OBC Module A1 board
hw/arm/scobc_a1: Add mission bus UARTs
tests/functional/arm: Add SC-OBC Module A1 test
MAINTAINERS | 8 ++
docs/system/arm/scobc-a1.rst | 59 +++++++++++++
docs/system/target-arm.rst | 1 +
hw/arm/Kconfig | 8 ++
hw/arm/meson.build | 1 +
hw/arm/scobc_a1.c | 151 ++++++++++++++++++++++++++++++++++
tests/functional/arm/meson.build | 1 +
tests/functional/arm/test_scobc_a1.py | 30 +++++++
8 files changed, 259 insertions(+)
---
base-commit: 6bf90d4fc5027567cb704d7888f5ec792b4ed75a
change-id: 20261126-add-scobc-a1-board-af331e0f1c48
Best regards,
--
Maximilian Zimmermann <maxz@spacecubics.com>