rootroot@rootroot-System-Product1:~/rk3568_buildroot$
rootroot@rootroot-System-Product1:~/rk3568_buildroot$
rootroot@rootroot-System-Product1:~/rk3568_buildroot$ git clone ssh://[email protected]/repo/rk/tools/repo
Cloning into 'repo'...
The authenticity of host 'www.rockchip.com.cn (58.22.7.114)' can't be established.
ECDSA key fingerprint is SHA256:veOzrhgNGlRJJyd8jnHIsazEzt1CDJ0NZ3Dfq6gODRM.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'www.rockchip.com.cn,58.22.7.114' (ECDSA) to the list of known hosts.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0744 for '/home/rootroot/.ssh/id_rsa' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
Load key "/home/rootroot/.ssh/id_rsa": bad permissions
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
rootroot@rootroot-System-Product1:~/rk3568_buildroot$
rootroot@rootroot-System-Product1:~/rk3568_buildroot$
rootroot@rootroot-System-Product1:~/rk3568_buildroot$ cd ~/.ssh
rootroot@rootroot-System-Product1:~/.ssh$
rootroot@rootroot-System-Product1:~/.ssh$ ll
total 20
drwxrwxr-x 2 rootroot rootroot 4096 May 10 11:27 ./
drwxr-xr-x 33 rootroot rootroot 4096 May 10 11:27 ../
-rwxr--r-- 1 rootroot rootroot 1679 Aug 24 2021 id_rsa*
-rwxr--r-- 1 rootroot rootroot 407 Aug 24 2021 id_rsa.pub*
-rw-r--r-- 1 rootroot rootroot 444 May 10 11:27 known_hosts
rootroot@rootroot-System-Product1:~/.ssh$
rootroot@rootroot-System-Product1:~/.ssh$
rootroot@rootroot-System-Product1:~/.ssh$ chmod 600 id_rsa
rootroot@rootroot-System-Product1:~/.ssh$
rootroot@rootroot-System-Product1:~/.ssh$ ll
total 20
drwxrwxr-x 2 rootroot rootroot 4096 May 10 11:27 ./
drwxr-xr-x 33 rootroot rootroot 4096 May 10 11:27 ../
-rw------- 1 rootroot rootroot 1679 Aug 24 2021 id_rsa
-rwxr--r-- 1 rootroot rootroot 407 Aug 24 2021 id_rsa.pub*
-rw-r--r-- 1 rootroot rootroot 444 May 10 11:27 known_hosts
rootroot@rootroot-System-Product1:~/.ssh$
rootroot@rootroot-System-Product1:~/.ssh$
rootroot@rootroot-System-Product1:~/.ssh$ cd -
/home/rootroot/rk3568_buildroot
rootroot@rootroot-System-Product1:~/rk3568_buildroot$
rootroot@rootroot-System-Product1:~/rk3568_buildroot$
rootroot@rootroot-System-Product1:~/rk3568_buildroot$ ll
[BEGIN] 2022/5/10 14:59:14
rootroot@rootroot-System-Product1:~$
rootroot@rootroot-System-Product1:~$
rootroot@rootroot-System-Product1:~$ mkdir rk3568_linux4.19
rootroot@rootroot-System-Product1:~$
rootroot@rootroot-System-Product1:~$ cd rk3568_linux4.19/
rootroot@rootroot-System-Product1:~/rk3568_linux4.19$ ll
total 8
drwxrwxr-x 2 rootroot rootroot 4096 May 10 15:00 ./
drwxr-xr-x 32 rootroot rootroot 4096 May 10 15:00 ../
rootroot@rootroot-System-Product1:~/rk3568_linux4.19$
rootroot@rootroot-System-Product1:~/rk3568_linux4.19$
rootroot@rootroot-System-Product1:~/rk3568_linux4.19$
rootroot@rootroot-System-Product1:~/rk3568_linux4.19$ git clone ssh://[email protected]/repo/rk/tools/repo
Cloning into 'repo'...
remote: Counting objects: 5465, done.
remote: Compressing objects: 100% (1616/1616), done.
remote: Total 5465 (delta 3784), reused 5465 (delta 3784)
Receiving objects: 100% (5465/5465), 1.24 MiB | 9.86 MiB/s, done.
Resolving deltas: 100% (3784/3784), done.
rootroot@rootroot-System-Product1:~/rk3568_linux4.19$
rootroot@rootroot-System-Product1:~/rk3568_linux4.19$
rootroot@rootroot-System-Product1:~/rk3568_linux4.19$ ll
total 12
drwxrwxr-x 3 rootroot rootroot 4096 May 10 15:00 ./
drwxr-xr-x 32 rootroot rootroot 4096 May 10 15:00 ../
drwxrwxr-x 9 rootroot rootroot 4096 May 10 15:00 repo/
rootroot@rootroot-System-Product1:~/rk3568_linux4.19$
rootroot@rootroot-System-Product1:~/rk3568_linux4.19$ ll repo/repo
-rwxrwxr-x 1 rootroot rootroot 36162 May 10 15:00 repo/repo*
rootroot@rootroot-System-Product1:~/rk3568_linux4.19$
rootroot@rootroot-System-Product1:~/rk3568_linux4.19$
rootroot@rootroot-System-Product1:~/rk3568_linux4.19$ repo/repo init --repo-url ssh://[email protected]/repo/rk/tools/repo -u ssh://[email protected]/linux/rockchip/platform/manifests -b linux -m rk356x_linux_release.xml
Downloading Repo source from ssh://[email protected]/repo/rk/tools/repo
remote: Counting objects: 5465, done.
remote: Compressing objects: 100% (1616/1616), done.
remote: Total 5465 (delta 3784), reused 5465 (delta 3784)
info: Ignoring branch 'master'; using tagged release 'v2.4.1'
Downloading manifest from ssh://[email protected]/linux/rockchip/platform/manifests
remote: Counting objects: 438, done.
remote: Compressing objects: 100% (436/436), done.
remote: Total 438 (delta 263), reused 0 (delta 0)
Your identity is: wb4916
If you want to change this, please re-run 'repo init' with --config-name
repo has been initialized in /home/rootroot/rk3568_linux4.19
rootroot@rootroot-System-Product1:~/rk3568_linux4.19$
rootroot@rootroot-System-Product1:~/rk3568_linux4.19$ ll
total 16
drwxrwxr-x 4 rootroot rootroot 4096 May 10 15:01 ./
drwxr-xr-x 32 rootroot rootroot 4096 May 10 15:00 ../
drwxrwxr-x 5 rootroot rootroot 4096 May 10 15:01 .repo/
drwxrwxr-x 10 rootroot rootroot 4096 May 10 15:01 repo/
rootroot@rootroot-System-Product1:~/rk3568_linux4.19$
rootroot@rootroot-System-Product1:~/rk3568_linux4.19$
rootroot@rootroot-System-Product1:~/rk3568_linux4.19$ ll .repo/repo/re
release/ repo repo_trace.py
rootroot@rootroot-System-Product1:~/rk3568_linux4.19$ ll .repo/repo/repo
-rwxrwxr-x 1 rootroot rootroot 35773 May 10 15:01 .repo/repo/repo*
rootroot@rootroot-System-Product1:~/rk3568_linux4.19$
rootroot@rootroot-System-Product1:~/rk3568_linux4.19$
rootroot@rootroot-System-Product1:~/rk3568_linux4.19$
rootroot@rootroot-System-Product1:~/rk3568_linux4.19$
rootroot@rootroot-System-Product1:~/rk3568_linux4.19$ .repo/repo/repo sync -l
error: app/QLauncher/: Cannot checkout linux/app/QLauncher due to missing network sync; Run `repo sync -n linux/app/QLauncher` first.
error: Cannot checkout linux/app/QLauncher
error: app/aiserver/: Cannot checkout linux/app/aiserver due to missing network sync; Run `repo sync -n linux/app/aiserver` first.
error: Cannot checkout linux/app/aiserver
error: app/eptz_demo/: Cannot checkout linux/app/eptz_demo due to missing network sync; Run `repo sync -n linux/app/eptz_demo` first.
error: Cannot checkout linux/app/eptz_demo
error: app/multivideoplayer/: Cannot checkout linux/app/multivideoplayer due to missing network sync; Run `repo sync -n linux/app/multivideoplayer` first.
error: Cannot checkout linux/app/multivideoplayer
error: app/qcamera/: Cannot checkout linux/app/qcamera due to missing network sync; Run `repo sync -n linux/app/qcamera` first.
error: Cannot checkout linux/app/qcamera
error: app/qfm/: Cannot checkout linux/app-new/qfm due to missing network sync; Run `repo sync -n linux/app-new/qfm` first.
error: Cannot checkout linux/app-new/qfm
error: app/qplayer/: Cannot checkout linux/app/qplayer due to missing network sync; Run `repo sync -n linux/app/qplayer` first.
error: Cannot checkout linux/app/qplayer
error: app/qsetting/: Cannot checkout linux/app/settings due to missing network sync; Run `repo sync -n linux/app/settings` first.
error: Cannot checkout linux/app/settings
error: app/rkaiq_tool_server/: Cannot checkout linux/app/rkaiq_tool_server due to missing network sync; Run `repo sync -n linux/app/rkaiq_tool_server` first.
error: Cannot checkout linux/app/rkaiq_tool_server
error: buildroot/: Cannot checkout linux/buildroot due to missing network sync; Run `repo sync -n linux/buildroot` first.
error: Cannot checkout linux/buildroot
error: debian/: Cannot checkout linux/debian due to missing network sync; Run `repo sync -n linux/debian` first.
error: Cannot checkout linux/debian
error: device/rockchip/: Cannot checkout linux/device/rockchip due to missing network sync; Run `repo sync -n linux/device/rockchip` first.
error: Cannot checkout linux/device/rockchip
error: docs/: Cannot checkout linux/bsp/docs due to missing network sync; Run `repo sync -n linux/bsp/docs` first.
error: Cannot checkout linux/bsp/docs
error: docs/.Socs/: Cannot checkout linux/bsp/internal_doc due to missing network sync; Run `repo sync -n linux/bsp/internal_doc` first.
error: Cannot checkout linux/bsp/internal_doc
error: external/alsa-config/: Cannot checkout linux/external/alsa-config due to missing network sync; Run `repo sync -n linux/external/alsa-config` first.
error: Cannot checkout linux/external/alsa-config
error: external/avb/: Cannot checkout linux/external/avb due to missing network sync; Run `repo sync -n linux/external/avb` first.
error: Cannot checkout linux/external/avb
error: external/ble_wificonfig/: Cannot checkout linux/external/ble_wificonfig due to missing network sync; Run `repo sync -n linux/external/ble_wificonfig` first.
error: Cannot checkout linux/external/ble_wificonfig
error: external/bluetooth_bsa/: Cannot checkout linux/bsp/external/bluetooth_bsa due to missing network sync; Run `repo sync -n linux/bsp/external/bluetooth_bsa` first.
error: Cannot checkout linux/bsp/external/bluetooth_bsa
error: external/bluez-alsa/: Cannot checkout linux/external/bluez-alsa due to missing network sync; Run `repo sync -n linux/external/bluez-alsa` first.
error: Cannot checkout linux/external/bluez-alsa
error: external/broadcom_bsa/: Cannot checkout linux/bsp/external/broadcom_bsa due to missing network sync; Run `repo sync -n linux/bsp/external/broadcom_bsa` first.
error: Cannot checkout linux/bsp/external/broadcom_bsa
error: external/camera_engine_rkaiq/: Cannot checkout linux/external/camera_engine_rkaiq due to missing network sync; Run `repo sync -n linux/external/camera_engine_rkaiq` first.
error: Cannot checkout linux/external/camera_engine_rkaiq
error: external/chromium/: Cannot checkout linux/external/chromium due to missing network sync; Run `repo sync -n linux/external/chromium` first.
error: Cannot checkout linux/external/chromium
error: external/common_algorithm/: Cannot checkout linux/external/common_algorithm due to missing network sync; Run `repo sync -n linux/external/common_algorithm` first.
error: Cannot checkout linux/external/common_algorithm
error: external/deviceio_release/: Cannot checkout linux/external/deviceio_release due to missing network sync; Run `repo sync -n linux/external/deviceio_release` first.
error: Cannot checkout linux/external/deviceio_release
error: external/eq_drc_process/: Cannot checkout linux/external/eq_drc_process due to missing network sync; Run `repo sync -n linux/external/eq_drc_process` first.
error: Cannot checkout linux/external/eq_drc_process
error: external/gstreamer-rockchip/: Cannot checkout linux/gstreamer-rockchip due to missing network sync; Run `repo sync -n linux/gstreamer-rockchip` first.
error: Cannot checkout linux/gstreamer-rockchip
error: external/libglCompositor/: Cannot checkout linux/external/libglCompositor due to missing network sync; Run `repo sync -n linux/external/libglCompositor` first.
error: Cannot checkout linux/external/libglCompositor
error: external/libmali/: Cannot checkout linux/libmali due to missing network sync; Run `repo sync -n linux/libmali` first.
error: Cannot checkout linux/libmali
error: external/linux-rga/: Cannot checkout linux/linux-rga due to missing network sync; Run `repo sync -n linux/linux-rga` first.
error: Cannot checkout linux/linux-rga
error: external/mpp/: Cannot checkout rk/mpp due to missing network sync; Run `repo sync -n rk/mpp` first.
error: Cannot checkout rk/mpp
error: external/recovery/: Cannot checkout linux/recovery due to missing network sync; Run `repo sync -n linux/recovery` first.
error: Cannot checkout linux/recovery
error: external/rk_pcba_test/: Cannot checkout linux/external/rk_pcba_test due to missing network sync; Run `repo sync -n linux/external/rk_pcba_test` first.
error: Cannot checkout linux/external/rk_pcba_test
error: external/rkfacial/: Cannot checkout linux/external/rkfacial due to missing network sync; Run `repo sync -n linux/external/rkfacial` first.
error: Cannot checkout linux/external/rkfacial
error: external/rknn-toolkit2/: Cannot checkout rk/rknn-toolkit2 due to missing network sync; Run `repo sync -n rk/rknn-toolkit2` first.
error: Cannot checkout rk/rknn-toolkit2
error: external/rknpu2/: Cannot checkout rk/rknpu2 due to missing network sync; Run `repo sync -n rk/rknpu2` first.
error: Cannot checkout rk/rknpu2
error: external/rkscript/: Cannot checkout linux/external/rkscript due to missing network sync; Run `repo sync -n linux/external/rkscript` first.
error: Cannot checkout linux/external/rkscript
error: external/rktoolkit/: Cannot checkout linux/external/rktoolkit due to missing network sync; Run `repo sync -n linux/external/rktoolkit` first.
error: Cannot checkout linux/external/rktoolkit
error: external/rkupdate/: Cannot checkout linux/external/rkupdate due to missing network sync; Run `repo sync -n linux/external/rkupdate` first.
error: Cannot checkout linux/external/rkupdate
error: external/rkwifibt/: Cannot checkout linux/external/rkwifibt due to missing network sync; Run `repo sync -n linux/external/rkwifibt` first.
error: Cannot checkout linux/external/rkwifibt
error: external/rockit/: Cannot checkout linux/rockit due to missing network sync; Run `repo sync -n linux/rockit` first.
error: Cannot checkout linux/rockit
error: external/security/bin/: Cannot checkout linux/security/bin due to missing network sync; Run `repo sync -n linux/security/bin` first.
error: Cannot checkout linux/security/bin
error: external/security/rk_tee_user/: Cannot checkout android/rk/platform/system/rk_tee_user due to missing network sync; Run `repo sync -n android/rk/platform/system/rk_tee_user` first.
error: Cannot checkout android/rk/platform/system/rk_tee_user
error: external/uac_app/: Cannot checkout linux/external/uac_app due to missing network sync; Run `repo sync -n linux/external/uac_app` first.
error: Cannot checkout linux/external/uac_app
error: external/uvc_app/: Cannot checkout linux/external/uvc_app due to missing network sync; Run `repo sync -n linux/external/uvc_app` first.
error: Cannot checkout linux/external/uvc_app
error: kernel/: Cannot checkout rk/kernel due to missing network sync; Run `repo sync -n rk/kernel` first.
error: Cannot checkout rk/kernel
error: prebuilts/gcc/linux-x86/aarch64/gcc-buildroot-9.3.0-2020.03-x86_64_aarch64-rockchip-linux-gnu/: Cannot checkout rk/prebuilts/gcc-buildroot-9.3.0-2020.03-x86_64_aarch64-rockchip-linux-gnu due to missing network sync; Run `repo sync -n rk/prebuilts/gcc-buildroot-9.3.0-2020.03-x86_64_aarch64-rockchip-linux-gnu` first.
error: Cannot checkout rk/prebuilts/gcc-buildroot-9.3.0-2020.03-x86_64_aarch64-rockchip-linux-gnu
error: prebuilts/gcc/linux-x86/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/: Cannot checkout rk/prebuilts/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu due to missing network sync; Run `repo sync -n rk/prebuilts/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu` first.
error: Cannot checkout rk/prebuilts/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu
error: rkbin/: Cannot checkout rk/rkbin due to missing network sync; Run `repo sync -n rk/rkbin` first.
error: Cannot checkout rk/rkbin
error: tools/: Cannot checkout linux/tools due to missing network sync; Run `repo sync -n linux/tools` first.
error: Cannot checkout linux/tools
error: u-boot/: Cannot checkout android/rk/u-boot due to missing network sync; Run `repo sync -n android/rk/u-boot` first.
error: Cannot checkout android/rk/u-boot
error: yocto/build/conf/: Cannot checkout linux/build due to missing network sync; Run `repo sync -n linux/build` first.
error: Cannot checkout linux/build
error: yocto/meta-browser/: Cannot checkout linux/poky due to missing network sync; Run `repo sync -n linux/poky` first.
error: Cannot checkout linux/poky
error: yocto/meta-clang/: Cannot checkout linux/poky due to missing network sync; Run `repo sync -n linux/poky` first.
error: Cannot checkout linux/poky
error: yocto/meta-openembedded/: Cannot checkout linux/poky due to missing network sync; Run `repo sync -n linux/poky` first.
error: Cannot checkout linux/poky
error: yocto/meta-qt5/: Cannot checkout linux/poky due to missing network sync; Run `repo sync -n linux/poky` first.
error: Cannot checkout linux/poky
error: yocto/meta-rockchip/: Cannot checkout linux/yocto/meta-rockchip due to missing network sync; Run `repo sync -n linux/yocto/meta-rockchip` first.
error: Cannot checkout linux/yocto/meta-rockchip
error: yocto/poky/: Cannot checkout linux/poky due to missing network sync; Run `repo sync -n linux/poky` first.
error: Cannot checkout linux/poky
error: Unable to fully sync the tree.
error: Checking out local projects failed.
Failing repos:
app/QLauncher
app/aiserver
app/eptz_demo
app/multivideoplayer
app/qcamera
app/qfm
app/qplayer
app/qsetting
app/rkaiq_tool_server
buildroot
debian
device/rockchip
docs
docs/.Socs
external/alsa-config
external/avb
external/ble_wificonfig
external/bluetooth_bsa
external/bluez-alsa
external/broadcom_bsa
external/camera_engine_rkaiq
external/chromium
external/common_algorithm
external/deviceio_release
external/eq_drc_process
external/gstreamer-rockchip
external/libglCompositor
external/libmali
external/linux-rga
external/mpp
external/recovery
external/rk_pcba_test
external/rkfacial
external/rknn-toolkit2
external/rknpu2
external/rkscript
external/rktoolkit
external/rkupdate
external/rkwifibt
external/rockit
external/security/bin
external/security/rk_tee_user
external/uac_app
external/uvc_app
kernel
prebuilts/gcc/linux-x86/aarch64/gcc-buildroot-9.3.0-2020.03-x86_64_aarch64-rockchip-linux-gnu
prebuilts/gcc/linux-x86/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu
rkbin
tools
u-boot
yocto/build/conf
yocto/meta-browser
yocto/meta-clang
yocto/meta-openembedded
yocto/meta-qt5
yocto/meta-rockchip
yocto/poky
Try re-running with "-j1 --fail-fast" to exit at the first error.
rootroot@rootroot-System-Product1:~/rk3568_linux4.19$
rootroot@rootroot-System-Product1:~/rk3568_linux4.19$
rootroot@rootroot-System-Product1:~/rk3568_linux4.19$
rootroot@rootroot-System-Product1:~/rk3568_linux4.19$ .repo/repo/repo sync -c --no-tags
Fetching projects: 100% (57/57), done.
yocto/meta-browser: Shared project linux/poky found, disabling pruning.
yocto/meta-clang: Shared project linux/poky found, disabling pruning.
yocto/meta-openembedded: Shared project linux/poky found, disabling pruning.
yocto/meta-qt5: Shared project linux/poky found, disabling pruning.
yocto/poky: Shared project linux/poky found, disabling pruning.
info: A new version of repo is available
warning: project 'repo' branch 'master' is not signed
warning: Skipped upgrade to unverified version
Updating files: 100% (17240/17240), done.
Updating files: 100% (680/680), done.inux/buildrootUpdating files: 74% (508/680)
Updating files: 100% (209/209), done.inux/bsp/docsUpdating files: 98% (205/209)
Updating files: 100% (1493/1493), done.ux/bsp/external/broadcom_bsaUpdating files: 87% (1312/1493)
Updating files: 100% (123/123), done.inux/external/libglCompositorUpdating files: 44% (55/123)
Updating files: 100% (891/891), done.k/rknn-toolkit2Updating files: 53% (479/891)
Updating files: 100% (72264/72264), done./external/uvc_appUpdating files: 34% (25276/72264)
Updating files: 100% (17900/17900), done.rnelUpdating files: 53% (9540/17900)
Updating files: 100% (7165/7165), done.prebuilts/gcc-buildroot-9.3.0-2020.03-x86_64_aarch64-rockchip-linux-gnuUpdating files: 33% (2373/7165)
Checking out projects: 100% (57/57), done.
repo sync has finished successfully.
rootroot@rootroot-System-Product1:~/rk3568_linux4.19$
rootroot@rootroot-System-Product1:~/rk3568_linux4.19$
rootroot@rootroot-System-Product1:~/rk3568_linux4.19$ cd ..
rootroot@rootroot-System-Product1:~$
rootroot@rootroot-System-Product1:~$
rootroot@rootroot-System-Product1:~$ du -sh rk3568_linux4.19/
19G rk3568_linux4.19/
rootroot@rootroot-System-Product1:~$
rootroot@rootroot-System-Product1:~$
rootroot@rootroot-System-Product1:~$ tar zcvf rk3568_linux4.19_20220510_1521.tar.gz rk3568_linux4.19/
rk3568_linux4.19/
rk3568_linux4.19/Makefile
rk3568_linux4.19/buildroot/
rk3568_linux4.19/buildroot/Makefile
rk3568_linux4.19/buildroot/package/
参考资料:
https://blog.csdn.net/lxfHaHaHa/article/details/89577507
Permissions 0644 for '/root/.ssh/id_rsa' are too open.
https://blog.csdn.net/wszll_Alex/article/details/78125421
Permissions 0644 for '/root/.ssh/id_rsa' are too open.