Navigation

    全志在线开发者论坛

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

    哪吒开发板D1编译报错Cannot find lib ld-linux-riscv64-lp64.so.1

    D1系列-RISC-V
    6
    16
    622
    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.
    • C
      casojie LV 5 last edited by YuzukiTsuru

      没有经过什么特殊操作
      从官方ftp服务器下载的代码

      -rwxr-xr-x  1 root root 1073741824 7月   5 18:06 f133-v0.8-log-2632def.tar.gzaa
      -rwxr-xr-x  1 root root 1073741824 7月   5 18:06 f133-v0.8-log-2632def.tar.gzab
      -rwxr-xr-x  1 root root 1073741824 7月   5 18:07 f133-v0.8-log-2632def.tar.gzac
      -rwxr-xr-x  1 root root 1073741824 7月   5 18:07 f133-v0.8-log-2632def.tar.gzad
      -rwxr-xr-x  1 root root 1073741824 7月   5 18:07 f133-v0.8-log-2632def.tar.gzae
      -rwxr-xr-x  1 root root 1073741824 7月   5 18:07 f133-v0.8-log-2632def.tar.gzaf
      -rwxr-xr-x  1 root root 1073741824 7月   5 18:07 f133-v0.8-log-2632def.tar.gzag
      -rwxr-xr-x  1 root root  109289472 7月   5 18:07 f133-v0.8-log-2632def.tar.gzah```
      按要求解压后git restore
      接着就是source,lunch,最后就是make,make报错
      也考虑过缺失某些依赖,也安装了sudo apt-get install gcc-riscv64-linux-gnu
      但其实实际上,在对应的目录中存在ld-linux-riscv64-lp64.so.1
      
      ./out/f133-evb1/staging_dir/target/rootfs/lib/ld-linux-riscv64-lp64.so.1
      ./out/f133-evb1/compile_dir/target/rootfs/lib/ld-linux-riscv64-lp64.so.1
      ./out/f133-evb1/compile_dir/target/toolchain/ipkg-sunxi/libc/lib/ld-linux-riscv64-lp64.so.1
      help me!Thank !
      [1.114-temp_2022-07-05_19-17-46.log](/assets/uploads/files/1657020012733-1.114-temp_2022-07-05_19-17-46.log)
      
      mangogeek 1 Reply Last reply Reply Quote Share 0
      • YuzukiTsuru
        柚木 鉉 LV 9 last edited by

        官方ftp服务器?感觉是一个很古老的测试版本SDK了。

        参考这个从repo拉取最新的吧:【视频】八分钟,教你下载 D1-H Tina SDK
        https://bbs.aw-ol.com/topic/1177/share/1

        C 2 Replies Last reply Reply Quote Share 0
        • mangogeek
          mangogeek LV 8 @casojie last edited by

          @casojie 不要勾选 USE_MKLIBS

          C 1 Reply Last reply Reply Quote Share 0
          • C
            casojie LV 5 @YuzukiTsuru last edited by

            @yuzukitsuru 好的,我尝试下,谢谢

            1 Reply Last reply Reply Quote Share 0
            • C
              casojie LV 5 @mangogeek last edited by

              @mangogeek 这个我也百度到了,但是不明白其意思,不勾选这个,是指哪里不勾选呢

              mangogeek 1 Reply Last reply Reply Quote Share 0
              • mangogeek
                mangogeek LV 8 @casojie last edited by

                @casojie make menuconfig 里

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

                  ftp拉的v0.8版本的F133代码?

                  C 1 Reply Last reply Reply Quote Share 0
                  • C
                    casojie LV 5 @xiaowenge last edited by

                    @xiaowenge 是的,现在在重新拉官网推荐的repo说的那个,尝试中

                    1 Reply Last reply Reply Quote Share 0
                    • C
                      casojie LV 5 @YuzukiTsuru last edited by

                      @yuzukitsuru 怎么都是D1-H或者是D1-S,我的是D1开发板,没有后缀型号。。。怎么在分类里也找不到D1的分类的呢

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

                        @casojie 在 哪吒开发板D1编译报错Cannot find lib ld-linux-riscv64-lp64.so.1 中说:

                        @yuzukitsuru 怎么都是D1-H或者是D1-S,我的是D1开发板,没有后缀型号。。。怎么在分类里也找不到D1的分类的呢

                        D1-H就是D1,一样样的,详见:
                        【芯片型号变更公告】D1芯片型号变更为D1-H
                        https://bbs.aw-ol.com/topic/545/share/1

                        C 1 Reply Last reply Reply Quote Share 0
                        • C
                          casojie LV 5 @xiaowenge last edited by

                          @xiaowenge 现在项目是用F133做,然后给了我D1的开发板熟悉下,这两款芯片有什么区别吗?SDK能通用吗?F133的SDK只能从FTP拉取吗?

                          W 1 Reply Last reply Reply Quote Share 0
                          • W
                            whycan晕哥 LV 9 @casojie last edited by

                            @casojie
                            通用, D1(D1-H) 与 D1s(F133) 区别是内存规格和引脚不同, 其他一样的.

                            SDK也可以百度云下载:

                            tina v2.0 下载:
                            链接: https://pan.baidu.com/s/1rTyKuWIwMUlBY4xLJofWEg?pwd=awol
                            提取码:awol

                            文件:
                            tina_d1_open_v2.tar.bz2.aa
                            tina_d1_open_v2.tar.bz2.ab
                            tina_d1_open_v2.tar.bz2.ac

                            ①解压: cat tina_d1_open_v2.tar.bz2.a | tar -xjv*
                            ②从本地repo仓库同步SDK repo sync -l
                            ③ source build/envsetup.sh
                            ④ lunch
                            ⑤ make
                            ⑥ pack

                            C 1 Reply Last reply Reply Quote Share 0
                            • C
                              casojie LV 5 @whycan last edited by

                              @whycan 抱歉,我在论坛和资料网站上没有找到相关的芯片区别表,F133就是D1-S是吗,F133还区分F133-A/B我是F133B
                              而且D1-H和D1-S(F133A/B)都是公用一份SDK的话,如果我想编译F133B
                              1. d1-h_nezha_min-tina
                              2. d1-h_nezha-tina
                              3. d1s_nezha-tina
                              下面我就该选择3是吗 SDK上我不用区分A与B吗?

                              Y 1 Reply Last reply Reply Quote Share 0
                              • Y
                                YterAA LV 7 @casojie last edited by

                                @casojie D1s 是 F133-B、F133-A与F133-B在Tina Linux内是通用的

                                C 2 Replies Last reply Reply Quote Share 0
                                • C
                                  casojie LV 5 @YterAA last edited by

                                  @yteraa 也就是说,在编译时,都无需关心是A还是B是吗,现在遇到一个问题,原先的开发板F133B烧录正常,而同样的镜像到F133A大概率失败(也可能成功10%),F133A是我们做的另一款板子,现在不知道问题出在硬件上,还是镜像上
                                  卡55%

                                  ```bash
                                  common1(partition3) need it, here is a weak func
                                  total part: 9
                                  mbr 0, 8000, 8000
                                  boot-resource 1, 1f8, 8000
                                  env 2, 1f8, 8000
                                  env-redund 3, 1f8, 8000
                                  boot 4, 3200, 8000
                                  rootfs 5, 100000, 8000
                                  recovery 6, 4d80, 8000
                                  rootfs_data 7, 2800, 8000
                                  UDISK 8, 0, 0
                                  [09.584]erase all part start
                                  need erase flash: 18
                                  [09.590][mmc]: erase from: 0, to: 7634943, cnt: 7634944, erase_group: 1024
                                  [09.606][mmc]: sunxi_mmc_do_send_cmd_common: cmd 38 wait rsp busy 0xa ms 
                                  [09.613]read item0 copy0
                                  [09.615]Item0 (Map) magic is bad
                                  [09.618]the secure storage item0 copy0 magic is bad
                                  [09.623]Item0 (Map) magic is bad
                                  [09.626]the secure storage item0 copy1 magic is bad
                                  [09.630]Item0 (Map) magic is bad
                                  [09.633]the secure storage map is empty
                                  [09.638]erase secure storage: 0 ok
                                  SUNXI_EFEX_MBR_TAG
                                  mbr size = 0x10000
                                  write primary GPT success
                                  write Backup GPT success
                                  [09.655]update partition map
                                  FEX_CMD_fes_verify_status
                                  FEX_CMD_fes_verify last err=0
                                  ******Has init
                                  FEX_CMD_fes_verify_value, start 0x8000, size high 0x0:low 0x14000
                                  FEX_CMD_fes_verify_value 0xe6f75b5c
                                  FEX_CMD_fes_verify_value, start 0x81f8, size high 0x0:low 0x20000
                                  FEX_CMD_fes_verify_value 0x882de1bc
                                  FEX_CMD_fes_verify_value, start 0x83f0, size high 0x0:low 0x20000
                                  FEX_CMD_fes_verify_value 0x882de1bc
                                  FEX_CMD_fes_verify_value, start 0x85e8, size high 0x0:low 0x5fc000
                                  FEX_CMD_fes_verify_value 0xd668265a
                                  

                                  也有卡79%的

                                  [09.584]erase all part start
                                  need erase flash: 18
                                  [09.590][mmc]: erase from: 0, to: 7634943, cnt: 7634944, erase_group: 1024
                                  [09.606][mmc]: sunxi_mmc_do_send_cmd_common: cmd 38 wait rsp busy 0xa ms 
                                  [09.613]read item0 copy0
                                  [09.615]Item0 (Map) magic is bad
                                  [09.618]the secure storage item0 copy0 magic is bad
                                  [09.623]Item0 (Map) magic is bad
                                  [09.626]the secure storage item0 copy1 magic is bad
                                  [09.630]Item0 (Map) magic is bad
                                  [09.633]the secure storage map is empty
                                  [09.638]erase secure storage: 0 ok
                                  SUNXI_EFEX_MBR_TAG
                                  mbr size = 0x10000
                                  write primary GPT success
                                  write Backup GPT success
                                  [09.655]update partition map
                                  FEX_CMD_fes_verify_status
                                  FEX_CMD_fes_verify last err=0
                                  ******Has init
                                  FEX_CMD_fes_verify_value, start 0x8000, size high 0x0:low 0x14000
                                  FEX_CMD_fes_verify_value 0xe6f75b5c
                                  FEX_CMD_fes_verify_value, start 0x81f8, size high 0x0:low 0x20000
                                  FEX_CMD_fes_verify_value 0x882de1bc
                                  FEX_CMD_fes_verify_value, start 0x83f0, size high 0x0:low 0x20000
                                  FEX_CMD_fes_verify_value 0x882de1bc
                                  FEX_CMD_fes_verify_value, start 0x85e8, size high 0x0:low 0x5fc000
                                  FEX_CMD_fes_verify_value 0xd668265a
                                  
                                  1 Reply Last reply Reply Quote Share 0
                                  • C
                                    casojie LV 5 @YterAA last edited by

                                    @yteraa 也有卡10%的

                                    common1(partition3) need it, here is a weak func
                                    total part: 9
                                    mbr 0, 8000, 8000
                                    boot-resource 1, 1f8, 8000
                                    env 2, 1f8, 8000
                                    env-redund 3, 1f8, 8000
                                    boot 4, 3200, 8000
                                    rootfs 5, 100000, 8000
                                    recovery 6, 4d80, 8000
                                    rootfs_data 7, 2800, 8000
                                    UDISK 8, 0, 0
                                    [09.694]erase all part start
                                    need erase flash: 18
                                    [09.700][mmc]: erase from: 0, to: 7634943, cnt: 7634944, erase_group: 1024
                                    [09.719][mmc]: sunxi_mmc_do_send_cmd_common: cmd 38 wait rsp busy 0xd ms 
                                    [09.725]read item0 copy0
                                    [09.728]Item0 (Map) magic is bad
                                    [09.731]the secure storage item0 copy0 magic is bad
                                    [09.736]Item0 (Map) magic is bad
                                    [09.738]the secure storage item0 copy1 magic is bad
                                    [09.743]Item0 (Map) magic is bad
                                    [09.746]the secure storage map is empty
                                    [09.751]erase secure storage: 0 ok
                                    SUNXI_EFEX_MBR_TAG
                                    mbr size = 0x10000
                                    write primary GPT success
                                    write Backup GPT success
                                    [09.768]update partition map
                                    FEX_CMD_fes_verify_status
                                    FEX_CMD_fes_verify last err=0
                                    ******Has init
                                    
                                    
                                    1 Reply Last reply Reply Quote Share 0
                                    • 1 / 1
                                    • First post
                                      Last post

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

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