Navigation

    全志在线开发者论坛

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

    新 SDK 平台下载 D1-H/D1s SDK

    MR Series
    88
    127
    69048
    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-d1-h 为例,讲述如何拉取 SDK。

      新建文件夹保存 SDK

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

      $ mkdir tina-d1-h
      $ cd tina-d1-h
      

      初始化 Repo 仓库

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

      $ repo init -u https://sdk.aw-ol.com/git_repo/D1_Tina_Open/manifest.git -b master -m tina-d1-h.xml
      

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

      LV2 升级需要 49积分,获取积分方法如下:

      ① 1次主题帖发布(发帖):50积分
      ② 1次有效回帖:25积分
      ③ 1次点赞:6积分
      ④ 每日登录:6积分

      拉取 SDK

      使用命令 repo sync 拉取 SDK

      $ repo sync
      

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

      创建开发环境

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

      $ repo start product-smartx-d1-h-tina-stable-v2.0 --all
      

      至此,SDK 获取完毕。

      houxc01 Z A K S 12 Replies Last reply Reply Quote Share 95
      • Referenced by  xiaowenge xiaowenge 
      • Referenced by  xiaowenge xiaowenge 
      • Referenced by  whycan whycan 
      • L
        lxia7212 LV 2 last edited by

        ec911483-4c61-4a9a-af2f-cc54cc6102fb-image.png

        这是由于我不是L2级别的用户还是其他原因?

        WhycanService S 2 Replies Last reply Reply Quote Share 36
        • WhycanService
          WhycanService LV 8 @lxia7212 last edited by

          @lxia7212 没到lv2,现在可以了

          1 Reply Last reply Reply Quote Share 28
          • H
            ht1123 LV 4 last edited by

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

              不错,来升个LV2

              1 Reply Last reply Reply Quote Share 21
              • Y
                yelong98 LV 7 last edited by

                T113能在新平台下么?

                N 1 Reply Last reply Reply Quote Share 21
                • houxc01
                  houxc01 LV 2 @WhycanService last edited by

                  @whycanservice 怎么升级快一点,还是lv1

                  1 Reply Last reply Reply Quote Share 21
                  • Z
                    zhouyuan369 LV 3 @WhycanService last edited by

                    @whycanservice aaa@aaa-M800:~/tina-d1-h$ repo init -u https://sdk.aw-ol.com/git_repo/D1_Tina_Open/manifest.git -b master -m tina-d1-h.xml
                    Traceback (most recent call last):
                    File "/home/aaa/tina-d1-h/.repo/repo/main.py", line 56, in <module>
                    from subcmds.version import Version
                    File "/home/aaa/tina-d1-h/.repo/repo/subcmds/init.py", line 38, in <module>
                    ['%s' % name])
                    File "/home/aaa/tina-d1-h/.repo/repo/subcmds/start.py", line 26, in <module>
                    from project import SyncBuffer
                    File "/home/aaa/tina-d1-h/.repo/repo/project.py", line 33, in <module>
                    import requests
                    ImportError: No module named requests
                    没有提示

                    WhycanService 1 Reply Last reply Reply Quote Share 16
                    • WhycanService
                      WhycanService LV 8 @zhouyuan369 last edited by

                      @zhouyuan369 repo安装的问题,参考repo安装文档

                      Z 1 Reply Last reply Reply Quote Share 15
                      • Z
                        zhouyuan369 LV 3 @WhycanService last edited by

                        @whycanservice repo init -u https://sdk.aw-ol.com/git_repo/D1_Tina_Open/manifest.git -b master -m tina-d1-h.xml

                        现在是动都不动了

                        Z 1 Reply Last reply Reply Quote Share 15
                        • Z
                          zhouyuan369 LV 3 @zhouyuan369 last edited by

                          @zhouyuan369 最后用python3 /usr/bin/repo init -u https://sdk.aw-ol.com/git_repo/D1_Tina_Open/manifest.git -b master -m tina-d1-h.xml输入用户密码了,就是不够级

                          1 Reply Last reply Reply Quote Share 15
                          • V
                            vuiot LV 4 last edited by

                            @whycanservice 在 新 SDK 平台下载 D1-H/D1s SDK 中说:

                            repo start

                            a60f43ad-9b54-4c67-b88b-c927a45b4b7d-image.png

                            这个错误怎么回事

                            WhycanService 1 Reply Last reply Reply Quote Share 11
                            • WhycanService
                              WhycanService LV 8 @vuiot last edited by

                              @vuiot 基础开发环境没有安装,缺少bison命令

                              8e9f9774-928b-410f-8066-1a2ea19d5284-image.png

                              sudo apt-get install build-essential subversion git libncurses5-dev zlib1g-dev gawk flex bison quilt libssl-dev xsltproc libxml-parser-perl mercurial bzr ecj cvs unzip lsof kconfig-frontends android-tools-mkbootimg python2 libpython3-dev gcc-multilib libc6:i386 libstdc++6:i386 lib32z1
                              
                              V 1 Reply Last reply Reply Quote Share 12
                              • V
                                vuiot LV 4 @WhycanService last edited by

                                @whycanservice 谢谢大佬 不过命令里面都没有这个 我手动安装就可以了

                                H 1 Reply Last reply Reply Quote Share 10
                                • Z
                                  zhouyuan369 LV 3 @WhycanService last edited by xiaowenge

                                  @whycanservice

                                  aa@aaa-M800:~/tina-d1-h$ repo init -u https://sdk.aw-ol.com/git_repo/D1_Tina_Open/manifest.git -b master -m tina-d1-h.xml
                                  Username for 'https://sdk.aw-ol.com': zhouyuan369
                                  Password for 'https://zhouyuan369@sdk.aw-ol.com': 
                                  
                                  Traceback (most recent call last):
                                    File "/home/aaa/tina-d1-h/.repo/repo/main.py", line 896, in <module>
                                      _Main(sys.argv[1:])
                                    File "/home/aaa/tina-d1-h/.repo/repo/main.py", line 861, in _Main
                                      result = repo._Run(name, gopts, argv) or 0
                                    File "/home/aaa/tina-d1-h/.repo/repo/main.py", line 293, in _Run
                                      result = run()
                                    File "/home/aaa/tina-d1-h/.repo/repo/main.py", line 276, in <lambda>
                                      run = lambda: self._RunLong(name, gopts, argv) or 0
                                    File "/home/aaa/tina-d1-h/.repo/repo/main.py", line 450, in _RunLong
                                      execute_command()
                                    File "/home/aaa/tina-d1-h/.repo/repo/main.py", line 416, in execute_command
                                      execute_command_helper()
                                    File "/home/aaa/tina-d1-h/.repo/repo/main.py", line 382, in execute_command_helper
                                      result = cmd.Execute(copts, cargs)
                                    File "/home/aaa/tina-d1-h/.repo/repo/subcmds/init.py", line 393, in Execute
                                      self._ConfigureUser(opt)
                                    File "/home/aaa/tina-d1-h/.repo/repo/subcmds/init.py", line 210, in _ConfigureUser
                                      name = self._Prompt("Your Name", mp.UserName)
                                    File "/home/aaa/tina-d1-h/.repo/repo/project.py", line 756, in UserName
                                      self._LoadUserIdentity()
                                    File "/home/aaa/tina-d1-h/.repo/repo/project.py", line 769, in _LoadUserIdentity
                                      u = self.bare_git.var("GIT_COMMITTER_IDENT")
                                    File "/home/aaa/tina-d1-h/.repo/repo/project.py", line 3701, in runner
                                      p.Wait()
                                    File "/home/aaa/tina-d1-h/.repo/repo/git_command.py", line 407, in Wait
                                      git_stderr=stderr,
                                  git_command.GitCommandError: GitCommandError: git command failure
                                      Project: manifests
                                      Args: var GIT_COMMITTER_IDENT
                                      Stdout:
                                  None
                                      Stderr:
                                  

                                  这个怎么办呀?卡两天了,网上也找不到

                                  V K 2 Replies Last reply Reply Quote Share 7
                                  • V
                                    vuiot LV 4 @zhouyuan369 last edited by

                                    @zhouyuan369 不要用apt insatll repo 用后面的方法,刚踩完坑😬

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

                                      升完lv2,再来试试看

                                      1 Reply Last reply Reply Quote Share 6
                                      • K
                                        krhougs LV 2 last edited by

                                        坐等lv2。zzzz斜体字

                                        1 Reply Last reply Reply Quote Share 8
                                        • H
                                          hanchen LV 3 last edited by

                                          支持代理方式下载不?

                                          1 Reply Last reply Reply Quote Share 8
                                          • Z
                                            zhouyuan369 LV 3 @WhycanService last edited by

                                            @whycanservice 怎么都不行,能不能来个网盘呀?

                                            A 1 Reply Last reply Reply Quote Share 8
                                            • A
                                              awwwwa LV 8 @zhouyuan369 last edited by

                                              @zhouyuan369 网盘要怎么接收后续更新呢,重新下载25G的压缩包吗?

                                              Z 1 Reply Last reply Reply Quote Share 7
                                              • Z
                                                zhouyuan369 LV 3 @awwwwa last edited by

                                                @awwwwarepo的方法,用PY2。7,总是说什么不支持长语法,用3。6吧,也会语法错误,用国内源REPO也还是不行,REPO,LINUX

                                                A 1 Reply Last reply Reply Quote Share 8
                                                • A
                                                  awwwwa LV 8 @zhouyuan369 last edited by

                                                  @zhouyuan369 删除文件夹内的.repo隐藏文件夹重新拉取

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

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

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

                                                        升级一下到lv2

                                                        1 Reply Last reply Reply Quote Share 4
                                                        • H
                                                          hanchen LV 3 last edited by

                                                          e54aa1b6-f9fb-4dc7-aff2-d737c1d2464e-image.png

                                                          SDK 对应的域名,需要续签一下 SSL 证书~

                                                          1 Reply Last reply Reply Quote Share 3
                                                          • H
                                                            hanchen LV 3 @vuiot last edited by

                                                            @vuiot 遇到相同的问题,是 git config 没有配置用户信息导致的

                                                            git config --global user.name UserName
                                                            git config --global user.email user@mail.com
                                                            

                                                            建议替换成有效信息。

                                                            1 Reply Last reply Reply Quote Share 4
                                                            • H
                                                              huweiyang1996 LV 2 last edited by

                                                              怎么升级啊怎么升级啊

                                                              1 Reply Last reply Reply Quote Share 2
                                                              • H
                                                                huweiyang1996 LV 2 last edited by

                                                                dc6ab67c-598f-4b25-a879-10154ae2aa03-image.png

                                                                H 1 Reply Last reply Reply Quote Share 3
                                                                • H
                                                                  hanchen LV 3 @huweiyang1996 last edited by

                                                                  @huweiyang1996
                                                                  建议等到官方更新站点的SSL 证书再试。

                                                                  也可以试试,这个环境变量

                                                                  export GIT_SSL_NO_VERIFY=true
                                                                  
                                                                  1 Reply Last reply Reply Quote Share 4
                                                                  • L
                                                                    lisheng598588465 LV 1 last edited by

                                                                    实验一下 想试一下官方的SDK

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

                                                                      @whycanservice 怎样直接把kernel和设备树下载到ram的指定地址中?这样不用每次烧写flash或者sd卡。cklink可以不?

                                                                      1 Reply Last reply Reply Quote Share 2
                                                                      • Referenced by  xiaowenge xiaowenge 
                                                                      • Referenced by  A awwwwa 
                                                                      • D
                                                                        denghuayong LV 1 last edited by

                                                                        怎样升LV2, 下载是不是需要LV2

                                                                        R 1 Reply Last reply Reply Quote Share 2
                                                                        • R
                                                                          ralfx LV 1 @denghuayong last edited by

                                                                          等LV2啊下载😁

                                                                          1 Reply Last reply Reply Quote Share 2
                                                                          • K
                                                                            KWING LV 2 @zhouyuan369 last edited by

                                                                            @zhouyuan369 这。。。离下载还差一个V2

                                                                            1 Reply Last reply Reply Quote Share 1
                                                                            • K
                                                                              KWING LV 2 @WhycanService last edited by

                                                                              @whycanservice 等V2下载

                                                                              J 1 Reply Last reply Reply Quote Share 1
                                                                              • L
                                                                                luthane LV 2 last edited by

                                                                                坐等lv2,冲啊

                                                                                1 Reply Last reply Reply Quote Share 1
                                                                                • J
                                                                                  jerry_weng LV 2 @KWING last edited by

                                                                                  @kwing 一样

                                                                                  1 Reply Last reply Reply Quote Share 1
                                                                                  • A
                                                                                    abcvd LV 3 last edited by

                                                                                    需要LV2,不然下载不了sdk,有点麻烦

                                                                                    1 Reply Last reply Reply Quote Share 1
                                                                                    • Referenced by  A awwwwa 
                                                                                    • F
                                                                                      fizecoding LV 2 last edited by

                                                                                      支持一下 看看能不能打个补丁继续给t113使用

                                                                                      M D 2 Replies Last reply Reply Quote Share 1
                                                                                      • Y
                                                                                        yongzong LV 2 last edited by

                                                                                        这个是tina-2.0的? 最新tina是什么版本?

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

                                                                                          有没有T133的sdk呀

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

                                                                                            @fizecoding D1-H可以打补丁给 T113

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

                                                                                              caba6000-1f27-46bd-a6e1-9fa2ce66b0ec-图片.png
                                                                                              这个 拉取有错误呀

                                                                                              Y 1 Reply Last reply Reply Quote Share 1
                                                                                              • Y
                                                                                                yeas1235 LV 2 @MicroMa last edited by

                                                                                                @microma good

                                                                                                1 Reply Last reply Reply Quote Share 1
                                                                                                • S
                                                                                                  sdsdsd LV 2 @WhycanService last edited by

                                                                                                  @whycanservice 升个v2,看看什么能成功

                                                                                                  1 Reply Last reply Reply Quote Share 1
                                                                                                  • F
                                                                                                    fengzi2003 LV 2 last edited by

                                                                                                    mark一下,顺便升个级

                                                                                                    1 Reply Last reply Reply Quote Share 1
                                                                                                    • S
                                                                                                      softchip LV 2 @lxia7212 last edited by

                                                                                                      @lxia7212 单词打错了,是manifest.git, 不是mainfest.git

                                                                                                      1 Reply Last reply Reply Quote Share 0
                                                                                                      • H
                                                                                                        hongyancl LV 4 last edited by

                                                                                                        T113能在新平台下么

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

                                                                                                          @hongyancl 不能,可以下D1-H的SDK然后打补丁给T113用

                                                                                                          1 Reply Last reply Reply Quote Share 1
                                                                                                          • L
                                                                                                            lixinshi LV 3 @WhycanService last edited by

                                                                                                            @whycanservice 怎么升级快一点,还是lv1

                                                                                                            E 1 Reply Last reply Reply Quote Share 0
                                                                                                            • Q
                                                                                                              qzjh123 LV 2 last edited by

                                                                                                              马克一下 ,插个眼,正需要这个,感谢分享

                                                                                                              1 Reply Last reply Reply Quote Share 0
                                                                                                              • M
                                                                                                                MKJing LV 2 @WhycanService last edited by

                                                                                                                @whycanservice 好的,多谢博主!太有用了

                                                                                                                1 Reply Last reply Reply Quote Share 0
                                                                                                                • M
                                                                                                                  MKJing LV 2 last edited by

                                                                                                                  多谢大佬,插个眼

                                                                                                                  1 Reply Last reply Reply Quote Share 0
                                                                                                                  • E
                                                                                                                    Etran LV 1 @lixinshi last edited by

                                                                                                                    @lixinshi 蹭一下 等升级

                                                                                                                    1 Reply Last reply Reply Quote Share 0
                                                                                                                    • D
                                                                                                                      damiaa LV 3 @fizecoding last edited by

                                                                                                                      @fizecoding 能打补丁支持T113-s3吗?

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

                                                                                                                        上手DongshanpiSTU D1中,正需要,感谢

                                                                                                                        1 Reply Last reply Reply Quote Share 0
                                                                                                                        • M
                                                                                                                          makerjia LV 2 last edited by

                                                                                                                          为啥需要升级才能下载,好奇怪

                                                                                                                          DAIZEBIN 1 Reply Last reply Reply Quote Share 0
                                                                                                                          • DAIZEBIN
                                                                                                                            DAIZEBIN LV 7 @makerjia last edited by

                                                                                                                            @makerjia 感觉可以出一个专门的贴子,专门放网上搜集而来的SDK👻 👻

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

                                                                                                                              支持全志的开源计划,让广大开发者收益

                                                                                                                              G 1 Reply Last reply Reply Quote Share 1
                                                                                                                              • R
                                                                                                                                rammor LV 2 last edited by

                                                                                                                                手上有个RDC的板子,下载下来玩玩看看

                                                                                                                                1 Reply Last reply Reply Quote Share 0
                                                                                                                                • M
                                                                                                                                  machiner LV 2 @WhycanService last edited by

                                                                                                                                  @whycanservice 要快升级到lv2

                                                                                                                                  1 Reply Last reply Reply Quote Share 0
                                                                                                                                  • W
                                                                                                                                    wuzhujian LV 6 last edited by

                                                                                                                                    我编译是成功了,但生成的 d1s-nezha-boot.img 的大小只有7.9M大小。
                                                                                                                                    不知道这生成的 img 文件,是SD卡的,还是 nor 的?
                                                                                                                                    我找了半天,也没找到相关说明。
                                                                                                                                    不知有谁能说明一下,谢谢!

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

                                                                                                                                      R128什么时候开放SDK啊,目前还是敬请期待。。。

                                                                                                                                      DAIZEBIN 1 Reply Last reply Reply Quote Share 0
                                                                                                                                      • DAIZEBIN
                                                                                                                                        DAIZEBIN LV 7 @wuzhujian last edited by

                                                                                                                                        @wuzhujian
                                                                                                                                        D1的SDK,nand介质和SD卡介质是通用一个固件的,nor的固件单独开来/
                                                                                                                                        区别方法:
                                                                                                                                        看编译出来的固件带不带“_nor_关键字就可以了”

                                                                                                                                        W Q 2 Replies Last reply Reply Quote Share 1
                                                                                                                                        • DAIZEBIN
                                                                                                                                          DAIZEBIN LV 7 @sdfbsdfbsd last edited by

                                                                                                                                          @sdfbsdfbsd whycan网搜一下就出来了,很多大佬分享的🤑 🤑 🤑 🤑

                                                                                                                                          1 Reply Last reply Reply Quote Share 1
                                                                                                                                          • W
                                                                                                                                            wuzhujian LV 6 @DAIZEBIN last edited by

                                                                                                                                            @daizebin 我另外找一个 Buildroot-YuzukiSBC,也能正常编译。这个要好一点,生成的 img 文件,后缀带有 nand/nor/sd ,让人容易理解。

                                                                                                                                            1 Reply Last reply Reply Quote Share 0
                                                                                                                                            • G
                                                                                                                                              glossTsai LV 2 @tjhohai1983 last edited by

                                                                                                                                              @tjhohai1983 全志资料感觉网上好少啊,请问你们一般在哪获取

                                                                                                                                              1 Reply Last reply Reply Quote Share 0
                                                                                                                                              • gharibi
                                                                                                                                                gharibi LV 5 last edited by

                                                                                                                                                @zhouyuan369 在 新 SDK 平台下载 D1-H/D1s SDK 中说:

                                                                                                                                                repo init -u https://sdk.aw-ol.com/git_repo/D1_Tina_Open/manifest.git -b master -m tina-d1-h.xml

                                                                                                                                                下載卡在29%一個多小時!
                                                                                                                                                "Fetching: 29% (5/17)

                                                                                                                                                有任何想法嗎?

                                                                                                                                                zznzzn 1 Reply Last reply Reply Quote Share 0
                                                                                                                                                • zznzzn
                                                                                                                                                  zznzzn LV 6 @gharibi last edited by

                                                                                                                                                  @gharibi
                                                                                                                                                  try

                                                                                                                                                  sudo git config --global credential.helper store
                                                                                                                                                  
                                                                                                                                                  gharibi 1 Reply Last reply Reply Quote Share 0
                                                                                                                                                  • gharibi
                                                                                                                                                    gharibi LV 5 @zznzzn last edited by

                                                                                                                                                    @zznzzn 這與下載有什麼關係?無論如何,我在流程開始時就已經這樣做了!

                                                                                                                                                    zznzzn 1 Reply Last reply Reply Quote Share 0
                                                                                                                                                    • zznzzn
                                                                                                                                                      zznzzn LV 6 @gharibi last edited by

                                                                                                                                                      @gharibi 那只能是网络问题了

                                                                                                                                                      gharibi 1 Reply Last reply Reply Quote Share 0
                                                                                                                                                      • gharibi
                                                                                                                                                        gharibi LV 5 @zznzzn last edited by

                                                                                                                                                        @zznzzn 但願如此。我已經嘗試過好幾次了!

                                                                                                                                                        J 1 Reply Last reply Reply Quote Share 0
                                                                                                                                                        • J
                                                                                                                                                          Jingyan LV 5 @gharibi last edited by

                                                                                                                                                          @gharibi Hi, where is your location? we didn't try it out of china😬 Maybe you need VPN...

                                                                                                                                                          gharibi 3 Replies Last reply Reply Quote Share 0
                                                                                                                                                          • gharibi
                                                                                                                                                            gharibi LV 5 @Jingyan last edited by

                                                                                                                                                            @jingyan 我住在土耳其。也許這就是原因?我仍然無法完成下載

                                                                                                                                                            1 Reply Last reply Reply Quote Share 0
                                                                                                                                                            • gharibi
                                                                                                                                                              gharibi LV 5 @Jingyan last edited by

                                                                                                                                                              @jingyan repo_sync.jpg

                                                                                                                                                              1 Reply Last reply Reply Quote Share 0
                                                                                                                                                              • gharibi
                                                                                                                                                                gharibi LV 5 @Jingyan last edited by

                                                                                                                                                                @jingyan 我想知道最近是否有人嘗試過。我確定這不是網路問題。不然為什麼到了29%就卡在那裡了?

                                                                                                                                                                這是現在最後一次更新:

                                                                                                                                                                fatal: index-pack failed
                                                                                                                                                                error: Cannot fetch product/tina/dl from https://sdk.aw-ol.com/git_repo/D1_Tina_Open/tina-d1-h/product/tina/dl
                                                                                                                                                                Fetching: 47% (8/17) 
                                                                                                                                                                
                                                                                                                                                                J 1 Reply Last reply Reply Quote Share 0
                                                                                                                                                                • J
                                                                                                                                                                  Jingyan LV 5 @gharibi last edited by

                                                                                                                                                                  @gharibi From the log i see the dl folder cannot download, cloud you please try clone it alone such as
                                                                                                                                                                  git clone https://sdk.aw-ol.com/git_repo/D1_Tina_Open/tina-d1-h/product/tina/dl
                                                                                                                                                                  to see what happend.
                                                                                                                                                                  Again, I think is still network or your git configuretion issue.
                                                                                                                                                                  Try the search early EOF or TLS packet keywords on google

                                                                                                                                                                  gharibi 3 Replies Last reply Reply Quote Share 0
                                                                                                                                                                  • gharibi
                                                                                                                                                                    gharibi LV 5 @Jingyan last edited by

                                                                                                                                                                    @jingyan 在 新 SDK 平台下载 D1-H/D1s SDK 中说:

                                                                                                                                                                    https://sdk.aw-ol.com/git_repo/D1_Tina_Open/tina-d1-h/product/tina/dl

                                                                                                                                                                    git clone https://sdk.aw-ol.com/git_repo/D1_Tina_Open/tina-d1-h/product/tina/dl
                                                                                                                                                                    Cloning into 'dl'...
                                                                                                                                                                    remote: Counting objects: 775, done.
                                                                                                                                                                    remote: Compressing objects: 100% (775/775), done.
                                                                                                                                                                    Receiving objects:   0% (4/775), 76.00 KiB | 6.00 KiB/s 
                                                                                                                                                                    
                                                                                                                                                                    

                                                                                                                                                                    感謝您的答覆。順便說一下,我還在努力獲取它,但我只是嘗試使用git克隆,看起來工作正常,但是下載速度非常慢。這可能需要很長時間才能完成。

                                                                                                                                                                    1 Reply Last reply Reply Quote Share 0
                                                                                                                                                                    • gharibi
                                                                                                                                                                      gharibi LV 5 @Jingyan last edited by

                                                                                                                                                                      @jingyan ```

                                                                                                                                                                      git clone https://sdk.aw-ol.com/git_repo/D1_Tina_Open/tina-d1-h/product/tina/dl
                                                                                                                                                                      Cloning into 'dl'...
                                                                                                                                                                      remote: Counting objects: 775, done.
                                                                                                                                                                      remote: Compressing objects: 100% (775/775), done.
                                                                                                                                                                      error: RPC failed; curl 56 GnuTLS recv error (-9): Error decoding the received TLS packet.
                                                                                                                                                                      fatal: the remote end hung up unexpectedly
                                                                                                                                                                      fatal: early EOF
                                                                                                                                                                      fatal: index-pack failed
                                                                                                                                                                      

                                                                                                                                                                      看來使用 Git 進行克隆也必須面對同樣的問題。這是 Git 的已知問題嗎?我會嘗試尋找問題所在。任何建議表示讚賞!

                                                                                                                                                                      J 1 Reply Last reply Reply Quote Share 0
                                                                                                                                                                      • gharibi
                                                                                                                                                                        gharibi LV 5 @Jingyan last edited by

                                                                                                                                                                        @jingyan
                                                                                                                                                                        我可以使用此處提供的相同 SDK:

                                                                                                                                                                        https://pan.baidu.com/s/1wxUeYQZaSgAPGorGOVcJxA?pwd=tina

                                                                                                                                                                        J 1 Reply Last reply Reply Quote Share 0
                                                                                                                                                                        • J
                                                                                                                                                                          Jingyan LV 5 @gharibi last edited by

                                                                                                                                                                          @gharibi Yes it's git configure issue, you can reference to https://www.cnblogs.com/jsdy/p/12191828.html

                                                                                                                                                                          1 Reply Last reply Reply Quote Share 0
                                                                                                                                                                          • J
                                                                                                                                                                            Jingyan LV 5 @gharibi last edited by

                                                                                                                                                                            @gharibi Yes baidu cloud can also download SDK, the only difference with git is cannot pull the newest code and git commit log

                                                                                                                                                                            gharibi 1 Reply Last reply Reply Quote Share 0
                                                                                                                                                                            • C
                                                                                                                                                                              cwl0826 LV 2 last edited by

                                                                                                                                                                              升完lv2,再来试试看

                                                                                                                                                                              1 Reply Last reply Reply Quote Share 0
                                                                                                                                                                              • gharibi
                                                                                                                                                                                gharibi LV 5 @Jingyan last edited by

                                                                                                                                                                                @jingyan

                                                                                                                                                                                一個小更新

                                                                                                                                                                                我已經能夠從百度雲端取得SDK並且Tina Linux編譯成功,沒有任何問題!

                                                                                                                                                                                Add partion very boot-resource.fex BOOT-RESOURCE_FEX
                                                                                                                                                                                FilePath: boot-resource.fex
                                                                                                                                                                                FileLength=14000Add partion env.fex ENV_FEX000000000
                                                                                                                                                                                Add partion very env.fex ENV_FEX000000000
                                                                                                                                                                                FilePath: env.fex
                                                                                                                                                                                FileLength=20000Add partion env.fex ENV_FEX000000000
                                                                                                                                                                                Add partion very env.fex ENV_FEX000000000
                                                                                                                                                                                FilePath: env.fex
                                                                                                                                                                                FileLength=20000Add partion boot.fex BOOT_FEX00000000
                                                                                                                                                                                Add partion very boot.fex BOOT_FEX00000000
                                                                                                                                                                                FilePath: boot.fex
                                                                                                                                                                                FileLength=3ef800Add partion rootfs.fex ROOTFS_FEX000000
                                                                                                                                                                                Add partion very rootfs.fex ROOTFS_FEX000000
                                                                                                                                                                                FilePath: rootfs.fex
                                                                                                                                                                                FileLength=e00000BuildImg 0
                                                                                                                                                                                Dragon execute image.cfg SUCCESS !
                                                                                                                                                                                ----------image is for nand/emmc----------
                                                                                                                                                                                ----------image is at----------
                                                                                                                                                                                
                                                                                                                                                                                /home/user/Tina-Linux/out/t113-mq_r/tina_t113-mq_r_uart0.img
                                                                                                                                                                                
                                                                                                                                                                                pack finish
                                                                                                                                                                                
                                                                                                                                                                                
                                                                                                                                                                                J 1 Reply Last reply Reply Quote Share 0
                                                                                                                                                                                • J
                                                                                                                                                                                  Jingyan LV 5 @gharibi last edited by

                                                                                                                                                                                  @gharibi Woohoo, Congratulations, welcome join aw development.

                                                                                                                                                                                  gharibi 1 Reply Last reply Reply Quote Share 0
                                                                                                                                                                                  • K
                                                                                                                                                                                    kaypton LV 2 last edited by

                                                                                                                                                                                    This post is deleted!
                                                                                                                                                                                    1 Reply Last reply Reply Quote Share 0
                                                                                                                                                                                    • gharibi
                                                                                                                                                                                      gharibi LV 5 @Jingyan last edited by

                                                                                                                                                                                      @jingyan

                                                                                                                                                                                      謝謝老闆!然而,我的喜悅並沒有持續太久。

                                                                                                                                                                                      我知道“lvgl”已經包含在 Tina Linux 中,並且可以使用“menuconfig”輕鬆啟用它。但是,當像這樣啟用“lvgl”時:“Gui > Littlevgl > lv_demo <*>”我收到建置錯誤:

                                                                                                                                                                                      main.c: In function 'hal_init':
                                                                                                                                                                                      main.c:60:2: warning: implicit declaration of function 'ctpdev_init' [-Wimplicit-function-declaration]
                                                                                                                                                                                        ctpdev_init();
                                                                                                                                                                                        ^~~~~~~~~~~
                                                                                                                                                                                      main.c:64:25: error: 'ctpdev_read' undeclared (first use in this function)
                                                                                                                                                                                           indev_drv.read_cb = ctpdev_read;         /*This function will be called periodically (by the library) to get the mouse position and state*/
                                                                                                                                                                                                               ^~~~~~~~~~~
                                                                                                                                                                                      main.c:64:25: note: each undeclared identifier is reported only once for each function it appears in
                                                                                                                                                                                      main.c:70:3: warning: incompatible implicit declaration of built-in function 'printf'
                                                                                                                                                                                         printf("create thread fail\n");
                                                                                                                                                                                         ^~~~~~
                                                                                                                                                                                      main.c:70:3: note: include '<stdio.h>' or provide a declaration of 'printf'
                                                                                                                                                                                      main.c:73:2: warning: incompatible implicit declaration of built-in function 'printf'
                                                                                                                                                                                        printf("tick_id=%d\n", tick_id);
                                                                                                                                                                                        ^~~~~~
                                                                                                                                                                                      main.c:73:2: note: include '<stdio.h>' or provide a declaration of 'printf'
                                                                                                                                                                                      main.c: In function 'main':
                                                                                                                                                                                      main.c:93:2: warning: implicit declaration of function 'demo_create' [-Wimplicit-function-declaration]
                                                                                                                                                                                        demo_create();
                                                                                                                                                                                      
                                                                                                                                                                                      

                                                                                                                                                                                      另外,我可以在哪裡找到已經整合了這些不錯的範例、智慧時鐘等的方形或圓形 T113-S3_86 項目的源代碼?

                                                                                                                                                                                      再次感謝您的幫助與支持!

                                                                                                                                                                                      H 1 Reply Last reply Reply Quote Share 0
                                                                                                                                                                                      • C
                                                                                                                                                                                        chloe159753 LV 2 @WhycanService last edited by

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

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

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

                                                                                                                                                                                              This post is deleted!
                                                                                                                                                                                              1 Reply Last reply Reply Quote Share 0
                                                                                                                                                                                              • H
                                                                                                                                                                                                hanyeaaa LV 3 @gharibi last edited by

                                                                                                                                                                                                @gharibi https://oshwhub.com/fanhuacloud/t113-s3-86panel

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

                                                                                                                                                                                                  这情况哪位大佬遇到过啊

                                                                                                                                                                                                  Downloading Repo source from https://gerrit.googlesource.com/git-repo
                                                                                                                                                                                                  fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle
                                                                                                                                                                                                  fatal: error [Errno 110] Connection timed out
                                                                                                                                                                                                  fatal: cloning the git-repo repository failed, will remove '.repo/repo' 
                                                                                                                                                                                                  
                                                                                                                                                                                                  
                                                                                                                                                                                                  livpo W 2 Replies Last reply Reply Quote Share 0
                                                                                                                                                                                                  • livpo
                                                                                                                                                                                                    livpo LV 6 @zyfl88 last edited by

                                                                                                                                                                                                    @zyfl88 这个问题上面不是写得很清楚了吗😧

                                                                                                                                                                                                    1 Reply Last reply Reply Quote Share 1
                                                                                                                                                                                                    • N
                                                                                                                                                                                                      NathanLiu LV 5 @yelong98 last edited by

                                                                                                                                                                                                      @yelong98 d1s 芯片与 T113-S3 芯片除内核不同以外,其他外设基本相同,直接拉
                                                                                                                                                                                                      取 d1 ,然后合并 T113-S3 芯片方案配置就行

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

                                                                                                                                                                                                        谢谢楼主提供资源

                                                                                                                                                                                                        1 Reply Last reply Reply Quote Share 1
                                                                                                                                                                                                        • B
                                                                                                                                                                                                          bitshelf LV 2 last edited by

                                                                                                                                                                                                          可以搜索清华镜像站 repo,里面有使用方法

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

                                                                                                                                                                                                            拉取好慢,。。。

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

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

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