HiSilicon Hi3861L Development 1-Environment Construction

1. Introduction

        The previous article introduced the Hi3861 development of HarmonyOS in detail, but the development was based on HarmonyOS. In actual project development, HarmonyOS may not be used, but the native Hi3861 is used. Then this time I will learn Hi3861L again.

2. Environment construction

       Environment: Ubuntu18.04.5

        Regarding setting up the Ubuntu environment, please refer to the previous article. Attached is the link: Using VMware to install the Ubuntu virtual machine and VMware Tools_t_guest's blog - CSDN blog

1. Modify the ubuntu shell environment to bash

          1). Use the following command to check the shell type . If it is not bash , you need to modify it. If it is bash , skip the current step directly .

ls -l /bin/sh

        Here is a brief explanation of why it is necessary to change from dash to bash.

        bash (GNU Bourne-Again Shell) is the default shell on many Linux platforms, but because bash is too complex , someone transplanted bash from NetBSD to Linux and renamed it dash (Debian Almquist shell), and suggested pointing /bin/sh to it. for faster script execution . dash is much smaller than bash and complies with POSIX standards. It mainly appears for executing scripts , not for interaction. However, it has many fewer functions than bash , so some scripts cannot be run using dash , so you need to modify the shell.

Guess you like

Origin blog.csdn.net/qq_26226375/article/details/132415059