1 Star 0 Fork 5K

RainSpeed / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
quickstart-ide-standard-running-hi3516-running.md 1.90 KB
一键复制 编辑 原始数据 按行查看 历史
ester.zhou 提交于 2022-05-19 20:14 . update docs

Running

Starting the System

After the burning is complete, perform the following steps to start the system:

icon-note.gif NOTE
This operation procedure is required only if this is the first time you burn an image for the standard system.

  1. In DevEco Device Tool, click Monitor to open the serial port tool.

    en-us_image_0000001227082162

  2. Restart the development board. Before the autoboot countdown ends, press any key to enter the system.

    en-us_image_0000001271202289

  3. Run the following commands to set system boot parameters:

    setenv bootargs 'mem=640M console=ttyAMA0,115200 mmz=anonymous,0,0xA8000000,384M clk_ignore_unused rootdelay=10 hardware=Hi3516DV300 init=/init root=/dev/ram0 rw blkdevparts=mmcblk0:1M(boot),15M(kernel),20M(updater),2M(misc),3307M(system),256M(vendor),-(userdata)';
    setenv bootcmd 'mmc read 0x0 0x82000000 0x800 0x4800; bootm 0x82000000'

    en-us_image_0000001271562269

  4. Save the parameter settings.

    save

    en-us_image_0000001226762210

  5. Restart the development board to start the system.

    reset

    en-us_image_0000001226602238

Running a Hello World Program

After the system is started, start the serial port tool, run the helloworld command in any directory, and press Enter. If the message "Hello World!" is displayed, the program runs successfully.

en-us_image_0000001271322277

Next

Congratulations! You have finished all steps! Proceed to develop a sample to better familiarize yourself with OpenHarmony development.

1
https://gitee.com/rainspeed/docs.git
git@gitee.com:rainspeed/docs.git
rainspeed
docs
docs
master

搜索帮助