Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页
    1. Home
    2. newcastle
    N
    • Profile
    • Following 0
    • Followers 0
    • my integral 1990
    • Topics 32
    • Posts 40
    • Best 1
    • Groups 0

    newcastleLV 5

    @newcastle

    1990
    integral
    1
    Reputation
    13
    Profile views
    40
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    newcastle Unfollow Follow

    Best posts made by newcastle

    • LVGL视频播放界面实现方法

      1.主题

      LVGL视频播放界面实现方法

      2.问题背景

      使用LVGL开发且需要在UI下显示视频或者显示摄像头数据,但是不知道如何实现,要么是只显示UI,要么就只显示视频。

      3.具体表现

      可以看下视频播放的时候有哪些元素。

      74794f0bdb2e412a89cd52f33daac915.png

      有播放按钮,进度条,设置等可交互的控件,这些都位于UI层。

      UI的下方就是视频解码后的一帧数据,视频数据位于视频层。

      4.问题分析

      一般UI层位于视频层的上方,如果UI层没有设置透明度,那么会有一个背景色,覆盖了视频层,导致只能看到背景色和一些控制按钮。

      5.根本原因

      首先需要知道有图层的概念,下面的命令可以看到图层的信息:

      root@TinaLinux:/# cat /sys/class/disp/disp/attr/sys
      screen 0:
      de_rate 300000000 hz, ref_fps:59
      mgr0: 1280x800 fmt[rgb] cs[0x204] range[full] eotf[0x4] bits[8bits] err[1] force_sync[1] unblank direct_show[false] iommu[1]
      dmabuf: cache[4] cache max[4] umap skip[0] umap skip max[18]
              lcd output      backlight( 50)  fps:60.0        1280x 800
              err:0   skip:67 irq:2300        vsync:0 vsync_skip:0
         BUF    enable ch[0] lyr[0] z[0] prem[N] a[pixel   0] fmt[ 77] fb[1280, 736; 640, 368; 640, 368] crop[   0,   0,1280, 720] frame[   0,   0,1280, 800] addr[fb200000,fb2e6000,fb359000] flags[0x       0] trd[0,0]
      depth[ 0]    BUF    enable ch[1] lyr[0] z[16] prem[N] a[pixel 255] fmt[  0] fb[1280, 800;1280, 800;1280, 800] crop[   0,   0,1280, 800] frame[   0,   0,1280, 800] addr[ff800000,       0,       0] flags[0x
        0] trd[0,0]
      

      在内核初始化过程中,显示驱动注册/dev/fb0,会申请UI层,可以看到ch[1] lyr[0],一般UI就一个地址addr[ff800000, 0, 0],并且也是最顶层的z[16],混合模式a[pixel 255]表示由应用控制UI层的透明度。

      视频播放(使用TPlayer接口)的时候会通过中间件申请视频图层,可以看到ch[0] lyr[0],并且yuv三个地址一直在变化addr[fb200000,fb2e6000,fb359000],通常视频会放到最底层z[0]。

      当应用没有透明时,因为UI层的zorder比视频层大,因此只能看到UI,看不到视频,所以应用需要“挖空”。

      6.解决办法

      下面代码里的屏幕,一般是指/dev/fb0,LVGL版本是8.3.2。

      使用下面的代码前需要在lv_conf.h中设置参数:

      #define LV_COLOR_SCREEN_TRANSP 1
      
      /* 初始化屏幕风格 */
      static lv_style_t style_scr_act;
      if (style_scr_act.prop_cnt == 0) {
          lv_style_init(&style_scr_act);
          /* 默认不是透明的,后面按需要切换即可 */
          lv_style_set_bg_opa(&style_scr_act, LV_OPA_COVER);
          /* 一定要应用风格,不然也是没有效果的 */
          lv_obj_add_style(lv_scr_act(), &style_scr_act, 0);
      }
      
      /* 这里根据按钮状态,切换不同风格,一种是UI能够透明看到底下的视频,一种是UI覆盖视频,视频就看不到了 */
      if (lv_obj_has_state(btn, LV_STATE_CHECKED)) {
          /* 这里切换为UI透明 */
          lv_label_set_text(label, "Stop");
          /* 这里设置屏幕是透明的 */
          lv_disp_get_default()->driver->screen_transp = 1;
          /* 这里设置屏幕背景是透明的 */
          lv_disp_set_bg_opa(lv_disp_get_default(), LV_OPA_TRANSP);
          /* 这里清空屏幕,不清空的话,可能不会生效 */
          lv_memset_00(lv_disp_get_default()->driver->draw_buf->buf_act,
                  lv_disp_get_default()->driver->draw_buf->size
                          * sizeof(lv_color32_t));
          /* 这里屏幕风格切换为透明的 */
          lv_style_set_bg_opa(&style_scr_act, LV_OPA_TRANSP);
          /* 通知风格变化,需要更新 */
          lv_obj_report_style_change(&style_scr_act);
      } else {
          /* 这里切换为UI不透明,也就是覆盖视频 */
          lv_label_set_text(label, "Play");
          /* 这里设置屏幕是不透明的 */
          lv_disp_get_default()->driver->screen_transp = 0;
          /* 这里设置屏幕背景是不透明的 */
          lv_disp_set_bg_opa(lv_disp_get_default(), LV_OPA_COVER);
          /* 这里屏幕风格切换为不透明的 */
          lv_style_set_bg_opa(&style_scr_act, LV_OPA_COVER);
          /* 通知风格变化,需要更新 */
          lv_obj_report_style_change(&style_scr_act);
      }
      
      posted in GUI
      N
      newcastle

    Latest posts made by newcastle

    • XR806是不是可以直接用命令行和脚本进行编程,不需要再次烧录了呢

      这个板子上面既然运行了操作系统,那么是不是可以直接用命令行和脚本进行编程,不需要再次烧录了呢?

      就像这样

      微信图片_20230926100444.jpg

      posted in XR系列-无线互联
      N
      newcastle
    • r128尝试点屏时使用LVGL示例测试时无法申请和释放内存

      有哪位大佬知道r128尝试点屏时使用LVGL示例测试时无法申请和释放内存是怎么回事?

      QQ图片20230922100544.png

      posted in R128系列-智能硬件
      N
      newcastle
    • h616 怎么加BGA96的DDR4,现在的兼容器件有哪些,软件要怎么适配?

      h616 怎么加BGA96的DDR4,现在的兼容器件有哪些?

      DDR4.jpg

      按照这个可以设计原理
      这个的兼容器件有哪些?现在看到的板子多为DDR3 的。
      SUPPER LIST 中只有一颗是测试过的:H5AN4G6NBJR
      现在有更新吗?使用DDR4 X 16 软件上要做哪些修改?

      posted in H616系列-OTT
      N
      newcastle
    • 启动阶段应用自启动时从/dev/random设备中获取随机数阻塞时间长

      使用的V851S,内核启动40多秒之后random才初始化完成,如果应用需要从/dev/random设备中获取随机数,需要阻塞几十秒的时间才能成功获取到随机数。

      downloadFileByUrl.png

      posted in V853系列-AI视觉
      N
      newcastle
    • 如何确认是什么中断唤醒的芯片

      XR806休眠时频繁被中断唤醒,但没办法定位到是什么中断导致的

      被唤醒时,有以下log:

      [2022-10-28-18:38:33.456]$ PMA: appos enter mode: standby
      [2022-10-28-18:38:33.457]suspend devices took 1 ms
      [2022-10-28-18:38:33.458]nvic[1]:8, mask:fff en:0
      [2022-10-28-18:38:33.458]wakeup devices pending
      [2022-10-28-18:38:33.459]resume devices took 2 ms
      [2022-10-28-18:38:33.618]suspend devices took 3 ms
      
      posted in XR系列-无线互联
      N
      newcastle
    • 用mpp:sample_virvi2vo测试时出现的ISP文件,GC2053从何而来
      [ 430.271905] [DISP] disp_device_attached_and_enable,line:234:
      [ 430.278140] attached ok, mgr0<–>dev0
      [ 430.282524] [DISP] disp_device_attached_and_enable,line:247:
      [ 430.288732] type:1,mode:0,fmt:rgb,bits:8bits,eotf:4,cs:0 dvi_hdmi:2, range:2 scan:0 ratio:8
      I0101 02:55:56.266032 1140 sample_virvi2vo.c:385] Vipp dev[0] vir_chn[0]
      [ISP]video device name is vin_video0
      [ISP]open video device[0], detect isp0 success!
      I0101 02:55:56.266471 1140 media_debug.c:45] MPP_DEDIA_DEBUG_FILE_PATH=(null)
      I0101 02:55:56.267184 1140 videoInputHw.c:942] <videoInputHw_SetChnAttr> ViCh[0] update width:360(368), height:640(640)
      [ISP]video0 fd[11] ve_online_en=[ 430.572375] [VIN]ve_online close
      0, dma_buf_num=0
      [ISP]open isp device[0] success!
      [ISP]get isp_ctx from /mnt/extsd/isp0_1280_720_60_ctx_saved.bin success!!!
      [ISP]prefer isp config: [ov9716_mipi], 1280x720, 60, 0, 0
      [ISP_WARN]cannot find ov9716_mipi_1280_720_60_0_0 isp config, use gc2053_mipi_1920_1088_20_0_0 → [gc2053_mip[ 430.604994] [VIN_DEV_I2C_ERR]sensor_write success!,addr:0x36,data:0xDECB1CD2
      i_isp600_20220511_164617_vlc4_day]
      [ISP]create isp0 server thread!
      

      \tina-v853-open\openwrt\package\allwinner\vision\libAWIspApi\src\isp600\libisp\isp_cfg\isp_ini_parse.c

      此文件未被编译, 用mpp:sample_virvi2vo测试时出现的ISP文件,GC2053从何而来

      posted in V853系列-AI视觉
      N
      newcastle
    • T113_pro,如何打包成通用镜像,用PhoenixSuit烧写EMMC

      我希望把 buildroot-100ask_t113-pro 工程打包成可以刷emmc的img文件

      posted in 其它全志芯片讨论区
      N
      newcastle
    • V851s 设备添加了开机logo后提示can't find partition bootloader,并且无法显示开机logo

      V851s 设备添加了开机logo后提示can't find partition bootloader,并且无法显示开机logo,有遇到过类似问题吗

      mtdids  : nand0=nand
      mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys)
      [01.061]ubi0: attaching mtd4
      [01.291]ubi0: scanning is finished
      [01.300]ubi0: attached mtd4 (name "sys", size 123 MiB)
      [01.305]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
      [01.311]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
      [01.317]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
      [01.324]ubi0: good PEBs: 492, bad PEBs: 0, corrupted PEBs: 0
      [01.329]ubi0: user volume: 10, internal volumes: 1, max. volumes count: 128
      [01.336]ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
      [01.343]ubi0: available PEBs: 0, total reserved PEBs: 492, PEBs reserved for bad PEB handling: 20
      [01.352]sunxi flash init ok
      [01.355]line:724 init_clocks
      [01.358]drv_disp_init
      request pwm success, pwm7:pwm7:0x2000c00.
      [01.372]drv_disp_init finish
      [01.606]Loading Environment from SUNXI_FLASH... OK
      [01.644]boot_gui_init:start
      [01.647][ICN6202 TO LVDS] LINE:0107-->lcd_open_flow:gv029deq open flow!!!! sel:0
      [01.654][ICN6202 TO LVDS] LINE:0107-->lcd_open_flow:gv029deq open flow!!!! sel:0
      FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL
      disp_sys_pin_set_state, fdt_set_all_pin, ret=-1
      [02.334]boot_gui_init:finish
      [02.343][ICN6202 TO LVDS] LINE:0107-->lcd_open_flow:gv029deq open flow!!!! sel:0
      [02.594][ICN6202 TO LVDS] LINE:0271-->lcd_panel_init:gv029deq init!!!!
      close threshold:4000
      crc16_check OK!
      get num:0, battery voltage: 0
      [06.125][ICN6202 TO LVDS] LINE:0107-->lcd_open_flow:gv029deq open flow!!!! sel:0
      partno erro : can't find partition bootloader
      ** Unable to read file bootlogo.bmp **
      [06.146]sunxi bmp info error : unable to open logo file bootlogo.bmp
      [06.157]Item0 (Map) magic is bad
      [06.160]out of usb burn from boot: not need burn key
      damaged volume, update marker is set[06.168]update bootcmd
      [06.182][ICN6202 TO LVDS] LINE:0107-->lcd_open_flow:gv029deq open flow!!!! sel:0
      [06.190][ICN6202 TO LVDS] LINE:0107-->lcd_open_flow:gv029deq open flow!!!! sel:0
      [06.197][ICN6202 TO LVDS] LINE:0107-->lcd_open_flow:gv029deq open flow!!!! sel:0
      [06.204]LCD open finish
      [06.248]change working_fdt 0x41e8de70 to 0x41e6de70
      [06.260]## error: update_fdt_dram_para : FDT_ERR_NOTFOUND
      [06.269]update dts
      
      posted in V853系列-AI视觉
      N
      newcastle
    • SUNXI相关配置文件不存在,如何补齐?

      1b3e507ff70d898c1c3f4803355ba7e9a5f43dbd_2_690x397.png

      4a1d2763a9f668e5c60d7459d613e88e91c8f98d_2_688x500.png

      book@100ask:~/V853_SDK/tina-v853-open$ make kernel_menuconfig/
      ===There is tina environment.===
      Note: make is the shell functon in envsetup.sh.
      
      == action: openwrt_build, action_args: kernel_menuconfig/ ==
      ========ACTION List: build_linuxdev kernel_menuconfig/;========
      options :
      INFO: ----------------------------------------
      INFO: build linuxdev …
      INFO: chip: sun8iw21p1
      INFO: platform: linux
      INFO: kernel: linux-4.9
      INFO: board: vision
      INFO: output: /home/book/V853_SDK/tina-v853-open/out/v853/vision/openwrt
      INFO: ----------------------------------------
      INFO: don’t build dtbo …
      INFO: build arisc
      INFO: build_bootloader: brandy_path= /home/book/V853_SDK/tina-v853-open/brandy/brandy-2.0
      INFO: skip build brandy.
      INFO: build kernel …
      INFO: Prepare toolchain …
      Building kernel
      /home/book/V853_SDK/tina-v853-open/kernel/linux-4.9/output/lib/modules/4.9.191
      CHK include/config/kernel.release
      CHK include/generated/uapi/linux/version.h
      CHK include/generated/utsrelease.h
      CHK scripts/mod/devicetable-offsets.h
      CHK include/generated/timeconst.h
      CHK include/generated/bounds.h
      CHK include/generated/asm-offsets.h
      CALL scripts/checksyscalls.sh
      CHK include/generated/compile.h
      DTC arch/arm/boot/dts/board.dtb
      Error: arch/arm/boot/dts/board.dts:220.31-32 syntax error
      FATAL ERROR: Unable to parse input tree
      scripts/Makefile.lib:313: recipe for target ‘arch/arm/boot/dts/board.dtb’ failed
      make[1]: *** [arch/arm/boot/dts/board.dtb] Error 1
      arch/arm/Makefile:343: recipe for target ‘dtbs’ failed
      make: *** [dtbs] Error 2
      make: *** Waiting for unfinished jobs…
      ERROR: build kernel_menuconfig/ Failed
      INFO: build kernel failed
      book@100ask:~/V853_SDK/tina-v853-open$
      
      book@100ask:~/V853_SDK/tina-v853-open$ make kernel_menuconfig/
      ===There is tina environment.===
      Note: make is the shell functon in envsetup.sh.
      
      == action: openwrt_build, action_args: kernel_menuconfig/ ==
      ========ACTION List: build_linuxdev kernel_menuconfig/;========
      options :
      INFO: ----------------------------------------
      INFO: build linuxdev …
      INFO: chip: sun8iw21p1
      INFO: platform: linux
      INFO: kernel: linux-4.9
      INFO: board: vision
      INFO: output: /home/book/V853_SDK/tina-v853-open/out/v853/vision/openwrt
      INFO: ----------------------------------------
      INFO: don’t build dtbo …
      INFO: build arisc
      INFO: build_bootloader: brandy_path= /home/book/V853_SDK/tina-v853-open/brandy/brandy-2.0
      INFO: skip build brandy.
      INFO: build kernel …
      INFO: Prepare toolchain …
      Building kernel
      /home/book/V853_SDK/tina-v853-open/kernel/linux-4.9/output/lib/modules/4.9.191
      CHK include/config/kernel.release
      CHK include/generated/uapi/linux/version.h
      CHK include/generated/utsrelease.h
      CHK scripts/mod/devicetable-offsets.h
      CHK include/generated/timeconst.h
      CHK include/generated/bounds.h
      CHK include/generated/asm-offsets.h
      CALL scripts/checksyscalls.sh
      CHK include/generated/compile.h
      DTC arch/arm/boot/dts/board.dtb
      Kernel: arch/arm/boot/Image is ready
      Building modules, stage 2.
      MODPOST 27 modules
      Kernel: arch/arm/boot/zImage is ready
      Kernel: arch/arm/boot/uImage is ready
      ‘arch/arm/boot/Image’ → ‘output/bImage’
      ‘arch/arm/boot/uImage’ → ‘output/uImage’
      ‘arch/arm/boot/zImage’ → ‘output/zImage’
      Copy rootfs.cpio.gz for arm
      Building modules
      [GPU]: No GPU type is configured in /home/book/V853_SDK/tina-v853-open/kernel/linux-4.9/.config.
      INFO: build dts …
      INFO: Prepare toolchain …
      removed ‘/home/book/V853_SDK/tina-v853-open/out/v853/vision/openwrt/.board.dtb.d.dtc.tmp’
      removed ‘/home/book/V853_SDK/tina-v853-open/out/v853/vision/openwrt/.board.dtb.dts.tmp’
      ‘/home/book/V853_SDK/tina-v853-open/kernel/linux-4.9/arch/arm/boot/dts/.board.dtb.d.dtc.tmp’ → ‘/home/book/V853_SDK/tina-v853-open/out/v853/vision/openwrt/.board.dtb.d.dtc.tmp’
      ‘/home/book/V853_SDK/tina-v853-open/kernel/linux-4.9/arch/arm/boot/dts/.board.dtb.dts.tmp’ → ‘/home/book/V853_SDK/tina-v853-open/out/v853/vision/openwrt/.board.dtb.dts.tmp’
      INFO: build rootfs …
      ==mkcmd.sh: build_openwrt_rootfs kernel_menuconfig/==
      make: Entering directory ‘/home/book/V853_SDK/tina-v853-open/openwrt/openwrt’
      make[1]: Entering directory ‘/home/book/V853_SDK/tina-v853-open/openwrt/openwrt’
      CreateSoftLink /home/book/V853_SDK/tina-v853-open/openwrt/openwrt/tmp link to /home/book/V853_SDK/tina-v853-open/out/v853/vision/openwrt/tmp
      CreateSoftLink /home/book/V853_SDK/tina-v853-open/openwrt/openwrt/staging_dir link to /home/book/V853_SDK/tina-v853-open/out/v853/vision/openwrt/staging_dir
      make[2]: Entering directory ‘/home/book/V853_SDK/tina-v853-open/openwrt/openwrt’
      make[2]: Leaving directory ‘/home/book/V853_SDK/tina-v853-open/openwrt/openwrt’
      
      Check Vendor Package…
      CreateSoftLink /home/book/V853_SDK/tina-v853-open/openwrt/openwrt/package/subpackage link to /home/book/V853_SDK/tina-v853-open/openwrt/package
      end
      WARNING: Makefile ‘package/subpackage/thirdparty/multimedia/gstreamer/gst1-libav/Makefile’ has a build dependency on ‘libgstreamer1’, which does not exist
      WARNING: Makefile ‘package/subpackage/thirdparty/multimedia/gstreamer/gst1-libav/Makefile’ has a build dependency on ‘gstreamer1-plugins-base’, which does not exist
      WARNING: Makefile ‘package/subpackage/thirdparty/multimedia/gstreamer/gst1-omx/Makefile’ has a dependency on ‘libgst1gl’, which does not exist
      WARNING: Makefile ‘package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-aw/Makefile’ has a build dependency on ‘libgstreamer1’, which does not exist
      WARNING: Makefile ‘package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-aw/Makefile’ has a build dependency on ‘gstreamer1-plugins-base’, which does not exist
      WARNING: Makefile ‘package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-aw/Makefile’ has a build dependency on ‘gstreamer1-plugins-good’, which does not exist
      WARNING: Makefile ‘package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-bad/Makefile’ has a dependency on ‘wayland’, which does not exist
      WARNING: Makefile ‘package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-bad/Makefile’ has a dependency on ‘wayland-protocols’, which does not exist
      WARNING: Makefile ‘package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-bad/Makefile’ has a dependency on ‘opencv’, which does not exist
      WARNING: Makefile ‘package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-bad/Makefile’ has a dependency on ‘libgst1badvideo’, which does not exist
      WARNING: Makefile ‘package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-bad/Makefile’ has a dependency on ‘libgst1gl’, which does not exist
      WARNING: Makefile ‘package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-bad/Makefile’ has a build dependency on ‘libgstreamer1’, which does not exist
      WARNING: Makefile ‘package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-bad/Makefile’ has a build dependency on ‘gstreamer1-plugins-base’, which does not exist
      WARNING: Makefile ‘package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-base/Makefile’ has a build dependency on ‘libgstreamer1’, which does not exist
      WARNING: Makefile ‘package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-good/Makefile’ has a build dependency on ‘libgstreamer1’, which does not exist
      WARNING: Makefile ‘package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-good/Makefile’ has a build dependency on ‘gstreamer1-plugins-base’, which does not exist
      WARNING: Makefile ‘package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-ugly/Makefile’ has a build dependency on ‘libgstreamer1’, which does not exist
      WARNING: Makefile ‘package/subpackage/thirdparty/multimedia/gstreamer/gst1-plugins-ugly/Makefile’ has a build dependency on ‘gstreamer1-plugins-base’, which does not exist
      WARNING: Makefile ‘package/kernel/linux/Makefile’ has a dependency on ‘kmod-sunxi-rf-wlan’, which does not exist
      WARNING: Makefile ‘package/subpackage/thirdparty/gui/qt/qt5/Makefile’ has a dependency on ‘weston’, which does not exist
      WARNING: Makefile ‘package/subpackage/thirdparty/gui/qt/qt5/Makefile’ has a dependency on ‘wayland’, which does not exist
      WARNING: Makefile ‘package/subpackage/thirdparty/gui/qt/qt5/Makefile’ has a dependency on ‘qt5-multimediawidgets’, which does not exist
      WARNING: Makefile ‘package/subpackage/thirdparty/gui/qt/qt5/Makefile’ has a build dependency on ‘libstdcpp’, which does not exist
      make[2]: Entering directory ‘/home/book/V853_SDK/tina-v853-open/openwrt/openwrt/scripts/config’
      make[2]: ‘conf’ is up to date.
      make[2]: Leaving directory ‘/home/book/V853_SDK/tina-v853-open/openwrt/openwrt/scripts/config’
      copy from /home/book/V853_SDK/tina-v853-open/openwrt/target/v853/v853-vision/defconfig
      target/linux/generic/image/Config.in:12:warning: choice default symbol ‘uImage’ is not contained in the choice
      target/linux/generic/image/Config.in:47:warning: choice default symbol ‘uImage’ is not contained in the choice
      target/linux/generic/image/Config.in:72:warning: choice default symbol ‘CONFIG_BOOT_IMAGE_NAME_SUFFIX_NONE’ is not contained in the choice
      target/linux/generic/image/Config.in:89:warning: choice default symbol ‘CONFIG_ROOTFS_IMAGE_NAME_SUFFIX_NONE’ is not contained in the choice
      
      No change to .config
      copy to /home/book/V853_SDK/tina-v853-open/openwrt/target/v853/v853-vision/defconfig
      make[2]: Entering directory ‘/home/book/V853_SDK/tina-v853-open/openwrt/openwrt’
      Makefile:29: “NOTE: Will skip kernel build.”
      The command image-prereq(include/kernel-build.mk) execute.
      time: target/linux/prereq#0.19#0.09#0.26
      make[2]: Leaving directory ‘/home/book/V853_SDK/tina-v853-open/openwrt/openwrt’
      make[1]: Leaving directory ‘/home/book/V853_SDK/tina-v853-open/openwrt/openwrt’
      make[1] kernel_menuconfig/
      make -r kernel_menuconfig/: build failed. Please re-run make with -j1 V=s or V=sc for a higher verbosity level to see what’s going on
      /home/book/V853_SDK/tina-v853-open/openwrt/openwrt/include/toplevel.mk:236: recipe for target ‘kernel_menuconfig/’ failed
      make: *** [kernel_menuconfig/] Error 1
      make: Leaving directory ‘/home/book/V853_SDK/tina-v853-open/openwrt/openwrt’
      INFO: build_openwrt_rootfs failed
      
      posted in V853系列-AI视觉
      N
      newcastle
    • 如何检测mqtt的连接状态?

      qt5+qmqtt库,连上网络后拔掉网线,没有触发disconnect和error信号,isConnectedToHost()返回的也是true。

      先拔掉网线再运行程序,就可以触发error()信号,isConnectedToHost()返回也是false。

      请教,如何检测mqtt的连接状态?

      posted in GUI
      N
      newcastle