同步操作将从 OpenHarmony/docs 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
The following figure shows the hardware connections.
NOTICE: This section describes how to use an installation package to set up the compilation and development environment. If you are going to use Docker to set up the environment, skip this section and Installing Linux Build Tools.
The following table describes the tools required for setting up the general environment for a Linux server of the Hi3516 development board and how to obtain these tools.
Table 1 Development tools and obtaining methods
Basic software package for compilation and building (required only for Ubuntu 20+) |
Provides a basic software package for compilation and building. |
|
NOTICE:
- If you acquire the source code using an HPM component or HPM CLI tool, you do not need to install compilation tools like LLVM and hc-gen.
- (Recommended) If you obtain the source code through an image site or a code repository, you should install hc-gen. When installing the compilation tool, ensure that its environment variable path is unique.
Check whether bash is used as the shell.
ls -l /bin/sh
If /bin/sh -> bash is not displayed, do as follows to change shell to bash.
Method 1: Run the following command on the device and then click No.
sudo dpkg-reconfigure dash
Method 2: Run the first command to delete sh and then run the second command to create a new soft link.
sudo rm -rf /bin/sh
sudo ln -s /bin/bash /bin/sh
Install the software.
sudo apt-get install build-essential && sudo apt-get install gcc && sudo apt-get install g++ && sudo apt-get install make && sudo apt-get install zlib* && sudo apt-get install libffi-dev
Start a Linux server.
Install dosfstools.
sudo apt-get install dosfstools
Install mtools.
sudo apt-get install mtools
Install mtd-utils.
sudo apt-get install mtd-utils
Start a Linux server.
Install the Java Runtime Environment (JRE).
sudo apt-get install default-jre
Install the Java Development Kit (JDK).
sudo apt-get install default-jdk
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。