Skip to content

Commit

Permalink
Merge pull request #218 from qclic/phytium/doc
Browse files Browse the repository at this point in the history
[doc] Add more info about phytium pi.
  • Loading branch information
equation314 authored Jan 7, 2025
2 parents 6ba0907 + d063040 commit 0778fe3
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
Binary file removed doc/figures/phytium_select_app.png
Binary file not shown.
Binary file removed doc/figures/phytium_select_platform.png
Binary file not shown.
Binary file added doc/figures/phytium_uart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 12 additions & 8 deletions doc/platform_phytium_pi.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,27 @@ First, we need `ostool` to build and upload the image to the board. It also supp
cargo install ostool
```

If use windows, you need to install `docker-desktop`.

We also need to connect the board to the computer with serial port, and connect netwire to the board. The host pc and the board should be in the same network.

The pins of a USB to serial adapter need to be connected to the debugging serial port of the development board using jumper wires, noting that the receive and transmit lines should cross-connect:

a. Connect the GND (ground) pin of the USB to TTL module to the GND (ground) pin of the development board (pin 12).

b. Connect the RX (receive) pin of the USB to TTL module to the TX (transmit) pin of the development board (pin 8).

c. Connect the TX (transmit) pin of the USB to TTL module to the RX (receive) pin of the development board (pin 10).

![uart](./figures/phytium_uart.png)

Then, we can run it easily.

```bash
# cd arceos main dir.
ostool run uboot
```

![select](./figures/phytium_select_platform.png)

Then, press `1` and `enter` to select phytium pi.

![select](./figures/phytium_select_app.png)

Then, select app you want to run. Item without `arceos-*` are not app and can not run. Here we select `arceos-helloworld` for test.

![select](./figures/phytium_select_dtb.png)

We can ignore select dtb step by pressing `enter` directly. ArceOS dose not support dtb yet.
Expand Down

0 comments on commit 0778fe3

Please sign in to comment.