导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页
    1. 主页
    2. mstempin
    3. 帖子
    M
    • 资料
    • 关注 2
    • 粉丝 0
    • 我的积分 920
    • 主题 1
    • 帖子 21
    • 最佳 1
    • 群组 0

    mstempin 发布的帖子

    • 用于 V3s/S3 芯片的 Tina Linux

      是否有用于 V3s/S3 芯片的 Tina Linux 版本?

      发布在 其它全志芯片讨论区
      M
      mstempin
    • 回复: 【资料汇总】V853资料汇总

      请问有人有V851S的引脚吗?

      发布在 V Series
      M
      mstempin
    • 回复: 【开源】Yuzukilizard 基于 V851s 的迷你 AI 视觉开发板

      我在github上找不到

      发布在 V Series
      M
      mstempin
    • 回复: 看图猜板,猜对的同学可以免费获得!

      @q1215200171 谢谢!!

      发布在 V Series
      M
      mstempin
    • 回复: 看图猜板,猜对的同学可以免费获得!

      @xiaowenge 在 看图猜板,猜对的同学可以免费获得! 中说:

      看样子是QFN封装的片子吧
      V853是BGA的
      (by the way 还有个V851/V851S是QFN的
      78ef2467-6718-4ad7-9e8a-fafa041ae638-image.png

      可以分享一下 V851s 的文档吗?

      发布在 V Series
      M
      mstempin
    • 回复: 有块V3s板子烧录时候检测不到DDR,即使一直插着电,V3s也不发热,冷冰冰的,是不是V3s坏了呢?

      似乎 SRAM 之前还有另一个问题:看起来 PMU 不工作,这可以解释为什么 DRAM 在没有电源的情况下不工作。

      发布在 其它全志芯片讨论区
      M
      mstempin
    • 回复: T113 Tina SDK、Longan SDK、开发资料下载

      @wxid_disxysjskla
      我没有百度,请问可以把它放在中国大陆以外的地方吗?

      发布在 其它全志芯片讨论区
      M
      mstempin
    • 回复: 麻雀 MQ-Dual (双核A7版本内置128M运存) ,准备测试

      有关 Aliexpress 上 MQ Dual 可用性的任何消息?

      发布在 其它全志芯片讨论区
      M
      mstempin
    • 回复: 全志引脚计算器 AllwinnerPin 小工具发布

      @miaoguoqiang 垃圾进垃圾出 ;-)
      很难检查边界,因为它们依赖于 SoC。

      发布在 其它全志芯片讨论区
      M
      mstempin
    • 回复: 麻雀 MQ-Dual (双核A7版本内置128M运存) ,准备测试

      @xiaowenge
      是的!淘宝买不到

      发布在 其它全志芯片讨论区
      M
      mstempin
    • 回复: WSL2编译d1-h_nezha-tina或D1s失败

      编译需要在 Linux 本地分区上完成,而不是 FAT 或 NTFS 分区,因为它们会破坏大写/小写。您的文件似乎在 "F:" ("/mnt/f") 上,这可能是它无法编译的原因。

      请将所有文件直接放在 Linux HOME 目录下的目录中,您将能够从 Windows 资源管理器中使用“\\wsl$”访问它们

      发布在 MR Series
      M
      mstempin
    • 回复: 麻雀 MQ-Dual (双核A7版本内置128M运存) ,准备测试

      有关 Aliexpress 上 MQ Dual 可用性的任何消息?

      发布在 其它全志芯片讨论区
      M
      mstempin
    • 回复: 麻雀加核计划:MQ增加双核内置128M版本,MQ-Pro则增加四核版本

      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 =================
      
      
      发布在 H/F/TV Series
      M
      mstempin
    • 回复: 麻雀加核计划:MQ增加双核内置128M版本,MQ-Pro则增加四核版本

      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

      发布在 H/F/TV Series
      M
      mstempin
    • 回复: 全志引脚计算器 AllwinnerPin 小工具发布

      Here is a Shell version, no dependency:
      这是一个 Shell 版本,没有依赖关系:

      #!/bin/bash
      
      # Convert argument to uppercase
      arg=${1^^}
      
      if [[ "$arg" =~ ^[0-9]+$ ]]; then
      
          # Argument is numeric, each port is 32-bit wide
          let port_base=$arg/32
      
          # Convert port number to ASCII code ('A' is 65)
          let port=$port_base+65
          let bit=$arg%32
          printf "P%b%d\n" $(printf '\x%x\n' $port 2>/dev/null) $bit
      elif [[ "$arg" =~ ^P[A-Z][0-9]+$ ]]; then
      
          # Argument is a pin name, convert port name to number ('A' is 65)
          let port=$(printf "%d" "'${arg:1:1}")-65
      
          # Each port is 32-bit wide
          let port_base=$port*32
          let gpio=port_base+${arg:2}
          echo $gpio
      else
          >&2 echo "wrong argument"
      fi
      
      
      发布在 其它全志芯片讨论区
      M
      mstempin
    • 回复: 麻雀加核计划:MQ增加双核内置128M版本,MQ-Pro则增加四核版本

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

      发布在 H/F/TV Series
      M
      mstempin
    • 回复: 麻雀加核计划:MQ增加双核内置128M版本,MQ-Pro则增加四核版本

      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 😉
      暂时放弃 😉

      发布在 H/F/TV Series
      M
      mstempin
    • 回复: 麻雀加核计划:MQ增加双核内置128M版本,MQ-Pro则增加四核版本

      我在 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
      
      发布在 H/F/TV Series
      M
      mstempin
    • 回复: 麻雀加核计划:MQ增加双核内置128M版本,MQ-Pro则增加四核版本

      @yuzukitsuru 非常感谢!🙏

      发布在 H/F/TV Series
      M
      mstempin
    • 回复: 麻雀加核计划:MQ增加双核内置128M版本,MQ-Pro则增加四核版本

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

      发布在 H/F/TV Series
      M
      mstempin
    • 回复: 麻雀加核计划:MQ增加双核内置128M版本,MQ-Pro则增加四核版本

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

      发布在 H/F/TV Series
      M
      mstempin
    • 1 / 1