Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    新 SDK 平台下载 V853 SDK

    V Series
    47
    58
    28260
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • WhycanService
      WhycanService LV 8 last edited by q1215200171

      ---->>>>>>水经验专帖:https://bbs.aw-ol.com/topic/4008/----<<<<<<
      ---->>>>>>请不要在本帖回复与技术问题无关的话题----<<<<<<

      获取SDK

      SDK 使用 Repo 工具管理,拉取 SDK 需要配置安装 Repo 工具。

      Repo is a tool built on top of Git. Repo helps manage many Git repositories, does the uploads to revision control systems, and automates parts of the development workflow. Repo is not meant to replace Git, only to make it easier to work with Git. The repo command is an executable Python script that you can put anywhere in your path.

      Repo官网:git-repo

      安装 Repo 工具

      可以用包管理器进行安装:

      # Debian/Ubuntu.
      $ sudo apt-get install repo
      
      # Gentoo.
      $ sudo emerge dev-vcs/repo
      

      也可以手动单独安装:

      $ mkdir -p ~/.bin
      $ PATH="${HOME}/.bin:${PATH}"
      $ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/.bin/repo
      $ chmod a+rx ~/.bin/repo
      

      国内镜像源安装:

      $ mkdir -p ~/.bin
      $ PATH="${HOME}/.bin:${PATH}"
      $ curl https://mirrors.bfsu.edu.cn/git/git-repo > ~/.bin/repo
      $ chmod a+rx ~/.bin/repo
      

      由于谷歌服务器位于国外,每次运行时Repo会检查更新导致下载较慢,国内用户可以配置镜像源。否则会像下图一样卡住不动然后失败。

      8d60364e-7c3d-42a9-88e8-40778344fee1-image.png

      更换镜像源

      Repo 的运行过程中会尝试访问官方的 git 源更新自己,更换镜像源可以提高下载速度。将如下内容复制到你的~/.bashrc 里

      $ echo export REPO_URL='https://mirrors.bfsu.edu.cn/git/git-repo' >> ~/.bashrc
      $ source ~/.bashrc
      

      如果您使用的是 dash、hash、 zsh 等 shell,请参照 shell 的文档配置。

      配置保存身份认证

      新版本 git 默认加强了安全性,身份认证不会保存,导致拉取 repo 需要多次输入密码,可以用下列命令配置:

      git config --global credential.helper store
      

      20c115a9-6a4c-40cc-8b35-9d70bc65974e-image.png

      常见问题

      • 卡在Downloading Repo source from https://gerrit.googlesource.com/git-repo 不动。

        • 国内网络较慢,参照上面的更换镜像源解决。
      • 配置保存身份认证无效不启用

        • 检查是否运行了 sudo git config --global credential.helper store 使用了 sudo 后保存的信息会存储到 root 用户下并非当前用户。
      • 出现错误 fatal: cannot make directory: File exists

        • 之前拉取了 repo 但是不完整,需要删除 .repo 文件夹重新拉取

      SDK 拉取

      以 tina-v853-open 为例,讲述如何拉取 SDK。

      新建文件夹保存 SDK

      使用 mkdir 命令新建文件夹,保存之后需要拉取的 SDK,然后 cd 进入到刚才新建的文件夹中。

      $ mkdir tina-v853-open
      $ cd tina-v853-open
      

      初始化 Repo 仓库

      使用 repo init 命令初始化仓库,tina-d1-h 的仓库地址是 https://sdk.aw-ol.com/git_repo/V853Tina_Open/manifest.git 需要执行命令:

      $ repo init -u https://sdk.aw-ol.com/git_repo/V853Tina_Open/manifest.git -b master -m tina-v853-open.xml
      

      如果提示 Username for 'https://sdk.aw-ol.com': 请输入 全志在线开发者论坛 的用户名和密码。(注:需要全志在线开发者论坛LV2等级以上用户才有权限拉取 SDK)

      拉取 SDK

      使用命令 repo sync 拉取 SDK

      $ repo sync
      

      由于 SDK 普遍较大,拉取可能需要一定的时间。

      创建开发环境

      使用命令 repo start 创建开发环境分支

      $ repo start devboard-v853-tina-for-awol --all
      

      至此,SDK 获取完毕。

      H S A A 4 Replies Last reply Reply Quote Share 33
      • H
        hzhy1234 LV 5 @WhycanService last edited by

        @whycanservice 您好,请问V853s的SDK也可以用这个么?

        1 Reply Last reply Reply Quote Share 7
        • S
          skyshine LV 6 @WhycanService last edited by

          请问有D1-H的sdk的获取方式吗

          xiaowenge 1 Reply Last reply Reply Quote Share 7
          • xiaowenge
            DOT小文哥 LV 8 @skyshine last edited by

            @skyshine 在 新 SDK 平台下载 V853 SDK 中说:

            请问有D1-H的sdk的获取方式吗

            新 SDK 平台下载 D1-H/D1s SDK
            https://bbs.aw-ol.com/topic/3947/share/1

            S 1 Reply Last reply Reply Quote Share 8
            • S
              skyshine LV 6 @xiaowenge last edited by

              感谢小文哥,不知道为啥关键词搜SDK可以搜到其他三款芯片的帖子,就是搜不到D1-H的

              1 Reply Last reply Reply Quote Share 4
              • A
                aw2022 LV 4 @WhycanService last edited by

                @whycanservice * [new tag] v2.9 -> v2.9
                File "/home/ubuntu/newtinadocker/tina-v853-open/.repo/repo/main.py", line 81
                file=sys.stderr,
                ^
                SyntaxError: invalid syntax
                repo init 时出现这个问题,怎么解决?

                A H B 3 Replies Last reply Reply Quote Share 5
                • A
                  aw2022 LV 4 @aw2022 last edited by

                  @aw2022 apt install repo 的问题。 用国内镜像源安装repo的方法可以了

                  1 Reply Last reply Reply Quote Share 7
                  • H
                    huang825172 LV 3 @aw2022 last edited by

                    @aw2022 用 update-alternatives 工具,把默认 python 版本换成 python3 就行

                    1 Reply Last reply Reply Quote Share 5
                    • T
                      throg LV 1 last edited by

                      为V851SDK而来的,先看下怎么下载。

                      E 1 Reply Last reply Reply Quote Share 5
                      • M
                        Monster LV 2 last edited by

                        dingdingdingding

                        1 Reply Last reply Reply Quote Share 3
                        • R
                          Roy_Lu LV 2 last edited by

                          dingdingding

                          1 Reply Last reply Reply Quote Share 2
                          • A
                            A1273997358 LV 2 @WhycanService last edited by

                            dingding

                            1 Reply Last reply Reply Quote Share 1
                            • X
                              xiaozhi LV 2 last edited by

                              小智科技SW116 V853/V853S 开发板,长期更新:

                              链接:https://pan.baidu.com/s/1NGEoxHDItdPblOunoGUeBg?pwd=V853
                              提取码:V853

                              X 1 Reply Last reply Reply Quote Share 3
                              • ZibetK
                                ZibetK LV 3 last edited by

                                为了下载sdk而来,等级不够不让下载

                                1 Reply Last reply Reply Quote Share 1
                                • F
                                  燕十三 LV 2 last edited by

                                  为了下载sdk而来,等级不够不让下载

                                  1 Reply Last reply Reply Quote Share 1
                                  • M
                                    mysteryli LV 7 last edited by

                                    V851S的SDK也在这里下载吗?

                                    1 Reply Last reply Reply Quote Share 1
                                    • P
                                      proc_c LV 3 last edited by

                                      怎样才能升到V2啊

                                      L 1 Reply Last reply Reply Quote Share 1
                                      • M
                                        miaojingy LV 2 last edited by

                                        为了下载sdk而来,等级不够不让下载

                                        1 Reply Last reply Reply Quote Share 1
                                        • L
                                          llkkzz LV 2 @proc_c last edited by

                                          @proc_c 怎么升级到的LV2

                                          1 Reply Last reply Reply Quote Share 1
                                          • T
                                            teucrium LV 2 last edited by

                                            怎么升级到的LV2

                                            S 1 Reply Last reply Reply Quote Share 1
                                            • S
                                              spr2023 LV 4 @teucrium last edited by

                                              @teucrium 每天登录会有积分,或者回帖 发帖 都能有积分,然后就升级了

                                              1 Reply Last reply Reply Quote Share 1
                                              • Y
                                                Yonder LV 2 last edited by

                                                说是发帖和跟帖能升级v2

                                                1 Reply Last reply Reply Quote Share 1
                                                • V
                                                  VeiLiang LV 2 last edited by

                                                  看看我达到了没有呢

                                                  S 1 Reply Last reply Reply Quote Share 1
                                                  • S
                                                    spr2023 LV 4 @VeiLiang last edited by

                                                    @veiliang 你已经lv2了

                                                    Y 1 Reply Last reply Reply Quote Share 1
                                                    • Y
                                                      yefunbox LV 3 @spr2023 last edited by

                                                      @spr2023 怎么查看是否达到LV2

                                                      M 1 Reply Last reply Reply Quote Share 1
                                                      • M
                                                        ALE LV 5 @yefunbox last edited by

                                                        @yefunbox 点击你的账号头像b6ac35de-6d1c-45e5-b937-167f33a049cc-图片.png

                                                        Y 1 Reply Last reply Reply Quote Share 1
                                                        • A
                                                          AI379918679 LV 4 last edited by

                                                          This post is deleted!
                                                          1 Reply Last reply Reply Quote Share 0
                                                          • Y
                                                            yefunbox LV 3 @MicroMa last edited by

                                                            @microma 好的,谢谢

                                                            1 Reply Last reply Reply Quote Share 1
                                                            • B
                                                              bardi4567 LV 6 @aw2022 last edited by

                                                              @aw2022 I had similar issue on Ubuntu 18.04. Fixed it by:
                                                              sudo rm /usr/bin/python
                                                              sudo ln -s /usr/bin/python3 /usr/bin/python

                                                              1 Reply Last reply Reply Quote Share 3
                                                              • Z
                                                                zjianb LV 2 last edited by

                                                                dingdingdingding

                                                                1 Reply Last reply Reply Quote Share 1
                                                                • Z
                                                                  zjianb LV 2 last edited by

                                                                  拉取不到SDK,怎么升级LV3啊

                                                                  1 Reply Last reply Reply Quote Share 1
                                                                  • L
                                                                    lw409309740 LV 3 last edited by

                                                                    您好,请问v851s能用这个SDK吗?

                                                                    q1215200171 1 Reply Last reply Reply Quote Share 1
                                                                    • q1215200171
                                                                      budbool LV 9 @lw409309740 last edited by

                                                                      @lw409309740 可以,要稍微修改一下,参考这里 https://bbs.aw-ol.com/topic/2513/

                                                                      L 1 Reply Last reply Reply Quote Share 2
                                                                      • L
                                                                        lw409309740 LV 3 @q1215200171 last edited by

                                                                        @q1215200171 好的 感谢!

                                                                        1 Reply Last reply Reply Quote Share 1
                                                                        • S
                                                                          so_so_so LV 2 last edited by

                                                                          为了下载sdk而来,等级不够不让下载

                                                                          1 Reply Last reply Reply Quote Share 1
                                                                          • A
                                                                            ArthurMurata LV 2 last edited by

                                                                            來這裡下載SDK,但由於等級不夠不允許下載

                                                                            1 Reply Last reply Reply Quote Share 1
                                                                            • doniyor_khalilov99
                                                                              doniyor_khalilov LV 5 last edited by

                                                                              错误 !photo_2024-04-29_13-19-03.jpg

                                                                              1 Reply Last reply Reply Quote Share 1
                                                                              • S
                                                                                se7enZzz LV 2 last edited by

                                                                                大佬请问拉取SDK时卡住不动应该怎么解决呢?如下图
                                                                                2770cfe9-0b00-4ffe-bb17-49eed0574f7f-490b950f9894c587d94dd08b6730361.png

                                                                                doniyor_khalilov99 1 Reply Last reply Reply Quote Share 2
                                                                                • doniyor_khalilov99
                                                                                  doniyor_khalilov LV 5 @se7enZzz last edited by

                                                                                  @se7enzzz your LV need to LV2 or higher

                                                                                  1 Reply Last reply Reply Quote Share 1
                                                                                  • Y
                                                                                    yjfkpyu LV 2 last edited by

                                                                                    This post is deleted!
                                                                                    1 Reply Last reply Reply Quote Share 0
                                                                                    • E
                                                                                      eguang8116 LV 3 last edited by

                                                                                      V851S的SDK也用这个的吗?

                                                                                      q1215200171 1 Reply Last reply Reply Quote Share 0
                                                                                      • q1215200171
                                                                                        budbool LV 9 @eguang8116 last edited by

                                                                                        @eguang8116 楼上有修改方法

                                                                                        E 1 Reply Last reply Reply Quote Share 0
                                                                                        • E
                                                                                          eguang8116 LV 3 @q1215200171 last edited by

                                                                                          @q1215200171 谢谢,已经在下载了

                                                                                          1 Reply Last reply Reply Quote Share 0
                                                                                          • W
                                                                                            whjsdhr LV 2 last edited by

                                                                                            This post is deleted!
                                                                                            1 Reply Last reply Reply Quote Share 0
                                                                                            • E
                                                                                              evileny LV 3 @throg last edited by

                                                                                              @throg 您好,请问V851S的SDK您有地址吗

                                                                                              1 Reply Last reply Reply Quote Share 0
                                                                                              • S
                                                                                                sclock LV 2 last edited by

                                                                                                怎么下载不了。
                                                                                                repo init -u https://sdk.aw-ol.com/git_repo/V853Tina_Open/manifest.git -b master -m tina-v853-open.xml
                                                                                                git requires authentication, but repo cannot perform interactive authentication. Check git credentials.
                                                                                                fatal: cannot obtain manifest https://sdk.aw-ol.com/git_repo/V853Tina_Open/manifest.git

                                                                                                Repo command failed: UpdateManifestError
                                                                                                Unable to sync manifest tina-v853-open.xml

                                                                                                H 1 Reply Last reply Reply Quote Share 0
                                                                                                • Q
                                                                                                  qhEM123 LV 2 last edited by

                                                                                                  ffc65814-b6c4-4cd5-9f64-9f5bac01536d-image.png
                                                                                                  我也遇到了无法下载问题,这个怎么解决呢?

                                                                                                  H 1 Reply Last reply Reply Quote Share 0
                                                                                                  • H
                                                                                                    haifeng LV 2 @sclock last edited by

                                                                                                    @sclock 1.png 2.png

                                                                                                    1 Reply Last reply Reply Quote Share 0
                                                                                                    • H
                                                                                                      haifeng LV 2 @qhEM123 last edited by

                                                                                                      @qhem123 1.png 2.png

                                                                                                      1 Reply Last reply Reply Quote Share 0
                                                                                                      • X
                                                                                                        xinzhongdeyun LV 2 @xiaozhi last edited by

                                                                                                        @xiaozhi 非常感谢,资料很全面

                                                                                                        1 Reply Last reply Reply Quote Share 0
                                                                                                        • W
                                                                                                          wuyulunbi LV 2 last edited by

                                                                                                          This post is deleted!
                                                                                                          1 Reply Last reply Reply Quote Share 0
                                                                                                          • A
                                                                                                            aiwen LV 2 last edited by

                                                                                                            升级LV2需要多少积分?

                                                                                                            1 Reply Last reply Reply Quote Share 0
                                                                                                            • W
                                                                                                              windsky LV 2 last edited by

                                                                                                              拉取失败是什么原因
                                                                                                              887d4d2a-6b0c-4f45-82e7-e522848d21c9-image.png

                                                                                                              1 Reply Last reply Reply Quote Share 0
                                                                                                              • Z
                                                                                                                zhihua LV 1 last edited by

                                                                                                                @whycanservice 在 新 SDK 平台下载 V853 SDK 中说:

                                                                                                                repo init -u https://sdk.aw-ol.com/git_repo/V853Tina_Open/manifest.git -b master -m tina-v853-open.xml

                                                                                                                现在还能下载吗?

                                                                                                                I 1 Reply Last reply Reply Quote Share 0
                                                                                                                • A
                                                                                                                  aw_ol_w LV 3 last edited by

                                                                                                                  现在下载会报错
                                                                                                                  allwinner@allwinner-VirtualBox:~/tina-v853-open$ repo init -u https://sdk.aw-ol.com/git_repo/V853Tina_Open/manifest.git -b master -m tina-v853-open.xml
                                                                                                                  Downloading Repo source from https://mirrors.bfsu.edu.cn/git/git-repo
                                                                                                                  remote: Counting objects: 3, done.
                                                                                                                  remote: Compressing objects: 100% (2/2), done.
                                                                                                                  remote: Total 3 (delta 0), reused 0 (delta 0)
                                                                                                                  Unpacking objects: 100% (3/3), 1.41 KiB | 1.41 MiB/s, done.
                                                                                                                  repo: error: unable to resolve "stable"
                                                                                                                  fatal: double check your --repo-rev setting.
                                                                                                                  fatal: cloning the git-repo repository failed, will remove '.repo/repo'
                                                                                                                  allwinner@allwinner-VirtualBox:~/tina-v853-open$

                                                                                                                  1 Reply Last reply Reply Quote Share 0
                                                                                                                  • I
                                                                                                                    indream LV 3 @zhihua last edited by

                                                                                                                    @zhihua 个人开发者好像没有权限了?

                                                                                                                    1 Reply Last reply Reply Quote Share 0
                                                                                                                    • D
                                                                                                                      david99 LV 1 last edited by

                                                                                                                      @aw_ol_w 在 新 SDK 平台下载 V853 SDK 中说:

                                                                                                                      repo init -u https://sdk.aw-ol.com/git_repo/V853Tina_Open/manifest.git -b master -m tina-v853-open.xml

                                                                                                                      如何快速下载SDK呢?

                                                                                                                      A 1 Reply Last reply Reply Quote Share 0
                                                                                                                      • A
                                                                                                                        aw_ol_w LV 3 @david99 last edited by

                                                                                                                        @david99 原来按这个帖子就可以下在SDK,现在下载不了了

                                                                                                                        1 Reply Last reply Reply Quote Share 0
                                                                                                                        • 1 / 1
                                                                                                                        • First post
                                                                                                                          Last post

                                                                                                                        Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

                                                                                                                        行为准则 | 用户协议 | 隐私权政策