From 6f61d9a8aa77b249e7b76c546dcf82153a0cea6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=91=A8=E7=9D=BF?= Date: Sat, 11 Jan 2025 14:16:49 +0800 Subject: [PATCH] [doc] Add more info about phytium-pi --- doc/platform_phytium_pi.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/doc/platform_phytium_pi.md b/doc/platform_phytium_pi.md index e748747d68..09d8072718 100644 --- a/doc/platform_phytium_pi.md +++ b/doc/platform_phytium_pi.md @@ -33,7 +33,19 @@ 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" ]]`, add `PLATFORM` like: + + `"make A=examples/helloworld PLATFORM=aarch64-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: