导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页
    1. 主页
    2. dort91011
    D
    • 资料
    • 关注 0
    • 粉丝 0
    • 我的积分 1882
    • 主题 22
    • 帖子 30
    • 最佳 0
    • 群组 0

    dort91011LV 5

    @dort91011

    1882
    积分
    0
    声望
    12
    资料浏览
    30
    帖子
    0
    粉丝
    0
    关注
    注册时间 最后登录

    dort91011 取消关注 关注

    dort91011 发布的最新帖子

    • 用opencv读取图像并显示到pyqt5的窗口上

      746beff04ec85b26fe404e0475d7bfb4237f765b_2_650x500.png

      这里分享一个代码,功能是使用图像处理库opencv从摄像头获取数据,缩放后从pyqt5的窗口中显示出来。

      安装opencv

      sudo pip3 install opencv-python
      

      创建一个pyqt5窗口

      1. 用Qt Designer画个窗口
      这里我在电脑上使用designer软件,创建一个Main Window类型窗体。从左边组件栏中拖出一个label放到窗口中间。

      点一下放在窗口中的label,在软件右下角的属性编辑器里可以设置很多东西,这里就不细介绍了。这里我是设置了QFrame启用了边框,QLabel中的texte属性控制显示的文本,QLabel中的alignment属性控制文本对齐方式。

      然后保存为.ui结尾的文件

      61ad9a89c29d3693824917f8ea700666c2c72e4c_2_501x375.png

      2. 将designer绘制的ui文件转化为py文件

      python3 -m PyQt5.uic.pyuic ui_main.ui -o ui_main.py
      

      3. 编写main.py程序,调用刚刚画的窗口进行显示
      先把刚刚的ui_main.py以及一些qt库给import进来

      from  ui_main import Ui_MainWindow
      
      import PyQt5
      from PyQt5 import QtCore, QtGui, QtWidgets
      from PyQt5.QtCore import *
      from PyQt5.QtGui import *
      
      # 修正qt的plugin路径,因为某些程序(cv2)会将其改到其他路径
      import os
      os.environ['QT_QPA_PLATFORM_PLUGIN_PATH'] = os.path.dirname(PyQt5.__file__)
      

      放入一点辅助代码,一个是为了实现从远程命令行运行qt程序显示到桌面上,一个是为了在命令行下可以按ctrl+c快捷键来强制退出qt程序

      #【可选代码】允许远程运行
      import os
      os.environ["DISPLAY"] = ":0.0"
      
      #【建议代码】允许终端通过ctrl+c中断窗口,方便调试
      import signal
      signal.signal(signal.SIGINT, signal.SIG_DFL)
      timer = QtCore.QTimer()
      timer.start(100)  # You may change this if you wish.
      timer.timeout.connect(lambda: None)  # Let the interpreter run each 100 ms
      

      定义窗口类,重写窗口的一些触发事件。这里我修改了鼠标点击后会被自动调用的mousePressEvent和窗口绘制时会被调用的paintEvent

      class WINDOW(QtWidgets.QMainWindow):
      
          def mousePressEvent(self, event):
              # 被左键点击后退出本程序
              if event.button() == Qt.LeftButton:
                  self.close()
                  exit(-1)
      
          def paintEvent(self,event):
              # 修改label的大小和位置
              new_width = int(window.width()/10*8)
              new_height = int(window.height()/10*8)
              lab_x = int((window.width() - new_width) / 2)
              lab_y = int((window.height() - new_height) / 2)
              ui.label.setGeometry( lab_x, lab_y, new_width, new_height)
      

      加上调用函数进行显示的部分,这个显示pyqt5窗口的基本程序就完成了

      # 初始化窗口
      import sys
      app = QtWidgets.QApplication(sys.argv)
      window = WINDOW()
      ui = Ui_MainWindow()
      ui.setupUi(window)
      window.showFullScreen() #全屏显示
      # window.show() #按绘制时的尺寸显示
      sys.exit(app.exec_())
      

      在核桃派lcd屏上的效果展示

      ffe8ec8611e71a48fa612edcc571691d329523a2_2_690x422.png

      opencv怎么读取摄像头

      调用头文件,opencv的头文件只需要这一个

      import cv2
      

      打开摄像头,其中传入的参数1是摄像头编号,一般是从0开始往后排

      cap = cv2.VideoCapture(1)
      

      从摄像头读取一帧图像,ret是读取状态,frame是图像数据

      ret, frame = cap.read()
      

      怎么把opencv的图像数据显示到qt的label

      cap.read函数读到的是bgr格式的,需要先转为rgb格式

      rgbImage = cv2.cvtColor(frame, cv2.COLOR_BGR2RGB)
      

      将图像转为Qt中用来表示图像的QImage

      h, w, ch = rgbImage.shape
      qtImage = QImage(rgbImage.data, h, w, ch*w, QtGui.QImage.Format_RGB888)
      

      label的setPixmap方法可以图像数据覆盖label

      label.setPixmap(QPixmap.fromImage(qtImage))
      

      线程,信号与槽

      我们这里使用qt自带的多线程功能,他的使用很简单,只需要创建一个类并继承自QThread, 然后将要运行的东西写到类里的run方法下面。实例化一个对象后,调用start方法即可创建新线程

      class Work(QThread):
          def run(self):
              pass
      work = Work()
      work.start()
      

      直接在线程内调用函数去修改qt窗口的内容,不能满足线程安全。

      我们需要创建一个信号,把修改qt窗口的语句写到一个槽内,连接他们,在想修改窗口时发出信号,让qt内部去调度,防止跟其他qt内部的线程发生冲突。

      因为我们这个线程类继承自QThread,所以可以在类内定义信号。只需要实例化一个pyqtSignal对象即可,调用时括号内的参数决定了槽函数必须有什么类型的参数,以及发送信号时需要传入什么参数。

      ```
      

      signal_update_label = pyqtSignal( QPixmap)

      
      槽函数就是随便定义一个函数,只要函数参数跟信号一样就行。
      
          ```
      label:QLabel
          def sloat_update_label( self, pixmap:QPixmap):
              self.label.setPixmap(pixmap)
      

      连接信号与槽,使用connect方法即可

      self.signal_update_label.connect(self.sloat_update_label)
      

      使用emit方法即可发送信号,qt内部会进行调度,将所有连接到本信号的函数都调出来运行,并将参数传给他们。这是qt实现线程安全的重要机制。

      self.signal_update_label.emit(QPixmap.fromImage(qtImage))
      

      最终代码

      import cv2
      from  ui_main import Ui_MainWindow
      
      import PyQt5
      from PyQt5.QtCore import *
      from PyQt5.QtGui import *
      from PyQt5.QtWidgets import *
      
      # 修正qt的plugin路径,因为某些程序(cv2)会将其改到其他路径
      import os
      os.environ['QT_QPA_PLATFORM_PLUGIN_PATH'] = os.path.dirname(PyQt5.__file__)
      
      
      #【可选代码】允许Thonny远程运行
      import os
      os.environ["DISPLAY"] = ":0.0"
      
      #【建议代码】允许终端通过ctrl+c中断窗口,方便调试
      import signal
      signal.signal(signal.SIGINT, signal.SIG_DFL)
      timer = QTimer()
      timer.start(100)  # You may change this if you wish.
      timer.timeout.connect(lambda: None)  # Let the interpreter run each 100 ms
      
      # 线程类
      class Work(QThread):
          signal_update_label = pyqtSignal(QPixmap)
          label:QLabel
          def sloat_update_label( self, pixmap:QPixmap):
              self.label.setPixmap(pixmap)
      
          def run(self):
              print("label.width()=", self.label.width())
              print("label.height()=", self.label.height())
              self.signal_update_label.connect(self.sloat_update_label)
              cap = cv2.VideoCapture(1)
              while True:
                  ret, frame = cap.read()
                  if ret:
      
                      # 颜色转换
                      rgbImage = cv2.cvtColor(frame, cv2.COLOR_BGR2RGB)
      
                      # 按比例缩放
                      h, w, ch = rgbImage.shape
                      aspect_ratio = w / h
                      new_width = self.label.width()
                      new_height = int(new_width / aspect_ratio)
                      if new_height > self.label.height():
                          new_height = self.label.height()
                          new_width = int(new_height * aspect_ratio)
                      rgbImage = cv2.resize(rgbImage, (new_width, new_height))
                      
                      # 显示到label
                      bytesPerLine = ch * new_width
                      self.signal_update_label.emit(QPixmap.fromImage(QImage(rgbImage.data, new_width, new_height, bytesPerLine, QImage.Format_RGB888)))
                  else :
                      print("cap read error")
                      return
      
      class WINDOW(QMainWindow):
          def mousePressEvent(self, event):
              if event.button() == Qt.LeftButton:
                  self.close()
          def paintEvent(self,event):
              new_width = int(window.width()/10*8)
              new_height = int(window.height()/10*8)
              lab_x = int((window.width() - new_width) / 2)
              lab_y = int((window.height() - new_height) / 2)
              ui.label.setGeometry( lab_x, lab_y, new_width, new_height)
      
      
      import sys
      app = QApplication(sys.argv)
      window = WINDOW()
      ui = Ui_MainWindow()
      ui.setupUi(window)
      window.showFullScreen() #全屏显示
      # window.show() #按绘制时的尺寸显示
      
      # 创建读取摄像头并显示的线程
      work = Work()
      work.label = ui.label
      work.start()
      
      sys.exit(app.exec_())
      

      c547df99a7f823abfb33c4551ec009af853f6ea2_2_479x500.png

      发布在 H/F/TV Series
      D
      dort91011
    • A40i tf卡固化系统到emmc剩余空间指定

      大家好,请问一下,A40i tf卡固化系统到emmc, emmc剩余空间默认比分区文件指定的大小要大,然后最后面会多分配一个分区给剩余空间。想问下这个剩余的分区格式要怎么在编译或者打包阶段指定。不然的话我系在第一次烧录后都要重新格式化这个分区

      QQ图片20231102095901.jpg

      这个最后一个是剩余空间,想知道全志全志是哪里设置分区格式的。

      我想实现,烧录好之后默认所有分区都有对应格式,这样我就能用mdev自动挂载他们。现在那个分区我是挂载不了的,没有格式。

      发布在 飞凌嵌入式专区
      D
      dort91011
    • tina-linux,编译的时候报这个错,怎么解决?

      tina-linux,编译的时候报这个错,怎么解决?

      QQ图片20231024160848.jpg

      t/host/usr/include-02 -I/home/ubuntu/tina-dl-h/out/host/include -I/home/ubuntu/tina-dl-h/out/host/usr/include-MT c-stack.o -MD -MP -ME $depbase.Tpo -c -o c-stack.o c-stack.c &&\
      mv -f$depbase.Tpo $depbase.Po
      In file included from /usr/include/signal.h:328,
      from ./signal.h: 52,
      from c-stack.c:49:
      c-stack.c:55:26: error: missing binary operator before token " (“
      55[#elifHAVE_LIBSIGSEGV &&SIGSTKSZ <16384
      make[7]:出*★[Makefile:1910:C-stack.o] Error i
      make[7]:Leaving directory '/home/ubuntu/tina-dl-h/out/dls-nezha_sd/cothost/m4-1.4.18/1ib'
      make[6]:*★*[Makefile:1674:all] Error 2
      make[6]: Leaving directory '/home/ubuntu/tina-dl-h/out/dls-nezha_sd/compile_dir/host/m4-1.4.18/1ib'
      make[5]:**★[Makefile:1572:all-recursive]Error 1
      make[5]:Leaving directory '/home/ubuntu/tina-dl-h/out/dls-nezha_sd/ compile_dir/host/m4-1.4.18.
      make[4]:***[Makefile: 1528:all] Error 2
      make[4]:Leaving directory '/home/ubuntu/tina-dl-h/out/dls-n.host/m4-1.4.18'
      make [3]:***[Makefile:30:/home/ubuntu/tina-dl-h/out/dls-nezha_sd/compile_dir/host/m4-1.4.18/.built] Error 2
      
      
      发布在 V Series
      D
      dort91011
    • RGB的屏脚没有信号

      问下大家,有遇到RGB的屏脚如果没有信号的问题吗,截图红框的引脚都没信号

      微信图片_20231012103116.png

      发布在 A Series
      D
      dort91011
    • 请问怎样才能让LVGL跑在R128的M33核呢

      编译M33核文件夹代码,下载跑分没怎么变,感觉还是在C906

      发布在 A Series
      D
      dort91011
    • t113的spi设置clk的频率

      请教下老铁们,t113的spi怎么设置clk的频率啊

      QQ图片20231007110222.jpg

      这里调了没用,应用层设了也没用

      QQ图片20231007110230.jpg

      发布在 其它全志芯片讨论区
      D
      dort91011
    • OV5640摄像头画质问题

      使用FC100和GD32F450驱动摄像头显示在320240的屏幕上 OV5640/OV2640/OV7640 /GC0308 几款都调过。使用DVP RGB565格式。
      显示都基本正常就是画质不太行,图片整体片灰暗,色彩不够鲜艳。用的都是网上通用的配置参数,调了下EV和色饱和度参数没有太大效果。
      有人对这块比较熟悉么,怎么样可以把画质调整好一些。

      发布在 其它全志芯片讨论区
      D
      dort91011
    • F1C200S TINA3.5 使用spinand

      使用F1C200S TINA3.5 SPINAND 在windows下的PhoenixSuit V1.19烧写固件,现象是:
      1,空的nand第一次似乎提示烧写成功,但启动失败。
      2,第二次以及之后的烧写就会失败。
      3,配置以及按照官方nor切换nand的指南进行修改配置了。
      4,板子换了全新空白nand 上去,也是一样的现象。
      5,以下是第一次和第二次两次烧录的日志输出。

      [0]beign to init dram
      [23]init dram ok
      
      
      U-Boot 2014.07 (Jul 31 2018 - 14:59:19) Allwinner Technology
      
      uboot commit : 6604446f7bddb8fe53f2b993100929f92a5f4d6e
      
      i2c_init: by cpux
      [I2C-DEBUG]:i2c_set_clock() 354
      [I2C-ERROR]:twi_send_clk_9pulse() 136 SDA is still Stuck Low, failed.
      i2c_init ok
      [2.651]pmbus:   ready
      axp: get node[/soc/pmu0] error
      axp_probe error
      [2.658]PMU: cpux 408 Mhz,AXI=408 Mhz
      PLL6=600 Mhz,AHB1=200 Mhz, APB1=100Mhz
      DRAM:  32 MiB
      [2.667]fdt addr: 0x809e77a0
      [2.669]gd->fdt_size: 0xc360
      Relocation Offset is: 01524000
      axp: get node[/soc/pmu0] error
      int sunxi_dma_init---
      irq enable
      [2.739]flash init start
      workmode = 16,storage type = 3
      try card 1
      [2.745][mmc]: mmc driver ver 2018-6-1 17:39:00
      SUNXI SD/MMC: 1
      [2.762][mmc]: ************Try SD card 1************
      [mmc]: mmc 1 cmd 8 timeout, err 100
      [mmc]: smc 1 err, cmd 8,  RTO
      [mmc]: mmc 1 close bus gating and reset
      [mmc]: mmc 1 mmc cmd 8 err 0x00000100
      [2.780][mmc]: mmc send if cond failed
      [mmc]: mmc 1 cmd 55 timeout, err 100
      [mmc]: smc 1 err, cmd 55,  RTO
      [mmc]: mmc 1 close bus gating and reset
      [mmc]: mmc 1 mmc cmd 55 err 0x00000100
      [2.798][mmc]: send app cmd failed
      [2.801][mmc]: ************Try MMC card 1************
      [mmc]: mmc 1 cmd 1 timeout, err 100
      [mmc]: smc 1 err, cmd 1,  RTO
      [mmc]: mmc 1 close bus gating and reset
      [mmc]: mmc 1 mmc cmd 1 err 0x00000100
      [2.823][mmc]: read op condition failed
      [2.826][mmc]: mmc send op cond failed
      Card did not respond to voltage select!
      [2.833][mmc]: ************SD/MMC 1 init error!!!************
      [2.839][mmc]: mmc_init_boot: mmc int fail
      [2.842][mmc]: mmc_init: mmc init fail, err -17
      MMC init failed
      try emmc fail
      [2.849]NAND_UbootProbe start...
      [2.852]NB1 : enter phy init
      [2.855]nand_physic_init
      [2.859]nand0: get node offset error
      [2.862]init nctri NAND PIORequest error!
      [2.866]nand_physic_init, init nctri error
      [2.870]nand_physic_init init_parameter error
      [2.874]nand_physic_init error -1
      [2.877]SpiNandHwInit: Start Nand Hardware initializing Jun  9 2018 19:05:34.....
      [2.884]uboot: nand version: 3 6008 20180610 1300
      [2.901]request spi gpio  ok!
      int sunxi_dma_init---
      irq enable
      [2.906]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x81db8c7c
      [2.914]request general tx dma channel ok!
      [2.917]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x81db8c9c
      [2.925]request general rx dma channel ok!
      [2.929]SPI nand ID: 21aaef 0
      [2.931][SCAN_DBG] NandTwoPlaneOp: 1, DriverTwoPlaneOPCfg: 1, 0xffbfffff
      [2.938]nand : get id number_ctl from script:0x55aaaa55
      [2.943]_UpdateExtAccessFreqPara: no para.
      [2.947]PHY_Scan_DelayMode, it is a free page(type 0), block 8
      [2.952]PHY_Scan_DelayMode, it is a free page(type 0), block 9
      [2.958]PHY_Scan_DelayMode, it is a free page(type 0), block 10
      [2.963]PHY_Scan_DelayMode, it is a free page(type 0), block 11
      [2.969]PHY_Scan_DelayMode, it is a free page(type 0), block 12
      [2.975]PHY_Scan_DelayMode, it is a free page(type 0), block 13
      [2.980]PHY_Scan_DelayMode, it is a free page(type 0), block 14
      [2.986]PHY_Scan_DelayMode, it is a free page(type 0), block 15
      [2.992]PHY_Scan_DelayMode, it is a free page(type 0), block 16
      [2.997]PHY_Scan_DelayMode, it is a free page(type 0), block 17
      _get_spic_clk_v1: sclk0=0x64
      [3.006]PHY_Scan_DelayMode: no right delay mode,set default clk 30MHz
      [3.012]physic_info_read start!!
      [3.015]physic_info_get_offset start!!
      [3.027]can't find uboot head
      [3.029]_GetOldPhysicArch: chip 0, block 20, page 0, oob: 0xff, 0xff, 0xff, 0xff
      [3.036]_GetOldPhysicArch: find a good block, but no physic arch info.
      [3.043]NAND_ReadPhyArch: blank page!
      [3.046]
      
      [3.047][SCAN_DBG] ==============Nand Architecture Parameter==============
      [3.054][SCAN_DBG]    Nand Chip ID:         0xff21aaef 0xffffffff
      [3.059][SCAN_DBG]    Nand Chip Count:      0x1
      [3.064][SCAN_DBG]    Nand Chip Connect:    0x1
      [3.068][SCAN_DBG]    Sector Count Of Page: 0x4
      [3.072][SCAN_DBG]    Page Count Of Block:  0x40
      [3.076][SCAN_DBG]    Block Count Of Die:   0x400
      [3.081][SCAN_DBG]    Plane Count Of Die:   0x2
      [3.085][SCAN_DBG]    Die Count Of Chip:    0x1
      [3.089][SCAN_DBG]    Bank Count Of Chip:   0x1
      [3.093][SCAN_DBG]    Optional Operation:   0x6d
      [3.098][SCAN_DBG]    Access Frequence:     0x32
      [3.102][SCAN_DBG] =======================================================
      
      [3.117]nand secure storage fail: 0,0
      [3.120]NB1 : nand phy init ok
      [3.123]NB1 : enter phy Exit
      nand release dma:81db8c7c
      nand release dma:0
      sunxi dma exit
      [3.131]NAND_UbootProbe end: 0x0
      nand found
      read mbr copy[0] failed
      read mbr copy[1] failed
      read mbr copy[2] failed
      read mbr copy[3] failed
      [3.143]flash init end
      [3.145]try to burn key
      [3.150]inter uboot shell
      Hit any key to stop autoboot:  0
      work mode=0x10
      run usb efex
      delay time 2500
      int sunxi_dma_init---
      irq enable
      sunxi_dma_install_int ok
      usb init ok
      set address 0xd
      set address 0xd
      SUNXI_EFEX_ERASE_TAG
      erase_flag = 0x0
      FEX_CMD_fes_verify_status
      FEX_CMD_fes_verify last err=0
      the 0 mbr table is ok
      the 1 mbr table is ok
      the 2 mbr table is ok
      the 3 mbr table is ok
      *************MBR DUMP***************
      total mbr part 8
      
      part[0] name      :bootlogo
      part[0] classname :DISK
      part[0] addrlo    :0x2000
      part[0] lenlo     :0x800
      part[0] user_type :32768
      part[0] keydata   :0
      part[0] ro        :0
      
      part[1] name      :env
      part[1] classname :DISK
      part[1] addrlo    :0x2800
      part[1] lenlo     :0x200
      part[1] user_type :32768
      part[1] keydata   :0
      part[1] ro        :0
      
      part[2] name      :boot
      part[2] classname :DISK
      part[2] addrlo    :0x2a00
      part[2] lenlo     :0x3000
      part[2] user_type :32768
      part[2] keydata   :0
      part[2] ro        :0
      
      part[3] name      :rootfs
      part[3] classname :DISK
      part[3] addrlo    :0x5a00
      part[3] lenlo     :0x15c70
      part[3] user_type :32768
      part[3] keydata   :0
      part[3] ro        :0
      
      part[4] name      :rootfs_data
      part[4] classname :DISK
      part[4] addrlo    :0x1b670
      part[4] lenlo     :0xc800
      part[4] user_type :32768
      part[4] keydata   :0
      part[4] ro        :0
      
      part[5] name      :misc
      part[5] classname :DISK
      part[5] addrlo    :0x27e70
      part[5] lenlo     :0x200
      part[5] user_type :32768
      part[5] keydata   :0
      part[5] ro        :0
      
      part[6] name      :private
      part[6] classname :DISK
      part[6] addrlo    :0x28070
      part[6] lenlo     :0x200
      part[6] user_type :32768
      part[6] keydata   :0
      part[6] ro        :0
      
      part[7] name      :UDISK
      part[7] classname :DISK
      part[7] addrlo    :0x28270
      part[7] lenlo     :0x0
      part[7] user_type :33024
      part[7] keydata   :0
      part[7] ro        :0
      
      total part: 9
      mbr 0, 2000, 8000
      bootlogo 1, 800, 8000
      env 2, 200, 8000
      boot 3, 3000, 8000
      rootfs 4, 15c70, 8000
      rootfs_data 5, c800, 8000
      misc 6, 200, 8000
      private 7, 200, 8000
      UDISK 8, 0, 8100
      [6.846]erase_flag = 0
      [6.848]NB1 : enter phy init
      [6.851]SpiNandHwInit: Start Nand Hardware initializing Jun  9 2018 19:05:34.....
      [6.858]uboot: nand version: 3 6008 20180610 1300
      [6.875]request spi gpio  ok!
      [6.878]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x81db8c9c
      [6.885]request general tx dma channel ok!
      [6.889]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x81db8cbc
      [6.896]request general rx dma channel ok!
      [6.900]SPI nand ID: 21aaef 0
      [6.903][SCAN_DBG] NandTwoPlaneOp: 1, DriverTwoPlaneOPCfg: 1, 0xffbfffff
      [6.909]nand : get id number_ctl from script:0x55aaaa55
      [6.914]_UpdateExtAccessFreqPara: no para.
      [6.918]PHY_Scan_DelayMode, it is a free page(type 0), block 8
      [6.924]PHY_Scan_DelayMode, it is a free page(type 0), block 9
      [6.929]PHY_Scan_DelayMode, it is a free page(type 0), block 10
      [6.935]PHY_Scan_DelayMode, it is a free page(type 0), block 11
      [6.940]PHY_Scan_DelayMode, it is a free page(type 0), block 12
      [6.946]PHY_Scan_DelayMode, it is a free page(type 0), block 13
      [6.952]PHY_Scan_DelayMode, it is a free page(type 0), block 14
      [6.957]PHY_Scan_DelayMode, it is a free page(type 0), block 15
      [6.963]PHY_Scan_DelayMode, it is a free page(type 0), block 16
      [6.969]PHY_Scan_DelayMode, it is a free page(type 0), block 17
      _get_spic_clk_v1: sclk0=0x64
      [6.977]PHY_Scan_DelayMode: no right delay mode,set default clk 30MHz
      [6.983]physic_info_read start!!
      [6.986]physic_info_read already!!
      [6.989]_GetOldPhysicArch: chip 0, block 20, page 0, oob: 0xff, 0xff, 0xff, 0xff
      [6.996]_GetOldPhysicArch: find a good block, but no physic arch info.
      [7.002]NAND_ReadPhyArch: blank page!
      [7.006]
      
      [7.007][SCAN_DBG] ==============Nand Architecture Parameter==============
      [7.013][SCAN_DBG]    Nand Chip ID:         0xff21aaef 0xffffffff
      [7.019][SCAN_DBG]    Nand Chip Count:      0x1
      [7.023][SCAN_DBG]    Nand Chip Connect:    0x1
      [7.028][SCAN_DBG]    Sector Count Of Page: 0x4
      [7.032][SCAN_DBG]    Page Count Of Block:  0x40
      [7.036][SCAN_DBG]    Block Count Of Die:   0x400
      [7.041][SCAN_DBG]    Plane Count Of Die:   0x2
      [7.045][SCAN_DBG]    Die Count Of Chip:    0x1
      [7.049][SCAN_DBG]    Bank Count Of Chip:   0x1
      [7.053][SCAN_DBG]    Optional Operation:   0x6d
      [7.058][SCAN_DBG]    Access Frequence:     0x32
      [7.062][SCAN_DBG] =======================================================
      
      [7.077]nand secure storage fail: 0,0
      [7.080]NB1 : nand phy init ok
      [7.082]uboot_start_block 8 uboot_next_block 58.
      [7.087]check nand version start.
      [7.090]Current nand driver version is ff 0 3 1
      [7.094]Media version is valid in block 8, version info is ff ff ff ff
      [7.100]nand driver version match fail in block 8.
      [7.105]nand version = 1
      [7.107]has cleared the boot blocks.
      [7.114]nand version fail,please select erase nand
      [7.119]NAND_Uboot_Erase
      [7.121]NB1 : enter phy Exit
      nand release dma:81db8c9c
      nand release dma:0
      not need erase flash
      sunxi_sprite_erase_flash, erase_flag=0
      private part exist
      NAND_UbootInit
      [7.136]NAND_UbootInit start
      [7.139]NB1: enter NAND_LogicInit
      [7.142]SpiNandHwInit: Start Nand Hardware initializing Jun  9 2018 19:05:34.....
      [7.149]uboot: nand version: 3 6008 20180610 1300
      [7.166]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x81db8c9c
      [7.173]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x81db8cbc
      _get_spic_clk_v1: sclk0=0x64
      [7.185]NAND_ReadPhyArch: blank page!
      [7.196]nand secure storage fail: 0,0
      [7.199]not burn nand partition table!
      [7.305][NE]boot but not data!
      [7.311][NE]boot not find mbr table!!!!
      [7.315]NB1: nand_info_init fail
      [7.317]NAND_UbootInit end: 0xfffffffb
      NAND_UbootExit
      [7.322]NB1: NAND_LogicExit
      nand release dma:81db8c9c
      nand release dma:0
      [7.329]erase_flag = 0
      [7.331]NB1 : enter phy init
      [7.333]SpiNandHwInit: Start Nand Hardware initializing Jun  9 2018 19:05:34.....
      [7.341]uboot: nand version: 3 6008 20180610 1300
      [7.357]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x81db8c9c
      [7.365]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x81db8cbc
      _get_spic_clk_v1: sclk0=0x64
      [7.377]NAND_ReadPhyArch: blank page!
      [7.393]NB1 : nand phy init ok
      [7.396]Media version is valid in block 8, version info is ff ff ff ff
      [7.402]nand driver version match fail in block 8.
      [7.406]nand version = 1
      [7.408]has cleared the boot blocks.
      [7.416]nand version fail,please select erase nand
      [7.420]NAND_Uboot_Erase
      [7.423]NB1 : enter phy Exit
      nand release dma:81db8c9c
      nand release dma:0
      SUNXI_EFEX_MBR_TAG
      mbr size = 0x10000
      NAND_UbootInit
      [7.434]NAND_UbootInit start
      [7.437]NB1: enter NAND_LogicInit
      [7.440]SpiNandHwInit: Start Nand Hardware initializing Jun  9 2018 19:05:34.....
      [7.447]uboot: nand version: 3 6008 20180610 1300
      [7.464]request spi gpio  ok!
      [7.466]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x81db8c9c
      [7.474]request general tx dma channel ok!
      [7.477]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x81db8cbc
      [7.485]request general rx dma channel ok!
      [7.489]SPI nand ID: 21aaef 0
      [7.491][SCAN_DBG] NandTwoPlaneOp: 1, DriverTwoPlaneOPCfg: 1, 0xffbfffff
      [7.498]nand : get id number_ctl from script:0x55aaaa55
      [7.503]_UpdateExtAccessFreqPara: no para.
      [7.507]PHY_Scan_DelayMode, it is a free page(type 0), block 8
      [7.512]PHY_Scan_DelayMode, it is a free page(type 0), block 9
      [7.518]PHY_Scan_DelayMode, it is a free page(type 0), block 10
      [7.523]PHY_Scan_DelayMode, it is a free page(type 0), block 11
      [7.529]PHY_Scan_DelayMode, it is a free page(type 0), block 12
      [7.535]PHY_Scan_DelayMode, it is a free page(type 0), block 13
      [7.540]PHY_Scan_DelayMode, it is a free page(type 0), block 14
      [7.546]PHY_Scan_DelayMode, it is a free page(type 0), block 15
      [7.552]PHY_Scan_DelayMode, it is a free page(type 0), block 16
      [7.557]PHY_Scan_DelayMode, it is a free page(type 0), block 17
      _get_spic_clk_v1: sclk0=0x64
      [7.566]PHY_Scan_DelayMode: no right delay mode,set default clk 30MHz
      [7.572]physic_info_read start!!
      [7.575]physic_info_read already!!
      [7.578]_GetOldPhysicArch: chip 0, block 20, page 0, oob: 0xff, 0xff, 0xff, 0xff
      [7.585]_GetOldPhysicArch: find a good block, but no physic arch info.
      [7.591]NAND_ReadPhyArch: blank page!
      [7.594]
      
      [7.595][SCAN_DBG] ==============Nand Architecture Parameter==============
      [7.602][SCAN_DBG]    Nand Chip ID:         0xff21aaef 0xffffffff
      [7.608][SCAN_DBG]    Nand Chip Count:      0x1
      [7.612][SCAN_DBG]    Nand Chip Connect:    0x1
      [7.616][SCAN_DBG]    Sector Count Of Page: 0x4
      [7.621][SCAN_DBG]    Page Count Of Block:  0x40
      [7.625][SCAN_DBG]    Block Count Of Die:   0x400
      [7.629][SCAN_DBG]    Plane Count Of Die:   0x2
      [7.633][SCAN_DBG]    Die Count Of Chip:    0x1
      [7.638][SCAN_DBG]    Bank Count Of Chip:   0x1
      [7.642][SCAN_DBG]    Optional Operation:   0x6d
      [7.646][SCAN_DBG]    Access Frequence:     0x32
      [7.651][SCAN_DBG] =======================================================
      
      [7.670]secure storage updata ok!
      [7.673]nand secure storage ok: 58,59
      [7.676]nand: get CapacityLevel from script, 55aaaa55
      [7.681]burn nand partition table! mbr tbl: 0x81debdc4, part_count:9
      [7.687]start block:60
      [7.689][ND]factory FirstBuild 33
      [7.718][ND]erase factory FirstBuild
      [7.722][ND]nand_info->SectorNumsPerPage :0x8
      [7.726][ND]nand_info->PageNumsPerBlk :0x40
      [7.729][ND]nand_info->BlkPerChip :0x200
      [7.733][ND]nand_info->ChipNum :0x1
      [7.736][NE]print partition 0 !
      [7.739][ND]partition->size :-1
      [7.742][ND]partition->cross_talk :0
      [7.745][ND]partition->attribute :0
      [7.748][ND]partition->start.Chip_NO :65535
      [7.752][ND]partition->start.Block_NO :65535
      [7.756][ND]partition->end.Chip_NO :65535
      [7.760][ND]partition->end.Block_NO :65535
      [7.764][ND]partition->nand_disk[0].size :8192
      [7.768][ND]partition->nand_disk[0].type :0
      [7.772][ND]partition->nand_disk[1].size :2048
      [7.776][ND]partition->nand_disk[1].type :0
      [7.780][ND]partition->nand_disk[2].size :512
      [7.784][ND]partition->nand_disk[2].type :0
      [7.788][ND]partition->nand_disk[3].size :12288
      [7.792][ND]partition->nand_disk[3].type :0
      [7.796][ND]partition->nand_disk[4].size :89200
      [7.800][ND]partition->nand_disk[4].type :0
      [7.804][ND]partition->nand_disk[5].size :51200
      [7.808][ND]partition->nand_disk[5].type :0
      [7.812][ND]partition->nand_disk[6].size :512
      [7.816][ND]partition->nand_disk[6].type :0
      [7.820][ND]partition->nand_disk[7].size :512
      [7.824][ND]partition->nand_disk[7].type :0
      [7.828][ND]partition->nand_disk[8].size :0
      [7.832][ND]partition->nand_disk[8].type :0
      [7.835][ND]partition->nand_disk[9].size :-1
      [7.839][ND]partition->nand_disk[9].type :-1
      [7.843][ND]partition->nand_disk[10].size :-1
      [7.847][ND]partition->nand_disk[10].type :-1
      [7.851][ND]partition->nand_disk[11].size :-1
      [7.855][ND]partition->nand_disk[11].type :-1
      [7.860][ND]partition->nand_disk[12].size :-1
      [7.864][ND]partition->nand_disk[12].type :-1
      [7.868][ND]partition->nand_disk[13].size :-1
      [7.872][ND]partition->nand_disk[13].type :-1
      [7.876][ND]partition->nand_disk[14].size :-1
      [7.880][ND]partition->nand_disk[14].type :-1
      [7.884][ND]partition->nand_disk[15].size :-1
      [7.888][ND]partition->nand_disk[15].type :-1
      [7.892][ND]partition->nand_disk[16].size :-1
      [7.896][ND]partition->nand_disk[16].type :-1
      [7.900][ND]partition->nand_disk[17].size :-1
      [7.904][ND]partition->nand_disk[17].type :-1
      [7.908][ND]partition->nand_disk[18].size :-1
      [7.912][ND]partition->nand_disk[18].type :-1
      [7.916][ND]partition->nand_disk[19].size :-1
      [7.920][ND]partition->nand_disk[19].type :-1
      [7.924][ND]partition->nand_disk[20].size :-1
      [7.928][ND]partition->nand_disk[20].type :-1
      [7.932][ND]partition->nand_disk[21].size :-1
      [7.936][ND]partition->nand_disk[21].type :-1
      [7.940][ND]partition->nand_disk[22].size :-1
      [7.945][ND]partition->nand_disk[22].type :-1
      [7.949][ND]partition->nand_disk[23].size :-1
      [7.953][ND]partition->nand_disk[23].type :-1
      [7.957][NE]partition_num: 0,size :0xffffffff,cross_talk 0
      [7.962][NE]part mbr size: 0x2000 type: 0
      [7.966][NE]part bootlogo size: 0x800 type: 0
      [7.970][NE]part env size: 0x200 type: 0
      [7.973][NE]part boot size: 0x3000 type: 0
      [7.977][NE]part rootfs size: 0x15c70 type: 0
      [7.981][NE]part rootfs_data size: 0xc800 type: 0
      [7.985][NE]part misc size: 0x200 type: 0
      [7.989][NE]part private size: 0x200 type: 0
      [7.993][NE]part UDISK size: 0x0 type: 0
      [8.072][ND]partition->size :224768
      [8.075][ND]partition->cross_talk :0
      [8.079][ND]partition->attribute :0
      [8.082][ND]partition->start.Chip_NO :0
      [8.085][ND]partition->start.Block_NO :33
      [8.089][ND]partition->end.Chip_NO :0
      [8.092][ND]partition->end.Block_NO :511
      [8.096][ND]partition->nand_disk[0].size :8192
      [8.100][ND]partition->nand_disk[0].type :0
      [8.104][ND]partition->nand_disk[1].size :2048
      [8.108][ND]partition->nand_disk[1].type :0
      [8.112][ND]partition->nand_disk[2].size :512
      [8.116][ND]partition->nand_disk[2].type :0
      [8.120][ND]partition->nand_disk[3].size :12288
      [8.124][ND]partition->nand_disk[3].type :0
      [8.128][ND]partition->nand_disk[4].size :89200
      [8.132][ND]partition->nand_disk[4].type :0
      [8.136][ND]partition->nand_disk[5].size :51200
      [8.140][ND]partition->nand_disk[5].type :0
      [8.144][ND]partition->nand_disk[6].size :512
      [8.148][ND]partition->nand_disk[6].type :0
      [8.152][ND]partition->nand_disk[7].size :512
      [8.156][ND]partition->nand_disk[7].type :0
      [8.160][ND]partition->nand_disk[8].size :60304
      [8.164][ND]partition->nand_disk[8].type :0
      [8.168][ND]partition->nand_disk[9].size :-1
      [8.172][ND]partition->nand_disk[9].type :-1
      [8.176][ND]partition->nand_disk[10].size :-1
      [8.180][ND]partition->nand_disk[10].type :-1
      [8.184][ND]partition->nand_disk[11].size :-1
      [8.188][ND]partition->nand_disk[11].type :-1
      [8.192][ND]partition->nand_disk[12].size :-1
      [8.196][ND]partition->nand_disk[12].type :-1
      [8.200][ND]partition->nand_disk[13].size :-1
      [8.204][ND]partition->nand_disk[13].type :-1
      [8.208][ND]partition->nand_disk[14].size :-1
      [8.212][ND]partition->nand_disk[14].type :-1
      [8.217][ND]partition->nand_disk[15].size :-1
      [8.221][ND]partition->nand_disk[15].type :-1
      [8.225][ND]partition->nand_disk[16].size :-1
      [8.229][ND]partition->nand_disk[16].type :-1
      [8.233][ND]partition->nand_disk[17].size :-1
      [8.237][ND]partition->nand_disk[17].type :-1
      [8.241][ND]partition->nand_disk[18].size :-1
      [8.245][ND]partition->nand_disk[18].type :-1
      [8.249][ND]partition->nand_disk[19].size :-1
      [8.253][ND]partition->nand_disk[19].type :-1
      [8.257][ND]partition->nand_disk[20].size :-1
      [8.261][ND]partition->nand_disk[20].type :-1
      [8.265][ND]partition->nand_disk[21].size :-1
      [8.269][ND]partition->nand_disk[21].type :-1
      [8.273][ND]partition->nand_disk[22].size :-1
      [8.277][ND]partition->nand_disk[22].type :-1
      [8.281][ND]partition->nand_disk[23].size :-1
      [8.285][ND]partition->nand_disk[23].type :-1
      [8.289][ND]phy_partition->PartitionNO :0
      [8.293][ND]phy_partition->SectorNumsPerPage :8
      [8.297][ND]phy_partition->PageNumsPerBlk :64
      [8.301][ND]phy_partition->TotalBlkNum :479
      [8.305][ND]phy_partition->FullBitmapPerPage :8
      [8.309][ND]phy_partition->FreeBlock :0
      [8.313][ND]phy_partition->TotalSectors :224768
      [8.317][ND]phy_partition->StartBlock.Chip_NO :0
      [8.322][ND]phy_partition->StartBlock.Block_NO :33
      [8.326][ND]phy_partition->EndBlock.Chip_NO :0
      [8.330][ND]phy_partition->EndBlock.Block_NO :511
      [8.335][ND]phy_partition->next_phy_partition :0
      [8.339][ND]phy_partition->PartitionNO 0  FACTORY BAD BLOCK:
      [8.344][ND]phy_partition->PartitionNO 0  NEW BAD BLOCK:
      [8.349][ND]build 1 phy_partition !
      [8.352][ND]nand_info->type :0
      [8.355][ND]nand_info->SectorNumsPerPage :8
      [8.359][ND]nand_info->BytesUserData :16
      [8.363][ND]nand_info->PageNumsPerBlk :64
      [8.366][ND]nand_info->BlkPerChip :512
      [8.370][ND]nand_info->FirstBuild :1
      [8.373][ND]nand_info->FullBitmap :10
      [8.376][ND]nand_info->bad_block_addr.Chip_NO :0
      [8.381][ND]nand_info->bad_block_addr.Block_NO :0
      [8.385][ND]nand_info->mbr_block_addr.Chip_NO :0
      [8.389][ND]nand_info->mbr_block_addr.Block_NO :0
      [8.394][ND]nand_info->no_used_block_addr.Chip_NO :0
      [8.398][ND]nand_info->no_used_block_addr.Block_NO :33
      [8.403][ND]nand_info->new_bad_block_addr.Chip_NO :0
      [8.408][ND]nand_info->new_bad_block_addr.Block_NO :0
      [8.413][ND]nand_info->new_bad_page_addr :65535
      [8.417][ND]nand_info->partition_nums :1
      [8.421][ND]sizeof partition:2384
      [8.424][ND]nand_info->partition:0:
      [8.427][ND]size:0x36e00
      [8.429][ND]cross_talk:0x0
      [8.431][ND]attribute:0x0
      [8.434][ND]start: chip:0 block:33
      [8.437][ND]end  : chip:0 block:511
      [8.440][ND]boot :0x80d265c0
      [8.442][ND]boot->magic :0xaa55a5a5
      [8.446][ND]boot->len :0x8000
      [8.448][ND]boot->no_use_block :0x21
      [8.451][ND]boot->uboot_start_block :0x8
      [8.455][ND]boot->uboot_next_block :0x3a
      [8.459][ND]boot->logic_start_block :0x21
      [8.462][ND]mbr len :4096
      [8.465][ND]_PARTITION len :2560
      [8.468][ND]_NAND_STORAGE_INFO len :512
      [8.471][ND]_FACTORY_BLOCK len :2048
      [8.474][ND]nand_partition0
      [8.477][ND]nftl start:479,40
      [8.480][ND]first
      [8.558][ND]before second 479 439.
      [8.561][ND]all block full!!
      [8.564][ND]get a new free block
      [8.567][ND]free block nums is 478 !
      [8.570][NE]not power on gc 478!
      [8.573][ND]nftl ok!
      [8.575][ND]max_erase_times = 65000
      [8.578][ND]nftl_add ok
      [8.580]NB1: NAND_LogicInit ok, result = 0x0
      [8.584]NAND_UbootInit end: 0x0
      nand not need closed
      FEX_CMD_fes_verify_status
      FEX_CMD_fes_verify last err=0
      nand already init
      FEX_CMD_fes_verify_value, start 0x2000, size high 0x0:low 0x2ee76
      FEX_CMD_fes_verify_value 0x13032461
      FEX_CMD_fes_verify_value, start 0x2800, size high 0x0:low 0x20000
      FEX_CMD_fes_verify_value 0xea9912bf
      FEX_CMD_fes_verify_value, start 0x2a00, size high 0x0:low 0x2f1df8
      FEX_CMD_fes_verify_value 0xd6a225c0
      FEX_CMD_fes_verify_value, start 0x5a00, size high 0x0:low 0x3c0000
      FEX_CMD_fes_verify_value 0x316922c9
      NAND_UbootExit
      [14.674]NAND_UbootExit
      [14.676]NB1: NAND_LogicExit
      nand release dma:81db8c9c
      nand release dma:0
      bootfile_mode=4
      SUNXI_EFEX_BOOT1_TAG
      boot1 size = 0xb8000
      uboot_pkg magic 0x89119800
      uboot size = 0xb8000
      storage type = 0
      [15.026]NB1 : enter phy init
      [15.028]SpiNandHwInit: Start Nand Hardware initializing Jun  9 2018 19:05:34.....
      [15.036]uboot: nand version: 3 6008 20180610 1300
      [15.053]request spi gpio  ok!
      [15.055]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x81db8c9c
      [15.063]request general tx dma channel ok!
      [15.066]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x81db8cbc
      [15.074]request general rx dma channel ok!
      [15.078]SPI nand ID: 21aaef 0
      [15.081][SCAN_DBG] NandTwoPlaneOp: 1, DriverTwoPlaneOPCfg: 1, 0xffbfffff
      [15.087]nand : get id number_ctl from script:0x55aaaa55
      [15.092]_UpdateExtAccessFreqPara: no para.
      [15.096]PHY_Scan_DelayMode, it is a free page(type 0), block 8
      [15.102]PHY_Scan_DelayMode, it is a free page(type 0), block 9
      [15.108]PHY_Scan_DelayMode, it is a free page(type 0), block 10
      [15.113]PHY_Scan_DelayMode, it is a free page(type 0), block 11
      [15.119]PHY_Scan_DelayMode, it is a free page(type 0), block 12
      [15.125]PHY_Scan_DelayMode, it is a free page(type 0), block 13
      [15.131]PHY_Scan_DelayMode, it is a free page(type 0), block 14
      [15.136]PHY_Scan_DelayMode, it is a free page(type 0), block 15
      [15.142]PHY_Scan_DelayMode, it is a free page(type 0), block 16
      [15.148]PHY_Scan_DelayMode, it is a free page(type 0), block 17
      _get_spic_clk_v1: sclk0=0x64
      [15.156]PHY_Scan_DelayMode: no right delay mode,set default clk 30MHz
      [15.162]physic_info_read start!!
      [15.165]physic_info_read already!!
      [15.169]_GetOldPhysicArch: chip 0, block 20, page 0, oob: 0xff, 0xff, 0xff, 0xff
      [15.176]_GetOldPhysicArch: find a good block, but no physic arch info.
      [15.182]NAND_ReadPhyArch: blank page!
      [15.186]
      
      [15.187][SCAN_DBG] ==============Nand Architecture Parameter==============
      [15.193][SCAN_DBG]    Nand Chip ID:         0xff21aaef 0xffffffff
      [15.199][SCAN_DBG]    Nand Chip Count:      0x1
      [15.203][SCAN_DBG]    Nand Chip Connect:    0x1
      [15.208][SCAN_DBG]    Sector Count Of Page: 0x4
      [15.212][SCAN_DBG]    Page Count Of Block:  0x40
      [15.217][SCAN_DBG]    Block Count Of Die:   0x400
      [15.221][SCAN_DBG]    Plane Count Of Die:   0x2
      [15.225][SCAN_DBG]    Die Count Of Chip:    0x1
      [15.230][SCAN_DBG]    Bank Count Of Chip:   0x1
      [15.234][SCAN_DBG]    Optional Operation:   0x6d
      [15.238][SCAN_DBG]    Access Frequence:     0x32
      [15.243][SCAN_DBG] =======================================================
      
      [15.262]secure storage updata ok!
      [15.265]nand secure storage ok: 58,59
      [15.269]NB1 : nand phy init ok
      [15.272]burn uboot one!
      [15.274]spinand burn uboot one!
      [15.277]spinand burn uboot in many block 0!
      [15.282]write uboot many block 8!
      [15.323]write uboot many block 9!
      [15.364]write uboot many block 10!
      [15.406]write uboot many block 11!
      [15.447]write uboot many block 12!
      [15.488]write uboot many block 13!
      [15.520]uboot info: page 48 in block 13.
      [15.524]uboot info: page 49 in block 13.
      [15.528]uboot info: page 50 in block 13.
      [15.532]uboot info: page 51 in block 13.
      [15.536]uboot info: page 52 in block 13.
      [15.540]uboot info: page 53 in block 13.
      [15.544]uboot info: page 54 in block 13.
      [15.549]uboot info: page 55 in block 13.
      [15.553]uboot info: page 56 in block 13.
      [15.557]uboot info: page 57 in block 13.
      [15.561]uboot info: page 58 in block 13.
      [15.565]uboot info: page 59 in block 13.
      [15.569]uboot info: page 60 in block 13.
      [15.573]uboot info: page 61 in block 13.
      [15.577]uboot info: page 62 in block 13.
      [15.581]uboot info: page 63 in block 13.
      [15.585]burn uboot one!
      [15.588]spinand burn uboot one!
      [15.590]spinand burn uboot in many block 1!
      [15.597]write uboot many block 14!
      [15.639]write uboot many block 15!
      [15.680]write uboot many block 16!
      [15.722]write uboot many block 17!
      [15.763]write uboot many block 18!
      [15.804]write uboot many block 19!
      [15.836]uboot info: page 48 in block 19.
      [15.840]uboot info: page 49 in block 19.
      [15.844]uboot info: page 50 in block 19.
      [15.848]uboot info: page 51 in block 19.
      [15.852]uboot info: page 52 in block 19.
      [15.856]uboot info: page 53 in block 19.
      [15.860]uboot info: page 54 in block 19.
      [15.865]uboot info: page 55 in block 19.
      [15.869]uboot info: page 56 in block 19.
      [15.873]uboot info: page 57 in block 19.
      [15.877]uboot info: page 58 in block 19.
      [15.881]uboot info: page 59 in block 19.
      [15.885]uboot info: page 60 in block 19.
      [15.889]uboot info: page 61 in block 19.
      [15.893]uboot info: page 62 in block 19.
      [15.897]uboot info: page 63 in block 19.
      [15.901]burn uboot one!
      [15.904]spinand burn uboot one!
      [15.906]spinand burn uboot in many block 2!
      [15.916]write uboot many block 20!
      [15.957]write uboot many block 21!
      [15.998]write uboot many block 22!
      [16.040]write uboot many block 23!
      [16.081]write uboot many block 24!
      [16.122]write uboot many block 25!
      [16.154]uboot info: page 48 in block 25.
      [16.158]uboot info: page 49 in block 25.
      [16.162]uboot info: page 50 in block 25.
      [16.166]uboot info: page 51 in block 25.
      [16.170]uboot info: page 52 in block 25.
      [16.174]uboot info: page 53 in block 25.
      [16.178]uboot info: page 54 in block 25.
      [16.182]uboot info: page 55 in block 25.
      [16.186]uboot info: page 56 in block 25.
      [16.191]uboot info: page 57 in block 25.
      [16.195]uboot info: page 58 in block 25.
      [16.199]uboot info: page 59 in block 25.
      [16.203]uboot info: page 60 in block 25.
      [16.207]uboot info: page 61 in block 25.
      [16.211]uboot info: page 62 in block 25.
      [16.215]uboot info: page 63 in block 25.
      [16.219]burn uboot one!
      [16.221]spinand burn uboot one!
      [16.224]spinand burn uboot in many block 3!
      [16.236]write uboot many block 26!
      [16.277]write uboot many block 27!
      [16.318]write uboot many block 28!
      [16.360]write uboot many block 29!
      [16.401]write uboot many block 30!
      [16.442]write uboot many block 31!
      [16.473]uboot info: page 48 in block 31.
      [16.478]uboot info: page 49 in block 31.
      [16.482]uboot info: page 50 in block 31.
      [16.486]uboot info: page 51 in block 31.
      [16.490]uboot info: page 52 in block 31.
      [16.494]uboot info: page 53 in block 31.
      [16.498]uboot info: page 54 in block 31.
      [16.502]uboot info: page 55 in block 31.
      [16.506]uboot info: page 56 in block 31.
      [16.510]uboot info: page 57 in block 31.
      [16.514]uboot info: page 58 in block 31.
      [16.519]uboot info: page 59 in block 31.
      [16.523]uboot info: page 60 in block 31.
      [16.527]uboot info: page 61 in block 31.
      [16.531]uboot info: page 62 in block 31.
      [16.535]uboot info: page 63 in block 31.
      [16.539]burn uboot one!
      [16.541]spinand burn uboot one!
      [16.544]spinand burn uboot in many block 4!
      [16.558]write uboot many block 32!
      [16.599]write uboot many block 33!
      [16.640]write uboot many block 34!
      [16.682]write uboot many block 35!
      [16.723]write uboot many block 36!
      [16.764]write uboot many block 37!
      [16.795]uboot info: page 48 in block 37.
      [16.799]uboot info: page 49 in block 37.
      [16.804]uboot info: page 50 in block 37.
      [16.808]uboot info: page 51 in block 37.
      [16.812]uboot info: page 52 in block 37.
      [16.816]uboot info: page 53 in block 37.
      [16.820]uboot info: page 54 in block 37.
      [16.824]uboot info: page 55 in block 37.
      [16.828]uboot info: page 56 in block 37.
      [16.832]uboot info: page 57 in block 37.
      [16.836]uboot info: page 58 in block 37.
      [16.840]uboot info: page 59 in block 37.
      [16.845]uboot info: page 60 in block 37.
      [16.849]uboot info: page 61 in block 37.
      [16.853]uboot info: page 62 in block 37.
      [16.857]uboot info: page 63 in block 37.
      [16.861]burn uboot one!
      [16.863]spinand burn uboot one!
      [16.866]spinand burn uboot in many block 5!
      [16.882]write uboot many block 38!
      [16.923]write uboot many block 39!
      [16.964]write uboot many block 40!
      [17.005]write uboot many block 41!
      [17.047]write uboot many block 42!
      [17.088]write uboot many block 43!
      [17.119]uboot info: page 48 in block 43.
      [17.123]uboot info: page 49 in block 43.
      [17.127]uboot info: page 50 in block 43.
      [17.131]uboot info: page 51 in block 43.
      [17.135]uboot info: page 52 in block 43.
      [17.140]uboot info: page 53 in block 43.
      [17.144]uboot info: page 54 in block 43.
      [17.148]uboot info: page 55 in block 43.
      [17.152]uboot info: page 56 in block 43.
      [17.156]uboot info: page 57 in block 43.
      [17.160]uboot info: page 58 in block 43.
      [17.164]uboot info: page 59 in block 43.
      [17.168]uboot info: page 60 in block 43.
      [17.172]uboot info: page 61 in block 43.
      [17.176]uboot info: page 62 in block 43.
      [17.180]uboot info: page 63 in block 43.
      [17.185]burn uboot one!
      [17.187]spinand burn uboot one!
      [17.190]spinand burn uboot in many block 6!
      [17.208]write uboot many block 44!
      [17.249]write uboot many block 45!
      [17.290]write uboot many block 46!
      [17.331]write uboot many block 47!
      [17.373]write uboot many block 48!
      [17.414]write uboot many block 49!
      [17.445]uboot info: page 48 in block 49.
      [17.449]uboot info: page 49 in block 49.
      [17.453]uboot info: page 50 in block 49.
      [17.457]uboot info: page 51 in block 49.
      [17.461]uboot info: page 52 in block 49.
      [17.465]uboot info: page 53 in block 49.
      [17.470]uboot info: page 54 in block 49.
      [17.474]uboot info: page 55 in block 49.
      [17.478]uboot info: page 56 in block 49.
      [17.482]uboot info: page 57 in block 49.
      [17.486]uboot info: page 58 in block 49.
      [17.490]uboot info: page 59 in block 49.
      [17.494]uboot info: page 60 in block 49.
      [17.498]uboot info: page 61 in block 49.
      [17.502]uboot info: page 62 in block 49.
      [17.506]uboot info: page 63 in block 49.
      [17.510]burn uboot one!
      [17.513]spinand burn uboot one!
      [17.515]spinand burn uboot in many block 7!
      [17.536]write uboot many block 50!
      [17.578]write uboot many block 51!
      [17.619]write uboot many block 52!
      [17.660]write uboot many block 53!
      [17.701]write uboot many block 54!
      [17.742]write uboot many block 55!
      [17.774]uboot info: page 48 in block 55.
      [17.778]uboot info: page 49 in block 55.
      [17.782]uboot info: page 50 in block 55.
      [17.786]uboot info: page 51 in block 55.
      [17.790]uboot info: page 52 in block 55.
      [17.794]uboot info: page 53 in block 55.
      [17.798]uboot info: page 54 in block 55.
      [17.803]uboot info: page 55 in block 55.
      [17.807]uboot info: page 56 in block 55.
      [17.811]uboot info: page 57 in block 55.
      [17.815]uboot info: page 58 in block 55.
      [17.819]uboot info: page 59 in block 55.
      [17.823]uboot info: page 60 in block 55.
      [17.827]uboot info: page 61 in block 55.
      [17.831]uboot info: page 62 in block 55.
      [17.835]uboot info: page 63 in block 55.
      [17.839]burn uboot one!
      [17.842]spinand burn uboot one!
      [17.844]spinand burn uboot in many block 8!
      [17.866]burn uboot one!
      [17.869]spinand burn uboot one!
      [17.871]spinand burn uboot in many block 9!
      [17.894]burn uboot one!
      [17.896]spinand burn uboot one!
      [17.899]spinand burn uboot in many block 10!
      [17.922]burn uboot one!
      [17.924]spinand burn uboot one!
      [17.927]spinand burn uboot in many block 11!
      [17.950]burn uboot one!
      [17.952]spinand burn uboot one!
      [17.955]spinand burn uboot in many block 12!
      [17.978]burn uboot one!
      [17.980]spinand burn uboot one!
      [17.983]spinand burn uboot in many block 13!
      [18.006]burn uboot one!
      [18.008]spinand burn uboot one!
      [18.011]spinand burn uboot in many block 14!
      [18.034]burn uboot one!
      [18.036]spinand burn uboot one!
      [18.039]spinand burn uboot in many block 15!
      [18.062]burn uboot one!
      [18.064]spinand burn uboot one!
      [18.067]spinand burn uboot in many block 16!
      [18.090]burn uboot one!
      [18.092]spinand burn uboot one!
      [18.095]spinand burn uboot in many block 17!
      [18.118]burn uboot one!
      [18.120]spinand burn uboot one!
      [18.123]spinand burn uboot in many block 18!
      [18.145]burn uboot one!
      [18.148]spinand burn uboot one!
      [18.150]spinand burn uboot in many block 19!
      [18.173]burn uboot one!
      [18.176]spinand burn uboot one!
      [18.178]spinand burn uboot in many block 20!
      [18.201]burn uboot one!
      [18.204]spinand burn uboot one!
      [18.206]spinand burn uboot in many block 21!
      [18.229]burn uboot one!
      [18.232]spinand burn uboot one!
      [18.234]spinand burn uboot in many block 22!
      [18.257]burn uboot one!
      [18.259]spinand burn uboot one!
      [18.262]spinand burn uboot in many block 23!
      [18.285]burn uboot one!
      [18.287]spinand burn uboot one!
      [18.290]spinand burn uboot in many block 24!
      [18.313]burn uboot one!
      [18.315]spinand burn uboot one!
      [18.318]spinand burn uboot in many block 25!
      [18.341]burn uboot one!
      [18.343]spinand burn uboot one!
      [18.346]spinand burn uboot in many block 26!
      [18.369]burn uboot one!
      [18.371]spinand burn uboot one!
      [18.374]spinand burn uboot in many block 27!
      [18.397]burn uboot one!
      [18.399]spinand burn uboot one!
      [18.402]spinand burn uboot in many block 28!
      [18.425]burn uboot one!
      [18.427]spinand burn uboot one!
      [18.430]spinand burn uboot in many block 29!
      [18.453]burn uboot one!
      [18.455]spinand burn uboot one!
      [18.458]spinand burn uboot in many block 30!
      [18.481]burn uboot one!
      [18.483]spinand burn uboot one!
      [18.486]spinand burn uboot in many block 31!
      [18.509]burn uboot one!
      [18.511]spinand burn uboot one!
      [18.514]spinand burn uboot in many block 32!
      [18.536]burn uboot one!
      [18.539]spinand burn uboot one!
      [18.541]spinand burn uboot in many block 33!
      [18.564]burn uboot one!
      [18.567]spinand burn uboot one!
      [18.569]spinand burn uboot in many block 34!
      [18.592]burn uboot one!
      [18.595]spinand burn uboot one!
      [18.597]spinand burn uboot in many block 35!
      [18.620]burn uboot one!
      [18.622]spinand burn uboot one!
      [18.625]spinand burn uboot in many block 36!
      [18.648]burn uboot one!
      [18.650]spinand burn uboot one!
      [18.653]spinand burn uboot in many block 37!
      [18.676]burn uboot one!
      [18.678]spinand burn uboot one!
      [18.681]spinand burn uboot in many block 38!
      [18.704]burn uboot one!
      [18.706]spinand burn uboot one!
      [18.709]spinand burn uboot in many block 39!
      [18.732]burn uboot one!
      [18.734]spinand burn uboot one!
      [18.737]spinand burn uboot in many block 40!
      [18.760]burn uboot one!
      [18.762]spinand burn uboot one!
      [18.765]spinand burn uboot in many block 41!
      [18.788]burn uboot one!
      [18.790]spinand burn uboot one!
      [18.793]spinand burn uboot in many block 42!
      [18.816]burn uboot one!
      [18.818]spinand burn uboot one!
      [18.821]spinand burn uboot in many block 43!
      [18.844]burn uboot one!
      [18.846]spinand burn uboot one!
      [18.849]spinand burn uboot in many block 44!
      [18.871]burn uboot one!
      [18.874]spinand burn uboot one!
      [18.876]spinand burn uboot in many block 45!
      [18.899]burn uboot one!
      [18.902]spinand burn uboot one!
      [18.904]spinand burn uboot in many block 46!
      [18.927]burn uboot one!
      [18.930]spinand burn uboot one!
      [18.932]spinand burn uboot in many block 47!
      [18.955]burn uboot one!
      [18.957]spinand burn uboot one!
      [18.960]spinand burn uboot in many block 48!
      [18.983]burn uboot one!
      [18.985]spinand burn uboot one!
      [18.988]spinand burn uboot in many block 49!
      [19.011]NB1 : enter phy Exit
      nand release dma:81db8c9c
      nand release dma:0
      FEX_CMD_fes_verify_status
      FEX_CMD_fes_verify last err=0
      bootfile_mode=4
      SUNXI_EFEX_BOOT0_TAG
      boot0 size = 0x4000
      [19.128]uboot_start_block:    8
      [19.131]uboot_next_block:   3a
      [19.133]logic_start_block:21
      [19.136]nand_specialinfo_page:0
      [19.139]nand_specialinfo_offset:    0
      [19.142]physic_block_reserved:    6
      dram para[0] = ea00018e
      dram para[1] = 6f6f6275
      dram para[2] = 74
      dram para[3] = 17012fe9
      dram para[4] = 4000
      dram para[5] = a0000
      dram para[6] = a0000
      dram para[7] = 2e302e33
      dram para[8] = 30
      dram para[9] = 2e302e31
      dram para[10] = 30
      dram para[11] = 80800000
      dram para[12] = 80000000
      dram para[13] = 0
      dram para[14] = 0
      dram para[15] = 0
      dram para[16] = 0
      dram para[17] = 0
      dram para[18] = 0
      dram para[19] = 0
      dram para[20] = 0
      dram para[21] = 0
      dram para[22] = 0
      dram para[23] = 0
      dram para[24] = 0
      dram para[25] = 0
      dram para[26] = 0
      dram para[27] = 0
      dram para[28] = 0
      dram para[29] = 0
      dram para[30] = 0
      dram para[31] = 0
      storage type = 0
      [19.205]NB1 : enter phy init
      [19.208]SpiNandHwInit: Start Nand Hardware initializing Jun  9 2018 19:05:34.....
      [19.215]uboot: nand version: 3 6008 20180610 1300
      [19.232]request spi gpio  ok!
      [19.235]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x81db8c9c
      [19.242]request general tx dma channel ok!
      [19.246]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x81db8cbc
      [19.254]request general rx dma channel ok!
      [19.258]SPI nand ID: 21aaef 0
      [19.260][SCAN_DBG] NandTwoPlaneOp: 1, DriverTwoPlaneOPCfg: 1, 0xffbfffff
      [19.267]nand : get id number_ctl from script:0x55aaaa55
      [19.272]_UpdateExtAccessFreqPara: no para.
      [19.276]PHY_Scan_DelayMode: right delay mode 0x0
      [19.280]PHY_Scan_DelayMode: right delay mode 0x800
      _get_spic_clk_v1: sclk0=0x64
      [19.288]PHY_Scan_DelayMode: right delay mode,clk 50 MHz, SPI_TCR = 0x00000984, bit[13]=0,bit[11]=1
      [19.296]physic_info_read start!!
      [19.299]physic_info_read already!!
      [19.302]
      
      [19.304][SCAN_DBG] ==============Nand Architecture Parameter==============
      [19.310][SCAN_DBG]    Nand Chip ID:         0xff21aaef 0xffffffff
      [19.316][SCAN_DBG]    Nand Chip Count:      0x1
      [19.320][SCAN_DBG]    Nand Chip Connect:    0x1
      [19.325][SCAN_DBG]    Sector Count Of Page: 0x4
      [19.329][SCAN_DBG]    Page Count Of Block:  0x40
      [19.333][SCAN_DBG]    Block Count Of Die:   0x400
      [19.338][SCAN_DBG]    Plane Count Of Die:   0x1
      [19.342][SCAN_DBG]    Die Count Of Chip:    0x1
      [19.347][SCAN_DBG]    Bank Count Of Chip:   0x1
      [19.351][SCAN_DBG]    Optional Operation:   0x60
      [19.355][SCAN_DBG]    Access Frequence:     0x0
      [19.360][SCAN_DBG] =======================================================
      
      [19.387]secure storage updata ok!
      [19.390]nand secure storage ok: 58,59
      [19.394]NB1 : nand phy init ok
      [19.397]burn boot0 normal mode!
      [19.399]SPINAND burn boot0!
      [19.402]boot0 count 0!
      [19.441]SPINAND burn boot0!
      [19.443]boot0 count 1!
      [19.482]SPINAND burn boot0!
      [19.484]boot0 count 2!
      [19.523]SPINAND burn boot0!
      [19.525]boot0 count 3!
      [19.564]SPINAND burn boot0!
      [19.566]boot0 count 4!
      [19.605]SPINAND burn boot0!
      [19.607]boot0 count 5!
      [19.646]SPINAND burn boot0!
      [19.649]boot0 count 6!
      [19.687]SPINAND burn boot0!
      [19.690]boot0 count 7!
      [19.728]NB1 : enter phy Exit
      nand release dma:81db8c9c
      nand release dma:0
      FEX_CMD_fes_verify_status
      FEX_CMD_fes_verify last err=0
      sunxi_efex_next_action=2
      exit usb
      sunxi dma exit
      next work 2
      SUNXI_UPDATE_NEXT_ACTION_REBOOT
      set next mode 14
      nand not opened
      sunxi dma exit
      [0]HELLO! BOOT0 is starting!
      [2]boot0 commit : 80628dcde5dc4ecdc757a9e782c58d7cf1abf959
      
      [60]dram size =64
      [62](GPIO_BASE_ADDR + 0x48): 0x00002222
      [65](GPIO_BASE_ADDR + 0x5c): 0x00000055
      [69](GPIO_BASE_ADDR + 0x64): 0x00000004
      [72]CCMU_BASE_ADDR + 0x2c0 0x00104040
      [76]CCMU_BASE_ADDR + 0x60 0x00104040
      [79]SPIC0_BASE_ADDR+0x24: 0x00001004
      [82]spinand UBOOT_START_BLK_NUM 8 UBOOT_LAST_BLK_NUM 58
      [87]block from 8 to 58
      [567]Check is correct.
      [578]Ready to disable icache.
      [581]Jump to secend Boot.
      
      
      U-Boot 2014.07 (Jul 31 2018 - 14:59:19) Allwinner Technology
      
      uboot commit : 6604446f7bddb8fe53f2b993100929f92a5f4d6e
      
      i2c_init: by cpux
      [I2C-DEBUG]:i2c_set_clock() 354
      [I2C-ERROR]:twi_send_clk_9pulse() 136 SDA is still Stuck Low, failed.
      i2c_init ok
      [0.629]pmbus:   ready
      axp: get node[/soc/pmu0] error
      axp_probe error
      [0.636]PMU: cpux 408 Mhz,AXI=408 Mhz
      PLL6=600 Mhz,AHB1=200 Mhz, APB1=100Mhz
      key value = 4294967295, fel_key = [256,426]
      DRAM:  64 MiB
      Relocation Offset is: 03524000
      axp: get node[/soc/pmu0] error
      int sunxi_dma_init---
      irq enable
      workmode = 0,storage type = 0
      [0.719]NAND: NAND_UbootInit
      [0.721]NAND_UbootInit start
      [0.724]NB1: enter NAND_LogicInit
      [0.729]nand0: get node offset error
      [0.732]init nctri NAND PIORequest error!
      [0.735]nand_physic_init, init nctri error
      [0.739]nand_physic_init init_parameter error
      [0.743]nand_physic_init error -1
      [0.746]SpiNandHwInit: Start Nand Hardware initializing Jun  9 2018 19:05:34.....
      [0.754]uboot: nand version: 3 6008 20180610 1300
      int sunxi_dma_init---
      irq enable
      [0.773]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x83db8c7c
      [0.781]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x83db8c9c
      _get_spic_clk_v1: sclk0=0x64
      [0.818]not burn nand partition table!
      [0.821][ND]not enough block:479,878!!
      [0.825][NE]build phy partition 0 error!
      [0.828][NE]build all phy partition fail!
      [0.949][NE]not find mbr table!!!!
      [0.952]NB1: nand_info_init fail
      [0.955]NAND_UbootInit end: 0xfffffffb
      [0.958]nand init fail
      initcall sequence 83dacb6c failed at call 80809fec
      ### ERROR ### Please RESET the board ###
      Error reading from serial device
      

      第二次 末尾的日志

      562][PHY_DBG] Find a bad block (NO. 0x3f0) in the Die 0x0
      [18.568]PHY_PageReadSpare bad flag: bank 0x0  block 0x3f1  page 0x0
      [18.574][PHY_DBG] Find a bad block (NO. 0x3f1) in the Die 0x0
      [18.579]PHY_PageReadSpare bad flag: bank 0x0  block 0x3f2  page 0x0
      [18.585][PHY_DBG] Find a bad block (NO. 0x3f2) in the Die 0x0
      [18.591]PHY_PageReadSpare bad flag: bank 0x0  block 0x3f3  page 0x0
      [18.597][PHY_DBG] Find a bad block (NO. 0x3f3) in the Die 0x0
      [18.603]PHY_PageReadSpare bad flag: bank 0x0  block 0x3f4  page 0x0
      [18.609][PHY_DBG] Find a bad block (NO. 0x3f4) in the Die 0x0
      [18.614]PHY_PageReadSpare bad flag: bank 0x0  block 0x3f5  page 0x0
      [18.620][PHY_DBG] Find a bad block (NO. 0x3f5) in the Die 0x0
      [18.626]PHY_PageReadSpare bad flag: bank 0x0  block 0x3f6  page 0x0
      [18.632][PHY_DBG] Find a bad block (NO. 0x3f6) in the Die 0x0
      [18.638]PHY_PageReadSpare bad flag: bank 0x0  block 0x3f7  page 0x0
      [18.644][PHY_DBG] Find a bad block (NO. 0x3f7) in the Die 0x0
      [18.649]PHY_PageReadSpare bad flag: bank 0x0  block 0x3f8  page 0x0
      [18.656][PHY_DBG] Find a bad block (NO. 0x3f8) in the Die 0x0
      [18.661]PHY_PageReadSpare bad flag: bank 0x0  block 0x3f9  page 0x0
      [18.667][PHY_DBG] Find a bad block (NO. 0x3f9) in the Die 0x0
      [18.673]PHY_PageReadSpare bad flag: bank 0x0  block 0x3fa  page 0x0
      [18.679][PHY_DBG] Find a bad block (NO. 0x3fa) in the Die 0x0
      [18.685]PHY_PageReadSpare bad flag: bank 0x0  block 0x3fb  page 0x0
      [18.691][PHY_DBG] Find a bad block (NO. 0x3fb) in the Die 0x0
      [18.696]PHY_PageReadSpare bad flag: bank 0x0  block 0x3fc  page 0x0
      [18.702][PHY_DBG] Find a bad block (NO. 0x3fc) in the Die 0x0
      [18.708]PHY_PageReadSpare bad flag: bank 0x0  block 0x3fd  page 0x0
      [18.714][PHY_DBG] Find a bad block (NO. 0x3fd) in the Die 0x0
      [18.720]PHY_PageReadSpare bad flag: bank 0x0  block 0x3fe  page 0x0
      [18.726][PHY_DBG] Find a bad block (NO. 0x3fe) in the Die 0x0
      [18.731]PHY_PageReadSpare bad flag: bank 0x0  block 0x3ff  page 0x0
      [18.737][PHY_DBG] Find a bad block (NO. 0x3ff) in the Die 0x0
      [18.743][NE]not find mbr table!!!!
      [18.746]NB1: nand_info_init fail
      [18.749]NAND_UbootInit end: 0xfffffffb
      sunxi sprite init fail when downlaod mbr
      
      发布在 其它全志芯片讨论区
      D
      dort91011
    • JPEG拍照设置旋转90、270度出图异常

      开启JPEG编码旋转功能十,将VENC_CHN_ATTR_S结构体中的VeAttr Rotate参数设置为90度或者270度。

      拍照生成的图片显示异常,图片未能正确旋转,异常图像如下:

      旋转90度:

      downloadFileByUrls.jpg

      旋转180度:

      downloadFileByUrl (1).jpg

      发布在 V Series
      D
      dort91011
    • 回复: 启动到这里停止了,是不是dram坏了?

      @awwwwa 是的,就是2G的哪吒板子

      发布在 MR Series
      D
      dort91011