harmony(鸿蒙)Running

  • 2022-08-09
  • 浏览 (468)

Running

Starting the System

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

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_0000001226762374

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

en-us_image_0000001271442265

  1. 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_0000001271322437

  1. Save the parameter settings.
   save

en-us_image_0000001271562437

  1. Restart the development board to start the system.
   reset

en-us_image_0000001226762378

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_0000001226602398

Next

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

你可能感兴趣的鸿蒙文章

harmony(鸿蒙)Getting Started

harmony(鸿蒙)Overall Description of Compilation Form Factors

harmony(鸿蒙)Importing a Source Code Project

harmony(鸿蒙)Setting Up the Windows+Ubuntu Hybrid Development Environment

harmony(鸿蒙)Introduction to the Hi3516 Development Board

harmony(鸿蒙)Introduction to the Hi3861 Development Board

harmony(鸿蒙)Mini and Small System Overview

harmony(鸿蒙)Obtaining Source Code

harmony(鸿蒙)Building

harmony(鸿蒙)Burning

0  赞