参考的WIKI链接:1. 编译 Linux 固件 — Firefly Wiki
这个命令执行了几个小时一直报错:.repo/repo/repo sync -c --no-tags
一直提示没有这个文件,没办法往下执行。
同样的环境,编译RK官方的SDK是正常的。
报错LOG如下:
~/firefly$ .repo/repo/repo sync -c --no-tags
git@www.rockchip.com.cn: Permission denied (publickey).
git@www.rockchip.com.cn: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
manifests:
git@www.rockchip.com.cn: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
315355526 发表于 2023-8-11 11:16
步骤:
- 参考这里获取SDK源码包并解压。
把你实际操作的步骤、打印信息发一下;不会出现你之前发的报错的,大概率是操作问题;
那个配置文件,你执行 ./build.sh lunch,选 22 那个
~/proj/rk3308_linux_release_v1.5.0a_20221212 ❯ ./build.sh lunch
processing option: lunch
You’re building on Linux
Launch menu…pick a combo:
- default BoardConfig.mk
- BoardConfig.mk
- BoardConfig_32bit.mk
- BoardConfig_RK3308BS_32bit.mk
- BoardConfig_RK3308BS_64bit.mk
- BoardConfig_RK3308B_firefly.mk
- BoardConfig_robot32.mk
- BoardConfig_robot64.mk
- BoardConfig_soundai_cmcc.mk
- core-3308by-buildroot.mk
- ihc-3308gw-buildroot.mk
- ihc-3308gw-ubuntu.mk
- rk3308_b_32_release_BoardConfig_32bit.mk
- rk3308_b_release_BoardConfig.mk
- rk3308_gk_32_release_BoardConfig_32bit.mk
- roc-rk3308b-cc-plus-buildroot.mk
- roc-rk3308b-cc-plus-rgb-4.0inch-minigui.mk
- roc-rk3308b-cc-plus-rgb-4.0inch-qt.mk
- roc-rk3308b-cc-plus-rgb-4.0inch-ubuntu.mk
- roc-rk3308b-cc-plus-rgb-7.0inch-minigui.mk
- roc-rk3308b-cc-plus-rgb-7.0inch-qt.mk
- roc-rk3308b-cc-plus-rgb-7.0inch-ubuntu.mk
- roc-rk3308b-cc-plus-ubuntu.mk
Which would you like? [0]: 22
switching to board: /home/llq/proj/tmp/rk3308/rk3308_linux_release_v1.5.0a_20221212/device/rockchip/rk3308/roc-rk3308b-cc-plus-ubuntu.mk