Hongmeng System_Wei Dongshan Hongmeng Liteos-a _imx6ull_mini_emmc (Hongmeng) study notes and excerpts (compiling Liteos-a)————01

One (Hongmeng system kernel and file system)

Insert picture description here


The first is to install various scripts on Ubantu

This is the first script

:Configuring_ubuntu.sh

The installation command line is:

 ~ $ wget --no-check-certificate -O Configuring_ubuntu.sh https://weidongshan.coding.net/p/DevelopmentEnvConf/d/DevelopmentEnvConf/git/raw/master/Conf iguring_ubuntu.sh &&  sudo chmod +x Configuring_ubuntu.sh &&  sudo ./Configuring_ubuntu.sh 

Install tftp, nfs, vim and other software, this script only supports Ubuntu-16.04 /Ubuntu-18.04

This is the second script

1.2.1 Configure GIT You need to execute the following commands under ubuntu to configure the user information of the GIT client, for example (the user name and mailbox of the following commands can be written at will):

 git config --global user.name "100ask" git config --global user.email "[email protected]" git config --global credential.helper store 

This is the third script

1.2.2 Install repo The repo tool is a command used to manage multiple GIT repositories, execute the following command to install:

curl https://gitee.com/oschina/repo/raw/fork_flow/repo-py3 > repo sudo cp repo  /usr/local/bin/repo && sudo chmod a+x /usr/local/bin/repo sudo pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple requests

This is the fourth one to download is a source code

cd /home/book 
mkdir  openharmony 
cd  openharmony 
repo init -u https://gitee.com/openharmony/manifest.git -b OpenHarmony-1.0 
repo sync -c -j8 

This is the fifth one to download is a patch

cd  /home/book git  clone  https://gitee.com/weidongshan/openharmony_for_imx6ull.git 

Insert picture description here
Assuming that the source code of Hongmeng is in the /home/book/openharmony directory, the patch file hmos_v1.0_imx6ull.patch is placed in the /home/book/openharmony_for_imx6ull/patch directory. Execute the following command to patch:
cd /home/book/openharmony patch -p1 < /home/book/openharmony_for_imx6ull/patch/hmos_v1.0_imx6ull.patch
Finally, the compilation process
Insert picture description here

Guess you like

Origin blog.csdn.net/m0_46179894/article/details/108923969