openharmony刷機教程。OpenHarmony為開放原子開源基金會的一個孵化項目,目標(biāo)是支持可在多種終端設(shè)備上運行。OpenHarmony是自主研發(fā)并且不兼容安卓的全領(lǐng)域下一代開源操作系統(tǒng)。許多人搞不懂openharmony如何用,下面小編帶來openharmony刷機教程。
openharmony從代碼倉庫源碼獲取概述
首先注冊碼云gitee賬號以及碼云SSH公鑰,之后安裝git客戶端和git-lfs并配置用戶信息:
git config --global user.name “yourname”
git config --global user.email “your-email-address”
git config --global credential.helper store
安裝碼云repo工具,可執(zhí)行一下命令:
curl https://gitee.com/oschina/repo/raw/fork_flow/repo-py3 》 /usr/local/bin/repo #如果沒有權(quán)限,可下載至其他目錄,并將其配置到環(huán)境變量中
chmod a+x /usr/local/bin/repo
pip3 install -i https://repo.huaweicloud.com/repository/pypi/simple requests
操作步驟
獲取輕量系統(tǒng)/小型系統(tǒng)源碼
通過repo下載獲取OpenHarmony主干代碼
repo init -u https://gitee.com/openharmony/manifest.git -b master --no-repo-verify
repo sync -c
repo forall -c ‘git lfs pull’
通過repo下載獲取OpenHarmony release 分支代碼
repo init -u https://gitee.com/openharmony/manifest.git -b OpenHarmony_1.0.1_release --no-repo-verify
repo sync -c
repo forall -c ‘git lfs pull’
獲取標(biāo)準(zhǔn)系統(tǒng)源碼(2.0 Canary)
1.創(chuàng)建然后切換到OpenHarmony工作目錄
mkdir OpenHarmony
cd OpenHarmony
2.repo初始化
repo init -u https://gitee.com/openharmony/manifest.git -b master --no-repo-verify
# 使用此命令初始化時,可能會因為網(wǎng)絡(luò)慢的問題導(dǎo)致代碼更新失敗,可以嘗試以下命令來初始化:
repo init -u https://gitee.com/openharmony/manifest.git -b ssh/master --no-repo-verify
3.更新代碼
repo sync -c
4.更新二進制
repo forall -c ‘git lfs pull’
以上就是小編為大家?guī)淼膐penharmony刷機教程,希望對你有所幫助。
本文綜合自百度百科、gitee
責(zé)任編輯:haq
-
華為
+關(guān)注
關(guān)注
216文章
35212瀏覽量
255928 -
操作系統(tǒng)
+關(guān)注
關(guān)注
37文章
7152瀏覽量
125599 -
OpenHarmony
+關(guān)注
關(guān)注
29文章
3854瀏覽量
18626
發(fā)布評論請先 登錄
開源鴻蒙開發(fā)必備!OpenHarmony替換Full SDK全攻略

請問下,openharmony支持哪一款龍芯的開發(fā)板?有沒有開源的龍芯的openharmony源碼?
迅為RK3568開發(fā)板篇OpenHarmony實操HDF驅(qū)動配置LED-編譯源碼
2K0300 OpenHarmony源碼構(gòu)建指南
ADCPro工具下發(fā)到MMB0板子上的TMS320固件的源碼,能不能獲取到呢?
OpenHarmony源碼編譯后燒錄鏡像教程,RK3566鴻蒙開發(fā)板演示

迅為RK3568開發(fā)板定制擴展分區(qū)SDK源碼編譯-獲取Linux-定制擴展分區(qū)源碼包
基于ArkTS語言的OpenHarmony APP應(yīng)用開發(fā):HelloOpenharmony

【開源鴻蒙】使用QEMU運行OpenHarmony輕量系統(tǒng)

評論