summaryrefslogtreecommitdiff
path: root/docs/platform/thead-c910.md
blob: 786b47d032d2327654e11134a0553556152dac4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
T-HEAD C910 Processor
=====================
C910 is a 12-stage, 3 issues, 8 executions, out-of-order 64-bit RISC-V CPU which
supports 16 cores, runs with 2.5GHz, and is capable of running Linux.

To build platform specific library and firmwares, provide the
*PLATFORM=thead/c910* parameter to the top level make command.

Platform Options
----------------

The *T-HEAD C910* platform does not have any platform-specific options.

Building T-HEAD C910 Platform
-----------------------------

```
make PLATFORM=thead/c910
```

Booting T-HEAD C910 Platform
----------------------------

**No Payload**

As there's no payload, you may download vmlinux or u-boot to FW_JUMP_ADDR which
specified in config.mk or compile commands with GDB. And the execution flow will
turn to vmlinux or u-boot when opensbi ends.

**Linux Kernel Payload**

You can also choose to use Linux kernel as payload by enabling FW_PAYLOAD=y
along with specifying FW_PAYLOAD_OFFSET. The kernel image will be embedded in
the OPENSBI firmware binary, T-head will directly boot into Linux after OpenSBI.