导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页

    麻雀加核计划:MQ增加双核内置128M版本,MQ-Pro则增加四核版本

    H/F/TV Series
    15
    63
    16769
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • mangogeek
      mangogeek LV 8 最后由 编辑

      敬请期待,或许很好玩。
      备注:加核计划不影响现有版本的生产及销售。

      1 条回复 最后回复 回复 引用 分享 1
      • xiaowenge
        DOT小文哥 LV 8 最后由 编辑

        双核内置128M,是R528/T1133? 四核又是什么芯片?

        mangogeek 1 条回复 最后回复 回复 引用 分享 0
        • mangogeek
          mangogeek LV 8 @xiaowenge 最后由 编辑

          @xiaowenge MQ在测试T113.
          MQ-Pro的四核先卖个关子,本月底能晒

          Q 1 条回复 最后回复 回复 引用 分享 0
          • mangogeek
            mangogeek LV 8 最后由 编辑

            双核版本的小麻雀:

            mq-dual-mq.jpg

            T113-S3_Brief.pdf

            但是问题来了,xfel读到的id是一样的😬

            1 条回复 最后回复 回复 引用 分享 0
            • B
              binsys LV 2 最后由 编辑

              内存上终于有点变化了。看产品生命周期了。

              1 条回复 最后回复 回复 引用 分享 0
              • mangogeek
                mangogeek LV 8 最后由 编辑

                好消息是能赶上本月底的MQ焊接,T113是整包采的,这次先焊接300pcs吧

                1 条回复 最后回复 回复 引用 分享 0
                • L
                  lghtjpu LV 4 最后由 编辑

                  T113跟F133相比价格如何呢?

                  mangogeek 1 条回复 最后回复 回复 引用 分享 0
                  • mangogeek
                    mangogeek LV 8 @lghtjpu 最后由 编辑

                    @lghtjpu 价格贵不了几块

                    W 1 条回复 最后回复 回复 引用 分享 0
                    • W
                      wxgd2017 LV 5 @mangogeek 最后由 编辑

                      @mangogeek 哪里能买到

                      1 条回复 最后回复 回复 引用 分享 0
                      • T
                        tripod9 LV 5 最后由 编辑

                        T133-S3 xboot裸奔

                        1.jpg 2.jpg

                        mangogeek 1 条回复 最后回复 回复 引用 分享 0
                        • T
                          tripod9 LV 5 最后由 编辑

                          全志T113-S3 编译烧写步骤。

                          https://xboot.org/xboot/#/guide-allwinner-t113s3

                          1 条回复 最后回复 回复 引用 分享 0
                          • Y
                            yelong98 LV 7 最后由 编辑

                            这个好,配置够,D1s有点内存小。113主频多高?

                            1 条回复 最后回复 回复 引用 分享 0
                            • L
                              lghtjpu LV 4 最后由 编辑

                              T113的性能跟F133哪个更好一些啊?

                              Y 1 条回复 最后回复 回复 引用 分享 0
                              • Y
                                yelong98 LV 7 @lghtjpu 最后由 编辑

                                @lghtjpu 当然是t113了爽了,翻倍的内存,老当益壮的a7,risc那个核看数据比a7强,实际感觉不到

                                1 条回复 最后回复 回复 引用 分享 0
                                • mangogeek
                                  mangogeek LV 8 @tripod9 最后由 编辑

                                  @tripod9 对了大佬,T113 xboot里主频能跑到多少?手册里没找到具体主频😧

                                  T 1 条回复 最后回复 回复 引用 分享 0
                                  • T
                                    tripod9 LV 5 @mangogeek 最后由 编辑

                                    @mangogeek 跑的1.008GHZ

                                    1 条回复 最后回复 回复 引用 分享 0
                                    • Q
                                      qq1847123212 LV 3 @mangogeek 最后由 编辑

                                      @mangogeek 总不会是H616吧

                                      1 条回复 最后回复 回复 引用 分享 0
                                      • L
                                        lghtjpu LV 4 最后由 编辑

                                        T113的板子什么时候有的卖啊?

                                        mangogeek 1 条回复 最后回复 回复 引用 分享 0
                                        • mangogeek
                                          mangogeek LV 8 @lghtjpu 最后由 编辑

                                          @lghtjpu 再过几天MQ-Dual就出来

                                          1 条回复 最后回复 回复 引用 分享 0
                                          • W
                                            wxgd2017 LV 5 最后由 编辑

                                            T113芯片哪里有的卖?

                                            mangogeek 1 条回复 最后回复 回复 引用 分享 0
                                            • mangogeek
                                              mangogeek LV 8 @wxgd2017 最后由 编辑

                                              @wxgd2017 淘宝店,最晚明天上架

                                              xiaowenge W 3 条回复 最后回复 回复 引用 分享 0
                                              • xiaowenge
                                                DOT小文哥 LV 8 @mangogeek 最后由 编辑

                                                @mangogeek 在 麻雀加核计划:MQ增加双核内置128M版本,MQ-Pro则增加四核版本 中说:

                                                @wxgd2017 淘宝店,最晚明天上架

                                                记住这个字眼 "最晚",蹲到天亮👍

                                                1 条回复 最后回复 回复 引用 分享 0
                                                • W
                                                  wxgd2017 LV 5 @mangogeek 最后由 编辑

                                                  @mangogeek 包括双核麻雀吗?

                                                  1 条回复 最后回复 回复 引用 分享 0
                                                  • W
                                                    wxgd2017 LV 5 @mangogeek 最后由 编辑

                                                    @mangogeek 大佬,双核sdk能提供下吗

                                                    1 条回复 最后回复 回复 引用 分享 0
                                                    • mangogeek
                                                      mangogeek LV 8 最后由 编辑

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

                                                      W M 4 条回复 最后回复 回复 引用 分享 0
                                                      • W
                                                        wxgd2017 LV 5 @mangogeek 最后由 编辑

                                                        @mangogeek 这个sdk我下载了,用cat链接后成.tar.gz,后面就解压不了,,,求助

                                                        mangogeek 1 条回复 最后回复 回复 引用 分享 0
                                                        • W
                                                          wxgd2017 LV 5 @mangogeek 最后由 编辑

                                                          @mangogeek 麻雀的sdk有10g,t113的sdk只有4g不到,,不一样?

                                                          1 条回复 最后回复 回复 引用 分享 0
                                                          • mangogeek
                                                            mangogeek LV 8 @wxgd2017 最后由 编辑

                                                            @wxgd2017 什么提示?

                                                            W 1 条回复 最后回复 回复 引用 分享 0
                                                            • W
                                                              wxgd2017 LV 5 @mangogeek 最后由 编辑

                                                              @mangogeek 将压缩文件解压后,是隐藏文件夹“.repo”,repo目录下有:manifests manifest.xml project-objects repo manifests.git project.list projects,无法按照tina编译方法操作

                                                              YuzukiTsuru mangogeek 2 条回复 最后回复 回复 引用 分享 0
                                                              • YuzukiTsuru
                                                                柚木 鉉 LV 9 @wxgd2017 最后由 编辑

                                                                @wxgd2017 这个sdk不是tina,是longan,只有uboot,kernel,最小rootfs的开发包,没有其他package,解压之后只有一个repo可能是解压有问题,分卷压缩的锅

                                                                1 条回复 最后回复 回复 引用 分享 0
                                                                • E
                                                                  eddardzhu LV 4 最后由 编辑

                                                                  和 D1S是pin to pin的吗?芯片价格多少?

                                                                  1 条回复 最后回复 回复 引用 分享 0
                                                                  • mangogeek
                                                                    mangogeek LV 8 @wxgd2017 最后由 编辑

                                                                    @wxgd2017
                                                                    cat t113.tar.gza* | tar -xjv
                                                                    repo sync -l

                                                                    Z 1 条回复 最后回复 回复 引用 分享 0
                                                                    • Z
                                                                      zxyUser LV 4 @mangogeek 最后由 编辑

                                                                      @mangogeek 您好,我下载了这个sdk,请问是怎么编译的啊,第一次接触这个,按照D1的编译步骤,source 就不行,lunch不出来任何东西,打上了那个芒果补丁也不行,希望看到能回复下,万分感谢

                                                                      YuzukiTsuru 1 条回复 最后回复 回复 引用 分享 0
                                                                      • YuzukiTsuru
                                                                        柚木 鉉 LV 9 @zxyUser 最后由 编辑

                                                                        @zxyuser 这个是longan,不是tina的用法,可以看看这个文档
                                                                        Longan_Linux_Development_Guide.pdf

                                                                        Z 1 条回复 最后回复 回复 引用 分享 0
                                                                        • Z
                                                                          zxyUser LV 4 @YuzukiTsuru 最后由 编辑

                                                                          @yuzukitsuru 好的,我先看下,有问题在请教各位大佬

                                                                          Z 2 条回复 最后回复 回复 引用 分享 0
                                                                          • Z
                                                                            zxyUser LV 4 @zxyUser 最后由 编辑

                                                                            @zxyuser 我照着这个编译,然后使用./build.sh pack报错,是目前这个sdk还不支持这个T133芯片吗,如果支持的话,能回复个编译成功的步骤吗,谢谢

                                                                            1 条回复 最后回复 回复 引用 分享 0
                                                                            • Z
                                                                              zxyUser LV 4 @zxyUser 最后由 编辑

                                                                              @zxyuser 错误截图为d304f43e-cdc0-445a-b071-1e581d4a3ed5-image.png

                                                                              YuzukiTsuru 1 条回复 最后回复 回复 引用 分享 0
                                                                              • YuzukiTsuru
                                                                                柚木 鉉 LV 9 @zxyUser 最后由 编辑

                                                                                @zxyuser 错误的意思是boot-resource.fex 太大了,找到sys_partition.fex文件把boot-resource改大一点

                                                                                [partition]
                                                                                    name         = boot-resource
                                                                                    size         = 2024
                                                                                    downloadfile = "boot-resource.fex"
                                                                                    user_type    = 0x8000
                                                                                
                                                                                Z 2 条回复 最后回复 回复 引用 分享 0
                                                                                • Z
                                                                                  zxyUser LV 4 @YuzukiTsuru 最后由 编辑

                                                                                  @yuzukitsuru 我改成4096也不行,这个文件是什么的啊,我是想通过sd卡启动系统的

                                                                                  YuzukiTsuru 1 条回复 最后回复 回复 引用 分享 0
                                                                                  • Z
                                                                                    zxyUser LV 4 @YuzukiTsuru 最后由 编辑

                                                                                    @yuzukitsuru 生成的out目录下3c854615-c631-4e17-bd37-d0aae2888484-image.png 比我设置的还大

                                                                                    1 条回复 最后回复 回复 引用 分享 0
                                                                                    • YuzukiTsuru
                                                                                      柚木 鉉 LV 9 @zxyUser 最后由 YuzukiTsuru 编辑

                                                                                      @zxyuser sys_config.fex里storage_type = 2
                                                                                      ./build.sh config 也注意下

                                                                                       ./build.sh config
                                                                                      
                                                                                      Welcome to mkscript setup progress
                                                                                      All available platform:
                                                                                         0. linux
                                                                                      Choice [linux]:
                                                                                      All available linux_dev:
                                                                                         0. bsp
                                                                                         1. dragonboard
                                                                                         2. longan
                                                                                         3. tinyos
                                                                                      Choice [bsp]: 2
                                                                                      All available kern_ver:
                                                                                         0. linux-5.4
                                                                                      Choice [linux-5.4]: 0
                                                                                      All available ic:
                                                                                         0. t113
                                                                                      Choice [t113]:
                                                                                      All available board:
                                                                                         0. evb1
                                                                                         1. evb1_auto
                                                                                         2. evb1_auto_nand
                                                                                         3. evb1_auto_nor
                                                                                      Choice [evb1]:
                                                                                      All available flash:
                                                                                         0. default
                                                                                         1. nor
                                                                                      Choice [default]:
                                                                                      All available gnueabi:
                                                                                         0. gnueabi
                                                                                         1. gnueabihf
                                                                                      Choice [gnueabi]:
                                                                                      
                                                                                      Z M 2 条回复 最后回复 回复 引用 分享 0
                                                                                      • Z
                                                                                        zxyUser LV 4 @YuzukiTsuru 最后由 编辑

                                                                                        @yuzukitsuru b9392805-110b-4a5a-96e1-9ca73bcabce9-image.png 这我这咋还是不行,一直报这个错误

                                                                                        YuzukiTsuru 1 条回复 最后回复 回复 引用 分享 0
                                                                                        • YuzukiTsuru
                                                                                          柚木 鉉 LV 9 @zxyUser 最后由 编辑

                                                                                          @zxyuser

                                                                                          size = 34000

                                                                                          试试

                                                                                          Z 4 条回复 最后回复 回复 引用 分享 0
                                                                                          • L
                                                                                            Lideyu LV 1 最后由 编辑

                                                                                            渴望中……,没看到上架

                                                                                            1 条回复 最后回复 回复 引用 分享 0
                                                                                            • Z
                                                                                              zxyUser LV 4 @YuzukiTsuru 最后由 编辑

                                                                                              @yuzukitsuru 0bd93c01-0db4-4d6d-b5b1-6815249557c2-image.png 不知道这个有影响吗,改成34000也还是一样报错

                                                                                              1 条回复 最后回复 回复 引用 分享 0
                                                                                              • Z
                                                                                                zxyUser LV 4 @YuzukiTsuru 最后由 编辑

                                                                                                @yuzukitsuru 6a03b231-9490-4098-a894-4b1b88551c20-image.png

                                                                                                1 条回复 最后回复 回复 引用 分享 0
                                                                                                • Z
                                                                                                  zxyUser LV 4 @YuzukiTsuru 最后由 编辑

                                                                                                  @yuzukitsuru 可以了,感谢大佬,这个文件整个的都修改了下就好了

                                                                                                  1 条回复 最后回复 回复 引用 分享 0
                                                                                                  • Z
                                                                                                    zxyUser LV 4 @YuzukiTsuru 最后由 编辑

                                                                                                    @yuzukitsuru 请问下大佬,编译出来的固件放上去一点反应都没有,是怎么回事啊,编译xboot那个串口可以正确打印信息

                                                                                                    YuzukiTsuru 1 条回复 最后回复 回复 引用 分享 0
                                                                                                    • YuzukiTsuru
                                                                                                      柚木 鉉 LV 9 @zxyUser 最后由 编辑

                                                                                                      @zxyuser 我记得默认串口是uart2,可能要改一下

                                                                                                      1 条回复 最后回复 回复 引用 分享 0
                                                                                                      • M
                                                                                                        mstempin LV 4 @mangogeek 最后由 编辑

                                                                                                        @mangogeek Can you put the file to download somewhere else? I cannot access Baidu from France 😢
                                                                                                        你能把文件放到别的地方下载吗?我无法从法国访问百度 😢

                                                                                                        1 条回复 最后回复 回复 引用 分享 0
                                                                                                        • M
                                                                                                          mstempin LV 4 @mangogeek 最后由 编辑

                                                                                                          @mangogeek 你能把文件放到别的地方下载吗?我无法从法国访问百度 😢

                                                                                                          YuzukiTsuru 1 条回复 最后回复 回复 引用 分享 0
                                                                                                          • YuzukiTsuru
                                                                                                            柚木 鉉 LV 9 @mstempin 最后由 编辑

                                                                                                            @mstempin
                                                                                                            Try This:
                                                                                                            https://drive.google.com/drive/folders/1jahhMAO7gpj0XUFK9GTcSqFCfhzoVye3?usp=sharing

                                                                                                            M 1 条回复 最后回复 回复 引用 分享 0
                                                                                                            • M
                                                                                                              mstempin LV 4 @YuzukiTsuru 最后由 编辑

                                                                                                              @yuzukitsuru 非常感谢!🙏

                                                                                                              1 条回复 最后回复 回复 引用 分享 0
                                                                                                              • M
                                                                                                                mstempin LV 4 @YuzukiTsuru 最后由 编辑

                                                                                                                我在 sys_config.fex 中使用了 storage_type = 2,但是我有这个错误(在 DTS 中找不到 can0 和 can1),知道吗?:

                                                                                                                Building kernel
                                                                                                                make[1]: Entering directory '/home/mstempin/T113-SDK/out/kernel/build'
                                                                                                                  GEN     Makefile
                                                                                                                  DTC     arch/arm/boot/dts/board.dtb
                                                                                                                Error: /home/mstempin/T113-SDK/kernel/linux-5.4/arch/arm/boot/dts/board.dts:721.1-6 Label or path can0 not found
                                                                                                                Error: /home/mstempin/T113-SDK/kernel/linux-5.4/arch/arm/boot/dts/board.dts:728.1-6 Label or path can1 not found
                                                                                                                FATAL ERROR: Syntax error parsing input tree
                                                                                                                make[2]: *** [scripts/Makefile.lib:285: arch/arm/boot/dts/board.dtb] Error 1
                                                                                                                make[1]: *** [/home/mstempin/T113-SDK/kernel/linux-5.4/Makefile:1350: dtbs] Error 2
                                                                                                                make[1]: *** Waiting for unfinished jobs....
                                                                                                                make[1]: Leaving directory '/home/mstempin/T113-SDK/out/kernel/build'
                                                                                                                make: *** [Makefile:179: sub-make] Error 2
                                                                                                                ERROR: build kernel Failed
                                                                                                                INFO: mkkernel failed
                                                                                                                
                                                                                                                YuzukiTsuru 1 条回复 最后回复 回复 引用 分享 0
                                                                                                                • A
                                                                                                                  adaoz LV 3 最后由 编辑

                                                                                                                  MQ-Pro 还没有上市嘛,看了下店铺还没有

                                                                                                                  1 条回复 最后回复 回复 引用 分享 0
                                                                                                                  • YuzukiTsuru
                                                                                                                    柚木 鉉 LV 9 @mstempin 最后由 编辑

                                                                                                                    @mstempin 注释掉试试看

                                                                                                                    1 条回复 最后回复 回复 引用 分享 0
                                                                                                                    • M
                                                                                                                      mstempin LV 4 最后由 编辑

                                                                                                                      I found many errors while trying to compile the T113-SDK. Am I doing something wrong or someone else found these same errors?
                                                                                                                      我在编译 T113-SDK 时发现了很多错误。我做错了什么还是其他人发现了这些相同的错误?

                                                                                                                      Here are the details below:
                                                                                                                      以下是详细信息:

                                                                                                                      I am using Ubuntu 20.04 LTS on Windows 10 WSL2.
                                                                                                                      我在 Windows 10 WSL2 上使用 Ubuntu 20.04 LTS。

                                                                                                                      1. Problem with repo
                                                                                                                      1. 回购问题

                                                                                                                      mkdir T113-SDK
                                                                                                                      cd T113-SDK
                                                                                                                      cat <path_to_files>/t113.tar.gza* | tar -xjv
                                                                                                                      repo sync -l
                                                                                                                      /home/mstempin/T113-SDK/.repo/repo/main.py:19: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
                                                                                                                        import imp
                                                                                                                      Traceback (most recent call last):
                                                                                                                        File "/home/mstempin/T113-SDK/.repo/repo/main.py", line 39, in <module>
                                                                                                                          from color import SetDefaultColoring
                                                                                                                        File "/home/mstempin/T113-SDK/.repo/repo/color.py", line 19, in <module>
                                                                                                                          import pager
                                                                                                                        File "/home/mstempin/T113-SDK/.repo/repo/pager.py", line 22, in <module>
                                                                                                                          import platform_utils
                                                                                                                        File "/home/mstempin/T113-SDK/.repo/repo/platform_utils.py", line 23, in <module>
                                                                                                                          from Queue import Queue
                                                                                                                      ModuleNotFoundError: No module named 'Queue'
                                                                                                                      

                                                                                                                      Solution: Use the built-in repo command instead of system one:

                                                                                                                      解决方案:使用内置repo命令代替系统一:

                                                                                                                      ./.repo/repo/repo sync -l
                                                                                                                      

                                                                                                                      2. Configuration
                                                                                                                      2.配置

                                                                                                                      ./build.sh config
                                                                                                                      
                                                                                                                      Welcome to mkscript setup progress
                                                                                                                      All available platform:
                                                                                                                         0. linux
                                                                                                                      Choice [linux]: 0
                                                                                                                      All available linux_dev:
                                                                                                                         0. bsp
                                                                                                                         1. dragonboard
                                                                                                                         2. longan
                                                                                                                         3. tinyos
                                                                                                                      Choice [longan]: 2
                                                                                                                      All available kern_ver:
                                                                                                                         0. linux-5.4
                                                                                                                      Choice [linux-5.4]: 0
                                                                                                                      All available ic:
                                                                                                                         0. t113
                                                                                                                      Choice [t113]: 0
                                                                                                                      All available board:
                                                                                                                         0. evb1
                                                                                                                         1. evb1_auto
                                                                                                                         2. evb1_auto_nand
                                                                                                                         3. evb1_auto_nor
                                                                                                                      Choice [evb1_auto]: 0
                                                                                                                      All available flash:
                                                                                                                         0. default
                                                                                                                         1. nor
                                                                                                                      Choice [default]: 0
                                                                                                                      All available gnueabi:
                                                                                                                         0. gnueabi
                                                                                                                         1. gnueabihf
                                                                                                                      Choice [gnueabi]: 0
                                                                                                                      INFO: Prepare toolchain ...
                                                                                                                      toolchain_archivedir=/home/mstempin/T113-SDK/build/toolchain/gcc-linaro-5.3.1-2016.05-x86_64_arm-linux-gnueabi.tar.xz
                                                                                                                      INFO: kernel defconfig: generate /home/mstempin/T113-SDK/out/kernel/build/.config by /home/mstempin/T113-SDK/kernel/linux-5.4/arch/arm/configs/sun8iw20p1smp_defconfig
                                                                                                                      INFO: Prepare toolchain ...
                                                                                                                      toolchain_archivedir=/home/mstempin/T113-SDK/build/toolchain/gcc-linaro-5.3.1-2016.05-x86_64_arm-linux-gnueabi.tar.xz
                                                                                                                      make: Entering directory '/home/mstempin/T113-SDK/kernel/linux-5.4'
                                                                                                                      make[1]: Entering directory '/home/mstempin/T113-SDK/out/kernel/build'
                                                                                                                        GEN     Makefile
                                                                                                                        HOSTCC  scripts/basic/fixdep
                                                                                                                        HOSTCC  scripts/kconfig/conf.o
                                                                                                                        HOSTCC  scripts/kconfig/confdata.o
                                                                                                                        HOSTCC  scripts/kconfig/expr.o
                                                                                                                        LEX     scripts/kconfig/lexer.lex.c
                                                                                                                        YACC    scripts/kconfig/parser.tab.[ch]
                                                                                                                        HOSTCC  scripts/kconfig/lexer.lex.o
                                                                                                                        HOSTCC  scripts/kconfig/parser.tab.o
                                                                                                                        HOSTCC  scripts/kconfig/preprocess.o
                                                                                                                        HOSTCC  scripts/kconfig/symbol.o
                                                                                                                        HOSTLD  scripts/kconfig/conf
                                                                                                                      *** Default configuration is based on 'sun8iw20p1smp_defconfig'
                                                                                                                      #
                                                                                                                      # configuration written to .config
                                                                                                                      #
                                                                                                                      make[1]: Leaving directory '/home/mstempin/T113-SDK/out/kernel/build'
                                                                                                                      make: Leaving directory '/home/mstempin/T113-SDK/kernel/linux-5.4'
                                                                                                                      INFO: skip buildroot
                                                                                                                      

                                                                                                                      3. Problem with DTS
                                                                                                                      3. DTS 的问题

                                                                                                                      ./build.sh
                                                                                                                      ...
                                                                                                                      Building kernel
                                                                                                                      make[1]: Entering directory '/home/mstempin/T113-SDK/out/kernel/build'
                                                                                                                        GEN     Makefile
                                                                                                                        DTC     arch/arm/boot/dts/board.dtb
                                                                                                                      Error: /home/mstempin/T113-SDK/kernel/linux-5.4/arch/arm/boot/dts/board.dts:721.1-6 Label or path can0 not found
                                                                                                                      Error: /home/mstempin/T113-SDK/kernel/linux-5.4/arch/arm/boot/dts/board.dts:728.1-6 Label or path can1 not found
                                                                                                                      FATAL ERROR: Syntax error parsing input tree
                                                                                                                      make[2]: *** [scripts/Makefile.lib:285: arch/arm/boot/dts/board.dtb] Error 1
                                                                                                                      make[1]: *** [/home/mstempin/T113-SDK/kernel/linux-5.4/Makefile:1350: dtbs] Error 2
                                                                                                                      make[1]: *** Waiting for unfinished jobs....
                                                                                                                      make[1]: Leaving directory '/home/mstempin/T113-SDK/out/kernel/build'
                                                                                                                      make: *** [Makefile:179: sub-make] Error 2
                                                                                                                      ERROR: build kernel Failed
                                                                                                                      INFO: mkkernel failed
                                                                                                                      

                                                                                                                      Solution: Apply the following patch:
                                                                                                                      解决方案:应用以下补丁:

                                                                                                                      --- device/config/chips/t113/configs/evb1/linux-5.4/board.dts.orig      2022-03-12 08:51:36.815704077 +0100
                                                                                                                      +++ device/config/chips/t113/configs/evb1/linux-5.4/board.dts   2022-03-12 08:52:16.915704417 +0100
                                                                                                                      @@ -238,7 +238,7 @@
                                                                                                                                      pins = "PB0";
                                                                                                                                      function = "gpio_in";
                                                                                                                              };
                                                                                                                      -
                                                                                                                      +/*
                                                                                                                              can0_pins_a: can0_pins_a@0 {
                                                                                                                                      pins = "PB2", "PB3";
                                                                                                                                      function = "can0";
                                                                                                                      @@ -262,7 +262,7 @@
                                                                                                                                      pins = "PB4", "PB5";
                                                                                                                                      function = "gpio_in";
                                                                                                                              };
                                                                                                                      -
                                                                                                                      +*/
                                                                                                                              dmic_pins_a: dmic@0 {
                                                                                                                                      /* DMIC_PIN: CLK, DATA0, DATA1, DATA2, DATA3*/
                                                                                                                                      pins = "PB12", "PB11", "PB10", "PE14", "PB8";
                                                                                                                      @@ -717,7 +717,7 @@
                                                                                                                              pinctrl-1 = <&ir1_pins_b>;
                                                                                                                              status = "disabled";
                                                                                                                       };
                                                                                                                      -
                                                                                                                      +/*
                                                                                                                       &can0 {
                                                                                                                              pinctrl-names = "default", "sleep";
                                                                                                                              pinctrl-0 = <&can0_pins_a>;
                                                                                                                      @@ -731,7 +731,7 @@
                                                                                                                              pinctrl-1 = <&can1_pins_b>;
                                                                                                                              status = "disabled";
                                                                                                                       };
                                                                                                                      -
                                                                                                                      +*/
                                                                                                                       &gmac0 {
                                                                                                                              pinctrl-0 = <&gmac0_pins_a>;
                                                                                                                              pinctrl-1 = <&gmac0_pins_b>;
                                                                                                                      

                                                                                                                      4. Problem with missing zlib in audioenctest
                                                                                                                      **
                                                                                                                      4. audioenctest中缺少zlib的问题**

                                                                                                                      ...
                                                                                                                      make[1]: Entering directory '/home/mstempin/T113-SDK/platform/framework/auto/sdk_demo/audioenctest'
                                                                                                                      arm-linux-gnueabi-g++ -g  audioenc_test.cpp -o audioenc_test -I../../sdk_lib/cedarx/include/libcedarc/include -I../../sdk_lib/ -L../../sdk_lib/libs -I../../sdk_lib/include -I../../sdk_lib/include/cutils -I../../sdk_lib/include/camera -I../../sdk_lib/include/disp2 -I../../sdk_lib/memory -lMemAdapter -lvdecoder -lsbm -lfbm -laftertreatment -lscaledown -lcrypto -lvenc_common -lvenc_h264 -lvenc_h265 -lvenc_jpeg  -lVE -lcdc_base -lvideoengine -lcdx_common -lcdx_base -lsdk_memory -lsdk_disp -lsdk_log -lsdk_camera -L../../sdk_lib/libs -lsdk_compose -lsdk_disp -lsdk_g2d -lsdk_dvr -lsdk_player -lsdk_log -lsdk_camera -lsdk_memory -lsdk_sound -lsdk_storage -lsdk_audenc -lsdk_cfg -lsdk_ctrl -lsdk_misc -L../../sdk_lib -L../../sdk_lib/libs/ -L../../sdk_lib/cedarx/lib/ -D_T113_ -DHAVE_PTHREADS -DHAVE_SYS_UIO_H -DANDROID_SMP=1 -D__ARM_HAVE_DMB -D__ARM_HAVE_LDREX_STREX -DHAVE_POSIX_CLOCKS -DHAVE_PRCTL -DWATERMARK -DCDX_V27 -DSUPPORT_NEW_DRIVER -D_GNU_SOURCE -DCONFIG_CHIP=7 -DCONFIG_TARGET_PRODUCT= -DCONFIG_PRODUCT=2 -DCONFIG_VE_IPC=1 -DROTATE_PIC_HW=0 -DVE_PHY_OFFSET=0x40000000 -DCONFIG_LOG_LEVEL=0 -L../../sdk_lib/cedarx/lib/ -Wl,--no-undefined -ladecoder -laencoder -lcdx_base -lcdx_common -lcdx_muxer -lcdx_parser -lcdx_playback -lcdx_stream -lMemAdapter -lcdc_base -lsubdecoder -lvdecoder -lvencoder -lVE -lvideoengine -lxmetadataretriever -lxplayer -lasound -lvenc_base -lvenc_codec -lcdx_ion
                                                                                                                      /home/mstempin/T113-SDK/out/gcc-linaro-5.3.1-2016.05-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/5.3.1/../../../../arm-linux-gnueabi/bin/ld: warning: libz.so.1, needed by ../../sdk_lib/cedarx/lib//libcdx_common.so, not found (try using -rpath or -rpath-link)
                                                                                                                      ../../sdk_lib/cedarx/lib//libcdx_parser.so: undefined reference to `uncompress'
                                                                                                                      ../../sdk_lib/cedarx/lib//libcdx_stream.so: undefined reference to `inflate'
                                                                                                                      ../../sdk_lib/cedarx/lib//libcdx_stream.so: undefined reference to `inflateInit2_'
                                                                                                                      ../../sdk_lib/cedarx/lib//libcdx_stream.so: undefined reference to `zlibCompileFlags@ZLIB_1.2.0.2'
                                                                                                                      ../../sdk_lib/cedarx/lib//libcdx_stream.so: undefined reference to `inflateEnd'
                                                                                                                      collect2: error: ld returned 1 exit status
                                                                                                                      make[1]: *** [Makefile:39: audioenc_test] Error 1
                                                                                                                      make[1]: Leaving directory '/home/mstempin/T113-SDK/platform/framework/auto/sdk_demo/audioenctest'
                                                                                                                      compile audioenctest fail
                                                                                                                      

                                                                                                                      Solution: Apply the following patch:

                                                                                                                      解决方案:应用以下补丁:

                                                                                                                      --- platform/framework/auto/sdk_demo/audioenctest/Makefile.orig 2022-03-12 08:57:52.315707261 +0100
                                                                                                                      +++ platform/framework/auto/sdk_demo/audioenctest/Makefile      2022-03-12 09:04:10.025710462 +0100
                                                                                                                      @@ -29,7 +29,7 @@
                                                                                                                       LIBS += -lMemAdapter -lvdecoder -lsbm -lfbm -laftertreatment -lscaledown -lcrypto -lvenc_common -lvenc_h264 -lvenc_h265 -lvenc_jpeg
                                                                                                                       LIBS += -lVE -lcdc_base -lvideoengine -lcdx_common -lcdx_base -lsdk_memory -lsdk_disp -lsdk_log -lsdk_camera
                                                                                                                       LIBS += -L$(SDK_PATH)/libs -lsdk_compose -lsdk_disp -lsdk_g2d -lsdk_dvr -lsdk_player \
                                                                                                                      -       -lsdk_log -lsdk_camera -lsdk_memory -lsdk_sound -lsdk_storage -lsdk_audenc -lsdk_cfg -lsdk_ctrl -lsdk_misc
                                                                                                                      +       -lsdk_log -lsdk_camera -lsdk_memory -lsdk_sound -lsdk_storage -lsdk_audenc -lsdk_cfg -lsdk_ctrl -lsdk_misc -lz
                                                                                                                      
                                                                                                                       #LIBS +=  $(LICHEE_BR_OUT)/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libmali.so
                                                                                                                      

                                                                                                                      5. Problem with wrong compiler path in usbcam_test
                                                                                                                      5. usbcam_test 编译路径错误的问题

                                                                                                                      ...
                                                                                                                      make[1]: Entering directory '/home/mstempin/T113-SDK/platform/framework/auto/sdk_demo/usbcam_test'
                                                                                                                      /home/mstempin/T113-SDK/platform/framework/auto/sdk_demo/usbcam_test/../../../../../out/t113/evb1_auto/longan/buildroot/host/opt/ext-toolchain//bin/arm-linux-gnueabi-gcc -I /home/mstempin/T113-SDK/kernel/linux-5.4/arch/arm64/include/ -static  csi_test_mplane.c  -o  usbcam_test
                                                                                                                      make[1]: /home/mstempin/T113-SDK/platform/framework/auto/sdk_demo/usbcam_test/../../../../../out/t113/evb1_auto/longan/buildroot/host/opt/ext-toolchain//bin/arm-linux-gnueabi-gcc: Command not found
                                                                                                                      make[1]: *** [Makefile:19: usbcam_test] Error 127
                                                                                                                      make[1]: Leaving directory '/home/mstempin/T113-SDK/platform/framework/auto/sdk_demo/usbcam_test'
                                                                                                                      compile usbcam_test fail
                                                                                                                      

                                                                                                                      Solution: Apply the following patch:

                                                                                                                      解决方案:应用以下补丁:

                                                                                                                      --- platform/framework/auto/sdk_demo/usbcam_test/Makefile.orig  2022-03-11 08:21:33.746203952 +0100
                                                                                                                      +++ platform/framework/auto/sdk_demo/usbcam_test/Makefile       2022-03-12 09:15:46.085716363 +0100
                                                                                                                      @@ -1,11 +1,9 @@
                                                                                                                       TARGET := usbcam_test
                                                                                                                       PWD=$(shell pwd)
                                                                                                                      -LICHEE_DIR=$(PWD)/../../../../..
                                                                                                                      -LICHEE_TOOL_DIR=$(LICHEE_DIR)/out/t113/evb1_auto/longan/buildroot/host/opt/ext-toolchain/
                                                                                                                      -LICHEE_OUT_HOSTDIR=$(LICHEE_DIR)/out/t113/evb1_auto/longan/buildroot/host/usr/
                                                                                                                      
                                                                                                                      -CC            = $(LICHEE_TOOL_DIR)/bin/arm-linux-gnueabi-gcc
                                                                                                                      -CPP           = $(LICHEE_TOOL_DIR)/bin/arm-linux-gnueabi-g++
                                                                                                                      +include ../makefile_cfg
                                                                                                                      +CC = ${LICHEE_CROSS_COMPILER}-gcc -g $(V)
                                                                                                                      +CPP = ${LICHEE_CROSS_COMPILER}-g++ -g $(V)
                                                                                                                      
                                                                                                                       ARCH_DIR=$(LICHEE_KERN_DIR)/arch/arm64/include/
                                                                                                                       CFLAGS := -I $(ARCH_DIR)
                                                                                                                      

                                                                                                                      6. Problem with -no-pie flag in sdktest
                                                                                                                      6. sdktest 中 -no-pie 标志的问题

                                                                                                                      ...
                                                                                                                      make[1]: Entering directory '/home/mstempin/T113-SDK/platform/framework/auto/sdk_demo/sdktest'
                                                                                                                      arm-linux-gnueabi-g++ -g  -c sdktest.cpp -o sdktest.o -g -no-pie -I./ -I../../sdk_lib/include -I../../sdk_lib/include/disp2 -I../../sdk_lib/include/utils -I../../sdk_lib/include/cutils/ -I../../sdk_lib/include/media -I../../sdk_lib/include/camera -I../../sdk_lib/sdk_camera/moudle -I../../sdk_lib/sdk_camera -I../../sdk_lib/include/storage/ -I../../sdk_lib/include/sound/ -I../../sdk_lib/include/memory/ -I../../sdk_lib/sdk_misc/ -I../../sdk_lib/include/audioenc/  -D_GNU_SOURCE -DCONFIG_CHIP=7 -DCONFIG_TARGET_PRODUCT= -DCONFIG_PRODUCT=2 -DCONFIG_VE_IPC=1 -DROTATE_PIC_HW=0 -DVE_PHY_OFFSET=0x40000000 -DCONFIG_LOG_LEVEL=0  -D_T113_ -DUSE_LOGCAT -DHAVE_PTHREADS -DHAVE_SYS_UIO_H -DANDROID_SMP=1 -D__ARM_HAVE_DMB -D__ARM_HAVE_LDREX_STREX -DHAVE_POSIX_CLOCKS -DHAVE_PRCTL -DWATERMARK -DCDX_V27 -DSUPPORT_NEW_DRIVER
                                                                                                                      arm-linux-gnueabi-g++: error: unrecognized command line option '-no-pie'
                                                                                                                      make[1]: *** [Makefile:57: sdktest] Error 1
                                                                                                                      make[1]: Leaving directory '/home/mstempin/T113-SDK/platform/framework/auto/sdk_demo/sdktest'
                                                                                                                      compile sdktest fail
                                                                                                                      

                                                                                                                      Solution: Remove the -no-pie flag wwith the following patch:

                                                                                                                      解决方案:使用以下补丁删除 -no-pie 标志:

                                                                                                                      --- platform/framework/auto/sdk_demo/sdktest/Makefile.orig      2022-03-11 08:21:33.746203952 +0100
                                                                                                                      +++ platform/framework/auto/sdk_demo/sdktest/Makefile   2022-03-12 09:20:10.865718607 +0100
                                                                                                                      @@ -54,7 +54,7 @@
                                                                                                                       all: $(Target)
                                                                                                                      
                                                                                                                       $(Target): $(Target).cpp
                                                                                                                      -       $(CPP) -c $(Target).cpp -o $(Target).o -g -no-pie $(INC) $(CEDAR_MACORS) $(DEFINES)
                                                                                                                      +       $(CPP) -c $(Target).cpp -o $(Target).o -g $(INC) $(CEDAR_MACORS) $(DEFINES)
                                                                                                                              $(CPP) -o $(Target) $(Target).o $(LIBS) $(CEDAR_LINK_NEW)
                                                                                                                              @cp -f $(Target) $(INSTATLL_PATH)
                                                                                                                              @echo "generate $(Target) success!!!"
                                                                                                                      

                                                                                                                      7. Problem with missign c++11 flag in encoderTest
                                                                                                                      **
                                                                                                                      7、encoderTest中的misssign c++11标志问题**

                                                                                                                      ...
                                                                                                                      make[1]: Entering directory '/home/mstempin/T113-SDK/platform/framework/auto/sdk_demo/encoderTest'
                                                                                                                      arm-linux-gnueabi-g++ -g  encoderTest.cpp -o encoderTest -lMemAdapter -lvencoder -lVE -lcdc_base -lvenc_jpeg -lvenc_common -lvenc_h264 -lvenc_h265  -lvenc_base -lsdk_encoder -lsdk_memory -L../../sdk_lib/libs/ -L../../sdk_lib/cedarx/lib -lpthread -I../../sdk_lib/cedarx/include/libcedarc/include -I../../sdk_lib/include -g
                                                                                                                      In file included from /home/mstempin/T113-SDK/out/gcc-linaro-5.3.1-2016.05-x86_64_arm-linux-gnueabi/arm-linux-gnueabi/include/c++/5.3.1/atomic:38:0,
                                                                                                                                       from encoderTest.cpp:11:
                                                                                                                      /home/mstempin/T113-SDK/out/gcc-linaro-5.3.1-2016.05-x86_64_arm-linux-gnueabi/arm-linux-gnueabi/include/c++/5.3.1/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
                                                                                                                       #error This file requires compiler and library support \
                                                                                                                        ^
                                                                                                                      encoderTest.cpp:92:1: error: 'atomic' does not name a type
                                                                                                                       atomic<int> mJpgIndex;
                                                                                                                       ^
                                                                                                                      encoderTest.cpp: In member function 'virtual int MyEncoderCallback::encoderDataReady(awvideoencoder::AVPacket*)':
                                                                                                                      encoderTest.cpp:326:71: error: 'mJpgIndex' was not declared in this scope
                                                                                                                                   sprintf(outPutfile, "%s_sgl_%d.%s", testParam.outputFile, mJpgIndex++, "jpg");
                                                                                                                                                                                             ^
                                                                                                                      encoderTest.cpp:336:18: error: 'nullptr' was not declared in this scope
                                                                                                                                   if ((nullptr != packet->pAddrVir1) && (packet->dataLen1 > 0))
                                                                                                                                        ^
                                                                                                                      encoderTest.cpp:346:18: error: 'nullptr' was not declared in this scope
                                                                                                                                   if ((nullptr != packet->pAddrVir1) && (packet->dataLen1 > 0))
                                                                                                                                        ^
                                                                                                                      make[1]: *** [Makefile:17: encoderTest] Error 1
                                                                                                                      make[1]: Leaving directory '/home/mstempin/T113-SDK/platform/framework/auto/sdk_demo/encoderTest'
                                                                                                                      compile encoderTest fail
                                                                                                                      

                                                                                                                      Solution: Apply the following patch:

                                                                                                                      解决方案:应用以下补丁:

                                                                                                                      --- platform/framework/auto/sdk_demo/encoderTest/Makefile.orig  2022-03-11 08:21:33.676203952 +0100
                                                                                                                      +++ platform/framework/auto/sdk_demo/encoderTest/Makefile       2022-03-12 09:30:33.745723887 +0100
                                                                                                                      @@ -6,6 +6,7 @@
                                                                                                                      
                                                                                                                       CXXFLAGS = -I$(SDK_PATH)/cedarx/include/libcedarc/include
                                                                                                                       CXXFLAGS += -I$(SDK_PATH)/include
                                                                                                                      +CXXFLAGS += -std=c++11
                                                                                                                      
                                                                                                                       LDFLAGS = -L$(SDK_PATH)/libs/ -L$(SDK_PATH)/cedarx/lib
                                                                                                                       LIBS = -lMemAdapter -lvencoder -lVE -lcdc_base -lvenc_jpeg -lvenc_common -lvenc_h264 -lvenc_h265  -lvenc_base
                                                                                                                      

                                                                                                                      8. Missing kernel symbols for module xr329
                                                                                                                      **
                                                                                                                      8. 模块 xr329 缺少内核符号**

                                                                                                                      ...
                                                                                                                      =================build extern xr829========================
                                                                                                                      Makefile:19: CROSS_COMPILE: arm-linux-gnueabi-
                                                                                                                      make -C /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/../../../../../out/kernel/build M=/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829 modules ARCH=arm CROSS_COMPILE=arm-linux-gnueabi-
                                                                                                                      make[1]: Entering directory '/home/mstempin/T113-SDK/out/kernel/build'
                                                                                                                      /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/Makefile:19: CROSS_COMPILE: arm-linux-gnueabi-
                                                                                                                        CC [M]  /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/umac/main.o
                                                                                                                        CC [M]  /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/umac/status.o
                                                                                                                        CC [M]  /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/umac/sta_info.o
                                                                                                                        CC [M]  /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/umac/wep.o
                                                                                                                        CC [M]  /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/umac/wpa.o
                                                                                                                        CC [M]  /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/umac/wapi.o
                                                                                                                        CC [M]  /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/umac/scan.o
                                                                                                                        CC [M]  /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/umac/offchannel.o
                                                                                                                        CC [M]  /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/umac/ht.o
                                                                                                                        CC [M]  /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/umac/agg-tx.o
                                                                                                                        CC [M]  /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/umac/agg-rx.o
                                                                                                                        CC [M]  /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/umac/ibss.o
                                                                                                                        CC [M]  /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/umac/mlme.o
                                                                                                                        CC [M]  /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/umac/work.o
                                                                                                                        CC [M]  /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/umac/iface.o
                                                                                                                        CC [M]  /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/umac/rate.o
                                                                                                                        CC [M]  /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/umac/michael.o
                                                                                                                        CC [M]  /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/umac/tkip.o
                                                                                                                        CC [M]  /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/umac/aes_ccm.o
                                                                                                                        CC [M]  /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/umac/aes_cmac.o
                                                                                                                        CC [M]  /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/umac/cfg.o
                                                                                                                        CC [M]  /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/umac/rx.o
                                                                                                                        CC [M]  /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/umac/spectmgmt.o
                                                                                                                        CC [M]  /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/umac/tx.o
                                                                                                                        CC [M]  /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/umac/key.o
                                                                                                                        CC [M]  /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/umac/util.o
                                                                                                                        CC [M]  /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/umac/wme.o
                                                                                                                        CC [M]  /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/umac/event.o
                                                                                                                        CC [M]  /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/umac/average.o
                                                                                                                        CC [M]  /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/umac/chan.o
                                                                                                                        CC [M]  /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/umac/pm.o
                                                                                                                        CC [M]  /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/umac/rc80211_minstrel.o
                                                                                                                        CC [M]  /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/umac/rc80211_minstrel_ht.o
                                                                                                                        CC [M]  /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/wlan/fwio.o
                                                                                                                        CC [M]  /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/wlan/txrx.o
                                                                                                                        CC [M]  /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/wlan/vendor.o
                                                                                                                        CC [M]  /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/wlan/main.o
                                                                                                                        CC [M]  /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/wlan/queue.o
                                                                                                                        CC [M]  /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/wlan/hwio.o
                                                                                                                        CC [M]  /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/wlan/bh.o
                                                                                                                        CC [M]  /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/wlan/wsm.o
                                                                                                                        CC [M]  /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/wlan/sta.o
                                                                                                                        CC [M]  /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/wlan/ap.o
                                                                                                                        CC [M]  /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/wlan/scan.o
                                                                                                                        CC [M]  /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/wlan/platform.o
                                                                                                                        CC [M]  /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/wlan/pm.o
                                                                                                                        CC [M]  /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/wlan/sdio.o
                                                                                                                        CC [M]  /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/wlan/debug.o
                                                                                                                        CC [M]  /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/wlan/etf.o
                                                                                                                        CC [M]  /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/wlan/wlan_init.o
                                                                                                                        LD [M]  /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.o
                                                                                                                      /home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/Makefile:19: CROSS_COMPILE: arm-linux-gnueabi-
                                                                                                                        Building modules, stage 2.
                                                                                                                        MODPOST 1 modules
                                                                                                                      ERROR: "cfg80211_rx_unprot_mlme_mgmt" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "cfg80211_auth_timeout" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "cfg80211_cqm_rssi_notify" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "wiphy_free" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "cfg80211_unlink_bss" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "ieee80211_bss_get_elem" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "bridge_tunnel_header" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "sdio_enable_func" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "sdio_claim_irq" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "ieee80211_hdrlen" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "ieee80211_channel_to_freq_khz" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "sunxi_wlan_get_bus_index" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "cfg80211_rx_mgmt" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "ieee80211_radiotap_iterator_next" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "cfg80211_unregister_wdev" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "cfg80211_mgmt_tx_status" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "rfc1042_header" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "cfg80211_vendor_cmd_reply" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "ieee80211_freq_khz_to_channel" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "cfg80211_get_bss" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "ieee80211_data_to_8023_exthdr" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "ieee80211_radiotap_iterator_init" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "wiphy_unregister" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "cfg80211_del_sta_sinfo" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "arc4_crypt" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "cfg80211_cqm_pktloss_notify" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "cfg80211_michael_mic_failure" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "cfg80211_ibss_joined" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "cfg80211_assoc_timeout" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "sunxi_wlan_set_power" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "__cfg80211_send_event_skb" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "cfg80211_find_elem_match" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "sdio_unregister_driver" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "sdio_set_host_pm_flags" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "ieee80211_get_channel_khz" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "cfg80211_gtk_rekey_notify" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "sunxi_wlan_get_oob_irq" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "cfg80211_tx_mlme_mgmt" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "cfg80211_put_bss" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "__cfg80211_alloc_event_skb" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "__cfg80211_alloc_reply_skb" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "wiphy_register" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "cfg80211_rx_mlme_mgmt" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "sdio_release_irq" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "cfg80211_classify8021d" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "cfg80211_ready_on_channel" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "wiphy_new_nm" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "sdio_align_size" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "cfg80211_new_sta" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "sdio_memcpy_toio" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "sunxi_mmc_rescan_card" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "ieee80211_amsdu_to_8023s" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "cfg80211_remain_on_channel_expired" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "sdio_register_driver" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "sdio_memcpy_fromio" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "cfg80211_sched_scan_stopped" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "sdio_claim_host" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "cfg80211_scan_done" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "get_custom_mac_address" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "arc4_setkey" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "sdio_set_block_size" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "cfg80211_rx_assoc_resp" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "sdio_disable_func" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "sdio_release_host" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "cfg80211_sched_scan_results" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      ERROR: "cfg80211_inform_bss_frame_data" [/home/mstempin/T113-SDK/platform/framework/auto/kernel/xr829/xr829.ko] undefined!
                                                                                                                      make[3]: *** [/home/mstempin/T113-SDK/kernel/linux-5.4/scripts/Makefile.modpost:114: __modpost] Error 1
                                                                                                                      make[2]: *** [/home/mstempin/T113-SDK/kernel/linux-5.4/Makefile:1723: modules] Error 2
                                                                                                                      make[1]: *** [/home/mstempin/T113-SDK/kernel/linux-5.4/Makefile:179: sub-make] Error 2
                                                                                                                      make[1]: Leaving directory '/home/mstempin/T113-SDK/out/kernel/build'
                                                                                                                      

                                                                                                                      Here, it looks like the kernel is not configured with either 802.11 or SDIO...

                                                                                                                      在这里,内核似乎没有配置 802.11 或 SDIO...

                                                                                                                      Giving up for the moment 😉
                                                                                                                      暂时放弃 😉

                                                                                                                      Z W 2 条回复 最后回复 回复 引用 分享 0
                                                                                                                      • M
                                                                                                                        mstempin LV 4 最后由 编辑

                                                                                                                        当板在 Aliexpress 上可用时,请提供链接!

                                                                                                                        mangogeek 1 条回复 最后回复 回复 引用 分享 0
                                                                                                                        • mangogeek
                                                                                                                          mangogeek LV 8 @mstempin 最后由 编辑

                                                                                                                          @mstempin 下周上链接

                                                                                                                          1 条回复 最后回复 回复 引用 分享 0
                                                                                                                          • Z
                                                                                                                            zxyUser LV 4 @mstempin 最后由 编辑

                                                                                                                            @mstempin 这个你需要在内核的配置里面加上--- a/kernel/linux-5.4/arch/arm/configs/sun8iw20p1smp_auto_nand_defconfig
                                                                                                                            +++ b/kernel/linux-5.4/arch/arm/configs/sun8iw20p1smp_auto_nand_defconfig
                                                                                                                            @@ -64,10 +64,13 @@ CONFIG_DEVTMPFS=y
                                                                                                                            CONFIG_SUNXI_MBUS=y
                                                                                                                            CONFIG_MTD=y
                                                                                                                            CONFIG_AW_MTD_SPINAND=y
                                                                                                                            +CONFIG_SUNXI_RFKILL=y
                                                                                                                            +CONFIG_SUNXI_ADDR_MGT=y
                                                                                                                            CONFIG_SCSI=y
                                                                                                                            CONFIG_BLK_DEV_SD=y
                                                                                                                            CONFIG_NETDEVICES=y
                                                                                                                            CONFIG_SUNXI_GMAC=y
                                                                                                                            +CONFIG_XR829_WLAN=m
                                                                                                                            CONFIG_INPUT_EVDEV=y
                                                                                                                            CONFIG_INPUT_SENSORINIT=y
                                                                                                                            CONFIG_KEYBOARD_SUNXI=y
                                                                                                                            此三项即可

                                                                                                                            1 条回复 最后回复 回复 引用 分享 0
                                                                                                                            • M
                                                                                                                              mstempin LV 4 最后由 编辑

                                                                                                                              To solve problem #8, I needed to apply the following patch:
                                                                                                                              为了解决问题 #8,我需要应用以下补丁:

                                                                                                                              diff --git a/arch/arm/configs/sun8iw20p1smp_defconfig b/arch/arm/configs/sun8iw20p1smp_defconfig
                                                                                                                              index 94d4800b8..52c1767f8 100644
                                                                                                                              --- a/arch/arm/configs/sun8iw20p1smp_defconfig
                                                                                                                              +++ b/arch/arm/configs/sun8iw20p1smp_defconfig
                                                                                                                              @@ -66,16 +66,20 @@ CONFIG_INET_UDP_DIAG=y
                                                                                                                               CONFIG_IPV6_TUNNEL=y
                                                                                                                               CONFIG_NETLINK_DIAG=y
                                                                                                                               CONFIG_CAN=y
                                                                                                                              +CONFIG_CFG80211=m
                                                                                                                               CONFIG_UEVENT_HELPER=y
                                                                                                                               CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
                                                                                                                               CONFIG_DEVTMPFS=y
                                                                                                                               CONFIG_SUNXI_MBUS=y
                                                                                                                               CONFIG_MTD=y
                                                                                                                               CONFIG_AW_MTD_SPINAND=y
                                                                                                                              +CONFIG_SUNXI_RFKILL=y
                                                                                                                              +CONFIG_SUNXI_ADDR_MGT=y
                                                                                                                               CONFIG_SCSI=y
                                                                                                                               CONFIG_BLK_DEV_SD=y
                                                                                                                               CONFIG_NETDEVICES=y
                                                                                                                               CONFIG_SUNXI_GMAC=y
                                                                                                                              +CONFIG_XR829_WLAN=m
                                                                                                                               CONFIG_INPUT_EVDEV=y
                                                                                                                               # CONFIG_INPUT_SENSORINIT is not set
                                                                                                                               CONFIG_KEYBOARD_SUNXI=y
                                                                                                                              @@ -163,6 +167,8 @@ CONFIG_USB_SUNXI_USB_MANAGER=y
                                                                                                                               CONFIG_USB_SUNXI_USB_DEBUG=y
                                                                                                                               CONFIG_USB_SUNXI_USB_ADB=y
                                                                                                                               CONFIG_USB_ROLE_SWITCH=y
                                                                                                                              +CONFIG_MMC=y
                                                                                                                              +CONFIG_MMC_SUNXI=y
                                                                                                                               CONFIG_RTC_CLASS=y
                                                                                                                               CONFIG_RTC_DRV_SUNXI=y
                                                                                                                               CONFIG_DMADEVICES=y
                                                                                                                              @@ -201,6 +207,7 @@ CONFIG_TMPFS_POSIX_ACL=y
                                                                                                                               CONFIG_UBIFS_FS=y
                                                                                                                               CONFIG_NLS_CODEPAGE_437=y
                                                                                                                               CONFIG_NLS_ISO8859_1=y
                                                                                                                              +CONFIG_CRYPTO_ARC4=m
                                                                                                                               CONFIG_CRYPTO_USER_API_HASH=y
                                                                                                                               CONFIG_CRYPTO_USER_API_SKCIPHER=y
                                                                                                                               CONFIG_CRYPTO_USER_API_RNG=y
                                                                                                                              

                                                                                                                              9. Missing sys_partition.fex for longan on evb1
                                                                                                                              9。 evb1 上的龙眼缺少 sys_partition.fex

                                                                                                                              PARTITION_FEX=/home/mstempin/T113-SDK/device/config/chips/t113/configs/evb1/longan/sys_partition.fex
                                                                                                                              awk: fatal: cannot open file `/home/mstempin/T113-SDK/device/config/chips/t113/configs/evb1/longan/sys_partition.fex' for reading (No such file or directory)
                                                                                                                              ROOTFS_FEX_LINE=
                                                                                                                              awk: fatal: cannot open file `/home/mstempin/T113-SDK/device/config/chips/t113/configs/evb1/longan/sys_partition.fex' for reading (No such file or directory)
                                                                                                                              ROOTFS_FEX_STR=
                                                                                                                              can't find rootfs size in sys_partition.fex, use default 2097152
                                                                                                                              ROOTFS_FEX_SIZE=2097152
                                                                                                                              EXT4_SIZE=1073741824(1073741824/1024/1024)
                                                                                                                              /home/mstempin/T113-SDK/device/config/chips/t113/configs/evb1/longan/sys_partition.fex rootfs.fex size is 2097152
                                                                                                                              EXT4_SIZE=2097152*512=1073741824
                                                                                                                              Creating filesystem with parameters:
                                                                                                                                  Size: 1073741824
                                                                                                                                  Block size: 4096
                                                                                                                                  Blocks per group: 32768
                                                                                                                                  Inodes per group: 8192
                                                                                                                                  Inode size: 256
                                                                                                                                  Journal blocks: 4096
                                                                                                                                  Label:
                                                                                                                                  Blocks: 262144
                                                                                                                                  Block groups: 8
                                                                                                                                  Reserved blocks: 0
                                                                                                                                  Reserved block group size: 63
                                                                                                                              Created filesystem with 113/65536 inodes and 10936/262144 blocks
                                                                                                                              /home/mstempin/T113-SDK/build/bin/make_ext4fs -s -l 1073741824 /home/mstempin/T113-SDK/out/t113/evb1/longan/rootfs.ext4  /home/mstempin/T113-SDK/out/t113/evb1/longan/buildroot/target
                                                                                                                              INFO: pack rootfs ok ...
                                                                                                                              INFO: ----------------------------------------
                                                                                                                              INFO: build lichee OK.
                                                                                                                              INFO: ----------------------------------------
                                                                                                                              

                                                                                                                              Solution: Create the directory device/config/chips/t113/configs/evb1/longan and copy the file device/config/chips/t113/configs/evb1/sys_partition.fex
                                                                                                                              解决方案:创建目录device/config/chips/t113/configs/evb1/longan并复制文件device/config/chips/t113/configs/evb1/sys_partition.fex

                                                                                                                              1 条回复 最后回复 回复 引用 分享 0
                                                                                                                              • M
                                                                                                                                mstempin LV 4 最后由 编辑

                                                                                                                                To summarize, here is the full patch to apply to the SDK in order to compile longan for evb1:
                                                                                                                                总而言之,这里是应用到 SDK 的完整补丁,以便为 evb1 编译龙眼:

                                                                                                                                for i in $(find . -type d -name .git); do i=$(dirname $i); echo "======================= $i ================="; cd $i; git diff --staged; cd - >/dev/null; done
                                                                                                                                ======================= ./platform/framework/auto =================
                                                                                                                                diff --git a/sdk_demo/audioenctest/Makefile b/sdk_demo/audioenctest/Makefile
                                                                                                                                index 532484d..0a8c835 100755
                                                                                                                                --- a/sdk_demo/audioenctest/Makefile
                                                                                                                                +++ b/sdk_demo/audioenctest/Makefile
                                                                                                                                @@ -29,7 +29,7 @@ DEFINES += $(ANDROID_UTILS_DEF) $(SDKLIB_DEF) $(CEDAR_MACORS)
                                                                                                                                 LIBS += -lMemAdapter -lvdecoder -lsbm -lfbm -laftertreatment -lscaledown -lcrypto -lvenc_common -lvenc_h264 -lvenc_h265 -lvenc_jpeg
                                                                                                                                 LIBS += -lVE -lcdc_base -lvideoengine -lcdx_common -lcdx_base -lsdk_memory -lsdk_disp -lsdk_log -lsdk_camera
                                                                                                                                 LIBS += -L$(SDK_PATH)/libs -lsdk_compose -lsdk_disp -lsdk_g2d -lsdk_dvr -lsdk_player \
                                                                                                                                -       -lsdk_log -lsdk_camera -lsdk_memory -lsdk_sound -lsdk_storage -lsdk_audenc -lsdk_cfg -lsdk_ctrl -lsdk_misc
                                                                                                                                +       -lsdk_log -lsdk_camera -lsdk_memory -lsdk_sound -lsdk_storage -lsdk_audenc -lsdk_cfg -lsdk_ctrl -lsdk_misc -lz
                                                                                                                                
                                                                                                                                 #LIBS +=  $(LICHEE_BR_OUT)/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libmali.so
                                                                                                                                
                                                                                                                                diff --git a/sdk_demo/encoderTest/Makefile b/sdk_demo/encoderTest/Makefile
                                                                                                                                index 6cb1db2..0112dec 100755
                                                                                                                                --- a/sdk_demo/encoderTest/Makefile
                                                                                                                                +++ b/sdk_demo/encoderTest/Makefile
                                                                                                                                @@ -6,6 +6,7 @@ SDK_PATH = ../../sdk_lib
                                                                                                                                
                                                                                                                                 CXXFLAGS = -I$(SDK_PATH)/cedarx/include/libcedarc/include
                                                                                                                                 CXXFLAGS += -I$(SDK_PATH)/include
                                                                                                                                +CXXFLAGS += -std=c++11
                                                                                                                                
                                                                                                                                 LDFLAGS = -L$(SDK_PATH)/libs/ -L$(SDK_PATH)/cedarx/lib
                                                                                                                                 LIBS = -lMemAdapter -lvencoder -lVE -lcdc_base -lvenc_jpeg -lvenc_common -lvenc_h264 -lvenc_h265  -lvenc_base
                                                                                                                                diff --git a/sdk_demo/sdktest/Makefile b/sdk_demo/sdktest/Makefile
                                                                                                                                index c11ac94..9577f26 100755
                                                                                                                                --- a/sdk_demo/sdktest/Makefile
                                                                                                                                +++ b/sdk_demo/sdktest/Makefile
                                                                                                                                @@ -54,7 +54,7 @@ INC = -I./ \
                                                                                                                                 all: $(Target)
                                                                                                                                
                                                                                                                                 $(Target): $(Target).cpp
                                                                                                                                -       $(CPP) -c $(Target).cpp -o $(Target).o -g -no-pie $(INC) $(CEDAR_MACORS) $(DEFINES)
                                                                                                                                +       $(CPP) -c $(Target).cpp -o $(Target).o -g $(INC) $(CEDAR_MACORS) $(DEFINES)^M
                                                                                                                                        $(CPP) -o $(Target) $(Target).o $(LIBS) $(CEDAR_LINK_NEW)
                                                                                                                                        @cp -f $(Target) $(INSTATLL_PATH)
                                                                                                                                        @echo "generate $(Target) success!!!"
                                                                                                                                diff --git a/sdk_demo/usbcam_test/Makefile b/sdk_demo/usbcam_test/Makefile
                                                                                                                                index c52d9b4..6a3e428 100755
                                                                                                                                --- a/sdk_demo/usbcam_test/Makefile
                                                                                                                                +++ b/sdk_demo/usbcam_test/Makefile
                                                                                                                                @@ -1,11 +1,9 @@
                                                                                                                                 TARGET := usbcam_test
                                                                                                                                 PWD=$(shell pwd)
                                                                                                                                -LICHEE_DIR=$(PWD)/../../../../..
                                                                                                                                -LICHEE_TOOL_DIR=$(LICHEE_DIR)/out/t113/evb1_auto/longan/buildroot/host/opt/ext-toolchain/
                                                                                                                                -LICHEE_OUT_HOSTDIR=$(LICHEE_DIR)/out/t113/evb1_auto/longan/buildroot/host/usr/
                                                                                                                                
                                                                                                                                -CC            = $(LICHEE_TOOL_DIR)/bin/arm-linux-gnueabi-gcc
                                                                                                                                -CPP           = $(LICHEE_TOOL_DIR)/bin/arm-linux-gnueabi-g++
                                                                                                                                +include ../makefile_cfg
                                                                                                                                +CC = ${LICHEE_CROSS_COMPILER}-gcc -g $(V)
                                                                                                                                +CPP = ${LICHEE_CROSS_COMPILER}-g++ -g $(V)
                                                                                                                                
                                                                                                                                 ARCH_DIR=$(LICHEE_KERN_DIR)/arch/arm64/include/
                                                                                                                                 CFLAGS := -I $(ARCH_DIR)
                                                                                                                                ======================= ./platform/framework/qt =================
                                                                                                                                ======================= ./platform/framework/cedarx =================
                                                                                                                                ======================= ./platform/framework/cairo =================
                                                                                                                                ======================= ./platform/framework/minigui =================
                                                                                                                                ======================= ./platform/framework/pixman =================
                                                                                                                                ======================= ./platform/framework/libcedarc =================
                                                                                                                                ======================= ./platform/config =================
                                                                                                                                ======================= ./platform/base =================
                                                                                                                                ======================= ./platform/apps =================
                                                                                                                                ======================= ./platform/core/net =================
                                                                                                                                ======================= ./platform/core/system =================
                                                                                                                                ======================= ./platform/core/multimedia =================
                                                                                                                                ======================= ./platform/core/graphics =================
                                                                                                                                ======================= ./platform/external/libsysutils =================
                                                                                                                                ======================= ./platform/external/libcutils =================
                                                                                                                                ======================= ./platform/external/libutils =================
                                                                                                                                ======================= ./platform/tools/debug =================
                                                                                                                                ======================= ./brandy/brandy-2.0/spl-pub =================
                                                                                                                                ======================= ./brandy/brandy-2.0/u-boot-2018 =================
                                                                                                                                ======================= ./brandy/brandy-2.0/tools =================
                                                                                                                                ======================= ./device/config/chips/t113 =================
                                                                                                                                diff --git a/configs/evb1/linux-5.4/board.dts b/configs/evb1/linux-5.4/board.dts
                                                                                                                                index 062f87a..56e82ae 100755
                                                                                                                                --- a/configs/evb1/linux-5.4/board.dts
                                                                                                                                +++ b/configs/evb1/linux-5.4/board.dts
                                                                                                                                @@ -238,7 +238,7 @@
                                                                                                                                                pins = "PB0";
                                                                                                                                                function = "gpio_in";
                                                                                                                                        };
                                                                                                                                -
                                                                                                                                +/*
                                                                                                                                        can0_pins_a: can0_pins_a@0 {
                                                                                                                                                pins = "PB2", "PB3";
                                                                                                                                                function = "can0";
                                                                                                                                @@ -262,7 +262,7 @@
                                                                                                                                                pins = "PB4", "PB5";
                                                                                                                                                function = "gpio_in";
                                                                                                                                        };
                                                                                                                                -
                                                                                                                                +*/
                                                                                                                                        dmic_pins_a: dmic@0 {
                                                                                                                                                /* DMIC_PIN: CLK, DATA0, DATA1, DATA2, DATA3*/
                                                                                                                                                pins = "PB12", "PB11", "PB10", "PE14", "PB8";
                                                                                                                                @@ -717,7 +717,7 @@
                                                                                                                                        pinctrl-1 = <&ir1_pins_b>;
                                                                                                                                        status = "disabled";
                                                                                                                                 };
                                                                                                                                -
                                                                                                                                +/*
                                                                                                                                 &can0 {
                                                                                                                                        pinctrl-names = "default", "sleep";
                                                                                                                                        pinctrl-0 = <&can0_pins_a>;
                                                                                                                                @@ -731,7 +731,7 @@
                                                                                                                                        pinctrl-1 = <&can1_pins_b>;
                                                                                                                                        status = "disabled";
                                                                                                                                 };
                                                                                                                                -
                                                                                                                                +*/
                                                                                                                                 &gmac0 {
                                                                                                                                        pinctrl-0 = <&gmac0_pins_a>;
                                                                                                                                        pinctrl-1 = <&gmac0_pins_b>;
                                                                                                                                diff --git a/configs/evb1/longan/sys_partition.fex b/configs/evb1/longan/sys_partition.fex
                                                                                                                                new file mode 100755
                                                                                                                                index 0000000..fa24603
                                                                                                                                --- /dev/null
                                                                                                                                +++ b/configs/evb1/longan/sys_partition.fex
                                                                                                                                @@ -0,0 +1,85 @@
                                                                                                                                +;---------------------------------------------------------------------------------------------------
                                                                                                                                +; 说明: 脚本中的字符串区分大小写,用户可以修改"="后面的数值,但是不要修改前面的字符串
                                                                                                                                +;---------------------------------------------------------------------------------------------------
                                                                                                                                +
                                                                                                                                +
                                                                                                                                +;---------------------------------------------------------------------------------------------------
                                                                                                                                +;                                   固件下载参数配置
                                                                                                                                +;---------------------------------------------------------------------------------------------------
                                                                                                                                +;***************************************************************************************************
                                                                                                                                +;    mbr的大小, 以Kbyte为单位
                                                                                                                                +;***************************************************************************************************
                                                                                                                                +[mbr]
                                                                                                                                +size = 16384
                                                                                                                                +
                                                                                                                                +;***************************************************************************************************
                                                                                                                                +;                                              分区配置
                                                                                                                                +;
                                                                                                                                +;
                                                                                                                                +;  partition 定义范例:
                                                                                                                                +;    [partition]                ;  //表示是一个分区
                                                                                                                                +;    name        = USERFS2      ; //分区名称
                                                                                                                                +;    size        = 16384        ; //分区大小 单位: 扇区.分区表示个数最多2^31 * 512 = 2T
                                                                                                                                +;    downloadfile = "123.fex"   ; //下载文件的路径和名称,可以使用相对路径,相对是指相对于image.cfg文件所在分区。也可以使用绝对路径
                                                                                                                                +;    keydata     = 1            ; //私有数据分区,重新量产数据将不丢失
                                                                                                                                +;    encrypt     = 1            ; //采用加密方式烧录,将提供数据加密,但损失烧录速度
                                                                                                                                +;    user_type   = ?            ; //私有用法
                                                                                                                                +;    verify      = 1            ; //要求量产完成后校验是否正确
                                                                                                                                +;
                                                                                                                                +; 注:1、name唯一, 不允许同名
                                                                                                                                +;     2、name最大12个字符
                                                                                                                                +;     3、size = 0, 将创建一个无大小的空分区
                                                                                                                                +;     4、align to logical block size(504 sectors), leb size = 2*(1 nand phy block size - 1 phy page size)
                                                                                                                                +;***************************************************************************************************
                                                                                                                                +[partition_start]
                                                                                                                                +
                                                                                                                                +[partition]
                                                                                                                                +    name         = boot-resource
                                                                                                                                +    size         = 504
                                                                                                                                +    downloadfile = "boot-resource.fex"
                                                                                                                                +    user_type    = 0x8000
                                                                                                                                +
                                                                                                                                +
                                                                                                                                +[partition]
                                                                                                                                +    name         = env
                                                                                                                                +    size         = 504
                                                                                                                                +    downloadfile = "env.fex"
                                                                                                                                +    user_type    = 0x8000
                                                                                                                                +
                                                                                                                                +[partition]
                                                                                                                                +    name         = env-redund
                                                                                                                                +    size         = 504
                                                                                                                                +    downloadfile = "env.fex"
                                                                                                                                +    user_type    = 0x8000
                                                                                                                                +
                                                                                                                                +[partition]
                                                                                                                                +    name         = boot
                                                                                                                                +    size         = 7680
                                                                                                                                +    downloadfile = "boot.fex"
                                                                                                                                +    user_type    = 0x8000
                                                                                                                                +
                                                                                                                                +[partition]
                                                                                                                                +    name         = rootfs
                                                                                                                                +    size         = 61440
                                                                                                                                +    downloadfile = "rootfs.fex"
                                                                                                                                +    user_type    = 0x8000
                                                                                                                                +
                                                                                                                                +;[partition]
                                                                                                                                +;    name         = dsp0
                                                                                                                                +;    size         = 2048
                                                                                                                                +;    downloadfile = "dsp0.fex"
                                                                                                                                +;    user_type    = 0x8000
                                                                                                                                +
                                                                                                                                +;[partition]
                                                                                                                                +;    name         = recovery
                                                                                                                                +;    size         = 16128
                                                                                                                                +;    ;downloadfile = "recovery.fex"
                                                                                                                                +;    user_type    = 0x8000
                                                                                                                                +
                                                                                                                                +[partition]
                                                                                                                                +    name         = UDISK
                                                                                                                                +    name         = rootfs_data
                                                                                                                                +    size         = 10240
                                                                                                                                +    user_type    = 0x8000
                                                                                                                                +
                                                                                                                                +
                                                                                                                                ======================= ./device/config/common =================
                                                                                                                                ======================= ./device/config/rootfs_tar =================
                                                                                                                                ======================= ./.repo/repo =================
                                                                                                                                ======================= ./.repo/manifests =================
                                                                                                                                ======================= ./buildroot/buildroot-201902 =================
                                                                                                                                ======================= ./test/dragonboard =================
                                                                                                                                ======================= ./build =================
                                                                                                                                ======================= ./kernel/linux-5.4 =================
                                                                                                                                diff --git a/arch/arm/configs/sun8iw20p1smp_defconfig b/arch/arm/configs/sun8iw20p1smp_defconfig
                                                                                                                                index 94d4800b8..52c1767f8 100644
                                                                                                                                --- a/arch/arm/configs/sun8iw20p1smp_defconfig
                                                                                                                                +++ b/arch/arm/configs/sun8iw20p1smp_defconfig
                                                                                                                                @@ -66,16 +66,20 @@ CONFIG_INET_UDP_DIAG=y
                                                                                                                                 CONFIG_IPV6_TUNNEL=y
                                                                                                                                 CONFIG_NETLINK_DIAG=y
                                                                                                                                 CONFIG_CAN=y
                                                                                                                                +CONFIG_CFG80211=m
                                                                                                                                 CONFIG_UEVENT_HELPER=y
                                                                                                                                 CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
                                                                                                                                 CONFIG_DEVTMPFS=y
                                                                                                                                 CONFIG_SUNXI_MBUS=y
                                                                                                                                 CONFIG_MTD=y
                                                                                                                                 CONFIG_AW_MTD_SPINAND=y
                                                                                                                                +CONFIG_SUNXI_RFKILL=y
                                                                                                                                +CONFIG_SUNXI_ADDR_MGT=y
                                                                                                                                 CONFIG_SCSI=y
                                                                                                                                 CONFIG_BLK_DEV_SD=y
                                                                                                                                 CONFIG_NETDEVICES=y
                                                                                                                                 CONFIG_SUNXI_GMAC=y
                                                                                                                                +CONFIG_XR829_WLAN=m
                                                                                                                                 CONFIG_INPUT_EVDEV=y
                                                                                                                                 # CONFIG_INPUT_SENSORINIT is not set
                                                                                                                                 CONFIG_KEYBOARD_SUNXI=y
                                                                                                                                @@ -163,6 +167,8 @@ CONFIG_USB_SUNXI_USB_MANAGER=y
                                                                                                                                 CONFIG_USB_SUNXI_USB_DEBUG=y
                                                                                                                                 CONFIG_USB_SUNXI_USB_ADB=y
                                                                                                                                 CONFIG_USB_ROLE_SWITCH=y
                                                                                                                                +CONFIG_MMC=y
                                                                                                                                +CONFIG_MMC_SUNXI=y
                                                                                                                                 CONFIG_RTC_CLASS=y
                                                                                                                                 CONFIG_RTC_DRV_SUNXI=y
                                                                                                                                 CONFIG_DMADEVICES=y
                                                                                                                                @@ -201,6 +207,7 @@ CONFIG_TMPFS_POSIX_ACL=y
                                                                                                                                 CONFIG_UBIFS_FS=y
                                                                                                                                 CONFIG_NLS_CODEPAGE_437=y
                                                                                                                                 CONFIG_NLS_ISO8859_1=y
                                                                                                                                +CONFIG_CRYPTO_ARC4=m
                                                                                                                                 CONFIG_CRYPTO_USER_API_HASH=y
                                                                                                                                 CONFIG_CRYPTO_USER_API_SKCIPHER=y
                                                                                                                                 CONFIG_CRYPTO_USER_API_RNG=y
                                                                                                                                ======================= ./tools =================
                                                                                                                                
                                                                                                                                
                                                                                                                                1 条回复 最后回复 回复 引用 分享 0
                                                                                                                                • W
                                                                                                                                  wells LV 2 @mstempin 最后由 编辑

                                                                                                                                  @mstempin
                                                                                                                                  我遇到了和你的问题#2一样的问题,请问你是怎么解决的?
                                                                                                                                  I met the same problem as your problem #2, could you tell me how do you solve?

                                                                                                                                  1 条回复 最后回复 回复 引用 分享 0
                                                                                                                                  • Moved from MR Series by  YuzukiTsuru YuzukiTsuru 
                                                                                                                                  • 1 / 1
                                                                                                                                  • First post
                                                                                                                                    Last post

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

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