Skip to content

Commit

Permalink
[doc] Add more info about phytium-pi
Browse files Browse the repository at this point in the history
  • Loading branch information
ZR233 committed Jan 11, 2025
1 parent 0778fe3 commit 2592dcb
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion doc/platform_phytium_pi.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,15 @@ We can ignore select dtb step by pressing `enter` directly. ArceOS dose not supp

Then the cmdline will wait for you to put board power on or reset.

You can modify config in `.project.toml` to change the default behavior.
`Ctrl+C` to exit.

Modify config in `.project.toml` to change platform for phytium pi.

Find `shell=[[ ... "make A=examples/helloworld ARCH=aarch64" ]]`, and change to `make A=examples/helloworld PLATFORM=phytium_pi`.

Find `elf = "examples/helloworld/helloworld_aarch64-qemu-virt.elf"` and change to `elf = "examples/helloworld/helloworld_aarch64-phytium_pi.elf"`.

Then run `ostool run uboot` again. When see `等待 U-Boot 启动...` , put board power on or reset.

If everything goes well, you will see the following output:

Expand Down

0 comments on commit 2592dcb

Please sign in to comment.