quickstart-standard-running.md 1.3 KB
Newer Older
D
duangavin123 已提交
1 2
# 镜像运行<a name="ZH-CN_TOPIC_0000001142160948"></a>

D
duangavin123 已提交
3
-   [\#ZH-CN\_TOPIC\_0000001142160948/section153991115191314](#section153991115191314)
D
duangavin123 已提交
4 5 6 7 8 9 10 11

烧录完成后通过以下步骤运行系统:

>![](../public_sys-resources/icon-note.gif) **说明:** 
>初次烧写标准系统,需要完成以下配置,后续烧写或者启动,可以跳过以下操作。

1.  在DevEco Device Tool中,点击Monitor,打开串口工具。

D
duangavin123 已提交
12
    ![](figure/open-the-serial-port-tool.png)
D
duangavin123 已提交
13 14 15

2.  重启开发板,在倒计时结束前,按任意键进入系统。

D
duangavin123 已提交
16
    ![](figure/press-any-key-to-enter-the-system.gif)
D
duangavin123 已提交
17 18 19 20 21 22 23 24 25 26 27

3.  通过以下两条命令设置启动参数。

    ```
    setenv bootargs 'mem=640M console=ttyAMA0,115200 mmz=anonymous,0,0xA8000000,384M clk_ignore_unused androidboot.selinux=permissive skip_initramfs rootdelay=5 init=/init root=/dev/mmcblk0p5 rootfstype=ext4 rw blkdevparts=mmcblk0:1M(boot),15M(kernel),20M(updater),1M(misc),3307M(system),256M(vendor),-(userdata)'
    ```

    ```
    setenv bootcmd "mmc read 0x0 0x80000000 0x800 0x4800; bootm 0x80000000";
    ```

D
duangavin123 已提交
28
    ![](figure/start.png)
D
duangavin123 已提交
29 30 31 32 33 34 35

4.  保存参数设置。

    ```
    save
    ```

D
duangavin123 已提交
36
    ![](figure/Save-the-parameter-settings.png)
D
duangavin123 已提交
37 38 39 40 41 42 43

5.  重启开发板,完成系统启动。

    ```
    reset
    ```

D
duangavin123 已提交
44
    ![](figure/start-the-system.png)
D
duangavin123 已提交
45 46