1 Star 0 Fork 5.3K

JayWang / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
faqs-2.md 4.08 KB
AI 代码解读
一键复制 编辑 原始数据 按行查看 历史
NEEN 提交于 2020-09-25 09:48 . !134 Docs Update 0924

FAQs

  1. What should I do when no command output is displayed?

    • Symptom

      The serial port shows that the connection has been established. After the board is restarted, nothing is displayed when you press Enter.

    • Possible Cause 1

      The serial port is connected incorrectly.

    • Solutions

      Change the serial port number.

      Start Device Manager to check whether the serial port connected to the board is the same as that connected to the terminal device. If not, perform the following steps to change the serial port number.

      Figure 1 Procedure for changing the serial port number

      1. Disconnect from the current serial port.
      2. Click Settings.
      3. Change the serial port number in the dialog box and click OK.
      4. Press Enter in the dialog box to check whether any command output is displayed after the connection is established.
    • Possible Cause 2

      The U-boot of the board is damaged.

    • Solutions

      Burn the U-boot.

      If the fault persists after you perform the preceding operations, the U-boot of the board may be damaged. You can burn the U-boot by performing the following steps:

      1. Obtain the U-boot file.

        NOTICE:

        1. The U-boot file of the board can be obtained from vendor\hisi\hi35xx\hi3518ev300\uboot\out\boot\u-boot-hi3518ev300.bin in the open-source package.
      2. Use HiTool to burn the U-boot.

        Figure 2 Procedure for burning the U-boot using HiTool

        1. Select the COM7 serial port.

        2. Select Serial for Transfer Mode.

        3. Select Burn Fastboot.

        4. Select spi nor for Flash Type.

        5. Click Browse and select the corresponding U-boot file.

        6. Click Burn to start burning.

      3. Power off the board and then power it on. Connect the serial port after the burning is complete. Serial ports shown in the following figure are displayed after the U-boot is burnt.

        Figure 3 Serial port displayed after the U-boot is burnt

  2. What should I do when an error is reported when the U-Boot is burnt using HiTool?

    • Symptom

      Figure 4 Burning error

    • Possible Causes

      The flash type selected by HiTool is incorrect.

    • Solutions

      Change the flash type in the area marked with 1 in the following figure.

      Figure 5 Incorrect flash type

  3. What should I do when the message indicating Python cannot be found is displayed during compilation and building?

    • Symptom

    • Possible Cause 1

      Python is not installed.

    • Solutions

      Install the Python environment by referring to Installing a Python Environment.

    • Possible Cause 2

    • Solutions

      Run the following commands:

      # cd /usr/bin/
      # which python3
      # ln -s /usr/local/bin/python3 python
      # python --version

      Example:

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

搜索帮助