diff --git a/doc/figures/phytium_select_app.png b/doc/figures/phytium_select_app.png deleted file mode 100644 index eea2083510..0000000000 Binary files a/doc/figures/phytium_select_app.png and /dev/null differ diff --git a/doc/figures/phytium_select_platform.png b/doc/figures/phytium_select_platform.png deleted file mode 100644 index 5a1e65d0eb..0000000000 Binary files a/doc/figures/phytium_select_platform.png and /dev/null differ diff --git a/doc/figures/phytium_uart.png b/doc/figures/phytium_uart.png new file mode 100644 index 0000000000..d368e636be Binary files /dev/null and b/doc/figures/phytium_uart.png differ diff --git a/doc/platform_phytium_pi.md b/doc/platform_phytium_pi.md index 9e9e9684d3..e748747d68 100644 --- a/doc/platform_phytium_pi.md +++ b/doc/platform_phytium_pi.md @@ -6,8 +6,20 @@ 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 @@ -15,14 +27,6 @@ Then, we can run it easily. 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.