|
发表于 2020-8-13 09:36:28
5#
1、 代码更新问题
这两个提交是关键,否则后面的编译运行会有问题。
[u-boot]: update in commit f6759c8e50d7768338740cbd1b0d8803011371c0
[kernel]: update in commit 43ba1641bbfd903c9406c9aa30e8845f1a75bfaf
你这样更新一下,更新完后正常就能看到 uboot、kernel 提交了,之后再编译:
- 恢复代码到初始状态
cd /path/to/firefly-sdk
//这个是默认状态提交号 `442ad59 - Firefly 2020-06-28 : [SDK]:Init Firefly SDK in 20200628`
git reset --hard 442ad5955470e2f4f2336881e9bc14ec4c041572
cd /path/to/firefly-sdk/bundle/
git reset --hard
- 更新 bundle 代码
#1. 更新
cd /path/to/firefly-sdk/bundle/
git remote update
#2. 下拉代码
git pull origin rk3288-linux-bundle:rk3288-linux-bundle
git reset --hard
git pull origin common-linux-bundle:common-linux-bundle
git reset --hard
- 更新代码
cd /path/to/firefly-sdk
./bundle/update rk3288-linux-bundle
git rebase FETCH_HEAD
./bundle/update common-linux-bundle
git rebase FETCH_HEAD
|
|