导航

    全志在线开发者论坛

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

    V853烧录问题后自动重新烧录

    V Series
    3
    10
    4109
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • N
      NULL037 LV 7 最后由 NULL037 编辑

      问题描述:
      V853在第一次烧录的时候是正常可以烧录进去的,但是会自动重新开始烧录,然后再第二次烧录的时候会报错,提示检测不到EMMC,然后系统就异常,再也无法重新烧录。硬件部分参照公板,是否可能是软件部分的问题?
      下面是启动的全部日志

      CCC[2172]fes begin commit:4b419f21ba
      [2177]PMU: AXP21
      [2179]set pll start
      [2181]periph0 has been enabled
      [2184]set pll end
      [2186]board init ok
      [2188]beign to init dram
      [2190]DRAM use external ZQ!!
      [2193]chip id check OK
      [2195]DRAM_VCC set to 1500 mv
      [2198]trefi:7.8ms
      [2201][AUTO DEBUG] single rank and full DQ!
      [2205]trefi:7.8ms
      [2208][AUTO DEBUG] rank 0 row = 15
      [2211][AUTO DEBUG] rank 0 bank = 8
      [2214][AUTO DEBUG] rank 0 page size = 2 KB
      [2218]DRAM BOOT DRIVE INFO: V0.16
      [2221]DRAM CLK = 936 MHz
      [2224]DRAM Type = 3 (2:DDR2,3:DDR3)
      [2227]DRAMC ZQ value: 0x7b7bfb
      [2230]DRAM ODT value: 0x42.
      [2234]DRAM SIZE =512 M
      [2236]dram_tpr4:0x0
      [2239]DRAM simple test OK.
      [2241]rtc standby flag is 0x0, super standby flag is 0x0
      [2246]rtc[0] value = 0x80000002
      [2250]init dram ok
      
      
      U-Boot 2018.05-ga697d75-dirty (Dec 13 2022 - 04:40:13 -0500) Allwinner Technology
      
      [03.961]CPU:   Allwinner Family
      [03.964]Model: sun8iw21
      I2C:   ready
      [03.991]DRAM:  512 MiB
      [03.994]Relocation Offset is: 1ced5000
      [04.018]secure enable bit: 0
      [04.021]PMU: AXP21
      [04.023]PMU: pmu_axp2101 found
      [04.026]BMU: AXP21
      [04.027]BMU: bmu_axp2101 found
      FDT ERROR:fdt_get_regulator_name:get property handle twi-supply error:FDT_ERR_INTERNAL
      [04.038]gpio_bias, pc_bias: 1800, pc_supply: not set
      [04.043]gpio_bias, pl_bias:   -1, pl_supply: not set
      [04.048]dcdc1_vol = 3300, onoff=1
      [04.052]dcdc2_vol = 900, onoff=1
      [04.055]dcdc5_vol = 0, onoff=0
      [04.058]aldo1_vol = 1800, onoff=1
      [04.062]aldo2_vol = 1800, onoff=1
      [04.065]aldo3_vol = 3300, onoff=1
      [04.069]aldo4_vol = 3300, onoff=1
      [04.072]bldo1_vol = 1800, onoff=1
      [04.076]bldo2_vol = 2800, onoff=1
      [04.079]dldo1_vol = 3300, onoff=1
      [04.083]dldo2_vol = 1200, onoff=1
      bias_name:pc_bias        bias_vol:1800
      bias_name:pi_bias        bias_vol:1800
      [04.093]bat_vol=45, ratio=0
      [04.095]safe_vol=3500, safe_ratio=1
      [04.099]CPU=900 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=24Mhz  MBus=300Mhz
      [04.105]gic: normal mode
      sunxi flash map init
      [04.109]flash init start
      [04.111]workmode = 16,storage type = 0
      try card 2
      set card number 2
      get card number 2
      [04.119][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00
      [04.125][mmc]: get sdc_type fail and use default host:tm4.
      [04.131][mmc]: Is not Boot mode!
      [04.134][mmc]: SUNXI SDMMC Controller Version:0x50400
      [04.145][mmc]: ************Try SD card 2************
      [04.151][mmc]: mmc 2 cmd timeout 100 status 100
      [04.155][mmc]: smc 2 err, cmd 8,  RTO
      [04.158][mmc]: mmc 2 close bus gating and reset
      [04.163][mmc]: mmc 2 cmd timeout 100 status 100
      [04.167][mmc]: smc 2 err, cmd 55,  RTO
      [04.171][mmc]: mmc 2 close bus gating and reset
      [04.175][mmc]: ************Try MMC card 2************
      [04.197][mmc]: mmc 2 cmd timeout 100 status 100
      [04.201][mmc]: smc 2 err, cmd 8,  RTO
      [04.205][mmc]: mmc 2 close bus gating and reset
      [04.210][mmc]: mmc 2 cmd timeout 100 status 100
      [04.214][mmc]: smc 2 err, cmd 55,  RTO
      [04.217][mmc]: mmc 2 close bus gating and reset
      [04.232][mmc]: gen_tuning_blk_bus8: total blk 10
      [04.237][mmc]: gen_tuning_blk_bus4: total blk 6
      [04.241][mmc]: Using 8 bit tuning now
      [04.245][mmc]: write_tuning_try_freq: write ok
      [04.249][mmc]: Pattern compare ok
      [04.252][mmc]: Write tuning pattern ok
      [04.255][mmc]: ================== HSSDR52_SDR25...
      [04.260][mmc]: skip freq 400000
      [04.263][mmc]: skip freq 25000000
      [04.266][mmc]: freq: 2-50000000-64-4
      [04.474][mmc]: [0-59|60]
      [04.476][mmc]: ================== HSDDR52_DDR50...
      [04.480][mmc]: skip freq 400000
      [04.483][mmc]: freq: 1-25000000-64-4
      [05.005][mmc]: freq: 2-50000000-64-4
      [05.144][mmc]: [0-41|42] [53-63|11]
      [05.147][mmc]: [0-31|32] [33-41|9] [52-63|12]
      [05.151][mmc]: DS26/SDR12: 0xffffffff 0xffffffff
      [05.155][mmc]: HSSDR52/SDR25: 0xff1effff 0xffffffff
      [05.160][mmc]: HSDDR52/DDR50: 0xff1015ff 0xffffffff
      [05.164][mmc]: HS200/SDR104: 0xffffffff 0xffffffff
      [05.169][mmc]: HS400: 0xffffffff 0xffffffff
      [05.173][mmc]: HS400: 0xffffffff 0xffffffff
      [05.177][mmc]: Best spd md: 2-HSDDR52/DDR50, freq: 2-50000000, Bus width: 8
      [05.183]line:724 init_clocks
      [05.187]init_clocks:finish
      [05.189]Loading Environment from SUNXI_FLASH... OK
      [05.194]try to burn key
      [05.196]out of usb burn from boot: not need burn key
      Hit any key to stop autoboot:  0
      sunxi work mode=0x10
      run usb efex
      delay time 2500
      weak:otg_phy_config
      usb init ok
      set address 0x1c
      set address 0x1c ok
      set address 0x3b
      set address 0x3b ok
      SUNXI_EFEX_ERASE_TAG
      erase_flag = 0x12
      origin_erase_flag = 0x1
      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 7
      
      part[0] name      :boot-resource
      part[0] classname :DISK
      part[0] addrlo    :0x2000
      part[0] lenlo     :0x1780
      part[0] user_type :32768
      part[0] keydata   :0
      part[0] ro        :0
      
      part[1] name      :env
      part[1] classname :DISK
      part[1] addrlo    :0x3780
      part[1] lenlo     :0x3f0
      part[1] user_type :32768
      part[1] keydata   :0
      part[1] ro        :0
      
      part[2] name      :boot
      part[2] classname :DISK
      part[2] addrlo    :0x3b70
      part[2] lenlo     :0x6270
      part[2] user_type :32768
      part[2] keydata   :0
      part[2] ro        :0
      
      part[3] name      :rootfs
      part[3] classname :DISK
      part[3] addrlo    :0x9de0
      part[3] lenlo     :0x8c00
      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    :0x129e0
      part[4] lenlo     :0x2760
      part[4] user_type :32768
      part[4] keydata   :0
      part[4] ro        :0
      
      part[5] name      :recovery
      part[5] classname :DISK
      part[5] addrlo    :0x15140
      part[5] lenlo     :0x4ec0
      part[5] user_type :32768
      part[5] keydata   :0
      part[5] ro        :0
      
      part[6] name      :UDISK
      part[6] classname :DISK
      part[6] addrlo    :0x1a000
      part[6] lenlo     :0x0
      part[6] user_type :33024
      part[6] keydata   :0
      part[6] ro        :0
      
      total part: 8
      mbr 0, 2000, 8000
      boot-resource 1, 1780, 8000
      env 2, 3f0, 8000
      boot 3, 6270, 8000
      rootfs 4, 8c00, 8000
      rootfs_data 5, 2760, 8000
      recovery 6, 4ec0, 8000
      UDISK 7, 0, 8100
      [08.337]erase all part start
      need erase flash: 18
      [08.341][mmc]: erase from: 0, to: 15269887, cnt: 15269888, erase_group: 1024
      [08.424][mmc]: sunxi_mmc_do_send_cmd_common: cmd 38 wait rsp busy 0x4b ms
      [08.430]read item0 copy0
      [08.445]Item0 (Map) magic is bad
      [08.448]the secure storage item0 copy0 magic is bad
      [08.465]Item0 (Map) magic is bad
      [08.467]the secure storage item0 copy1 magic is bad
      [08.472]Item0 (Map) magic is bad
      [08.475]the secure storage map is empty
      [08.503]erase secure storage: 0 ok
      SUNXI_EFEX_MBR_TAG
      mbr size = 0x10000
      write primary GPT success
      write Backup GPT success
      [08.515]update partition map
      FEX_CMD_fes_verify_status
      FEX_CMD_fes_verify last err=0
      ******Has init
      FEX_CMD_fes_verify_value, start 0x2000, size high 0x0:low 0x14000
      FEX_CMD_fes_verify_value 0xe6f75b5c
      FEX_CMD_fes_verify_value, start 0x3780, size high 0x0:low 0x20000
      FEX_CMD_fes_verify_value 0xb41f4781
      FEX_CMD_fes_verify_value, start 0x3b70, size high 0x0:low 0x408800
      FEX_CMD_fes_verify_value 0x871f49da
      FEX_CMD_fes_verify_value, start 0x9de0, size high 0x0:low 0x10e0000
      FEX_CMD_fes_verify_value 0x4f9dd2fd
      bootfile_mode=4
      SUNXI_EFEX_BOOT1_TAG
      boot1 size = 0x108000, max size = 0x200000
      uboot size = 0x108000
      storage type = 2
      FEX_CMD_fes_verify_status
      FEX_CMD_fes_verify last err=0
      bootfile_mode=4
      SUNXI_EFEX_BOOT0_TAG
      boot0 size = 0xa000
      [09.805][mmc]: write mmc 2 info ok
      dram para[0] = 3a8
      dram para[1] = 3
      dram para[2] = 7b7bfb
      dram para[3] = 1
      dram para[4] = 10f2
      dram para[5] = 2000000
      dram para[6] = 1e14
      dram para[7] = 42
      dram para[8] = 20
      dram para[9] = 0
      dram para[10] = 4899d7
      dram para[11] = 1c241d0
      dram para[12] = a4073
      dram para[13] = b4787896
      dram para[14] = 0
      dram para[15] = 48484848
      dram para[16] = 48
      dram para[17] = 1621121e
      dram para[18] = 0
      dram para[19] = 0
      dram para[20] = 0
      dram para[21] = 420000
      dram para[22] = 48
      dram para[23] = b4016103
      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 = 2
      FEX_CMD_fes_verify_status
      FEX_CMD_fes_verify last err=0
      sunxi_efex_next_action=2
      exit usb
      next work 2
      SUNXI_UPDATE_NEXT_ACTION_REBOOT▒CCC[3453]fes begin commit:4b419f21ba
      [3458]PMU: AXP21
      [3460]set pll start
      [3462]periph0 has been enabled
      [3465]set pll end
      [3467]board init ok
      [3469]beign to init dram
      [3471]DRAM use external ZQ!!
      [3474]chip id check OK
      [3476]DRAM_VCC set to 1500 mv
      [3479]trefi:7.8ms
      [3482][AUTO DEBUG] single rank and full DQ!
      [3486]trefi:7.8ms
      [3489][AUTO DEBUG] rank 0 row = 15
      [3492][AUTO DEBUG] rank 0 bank = 8
      [3495][AUTO DEBUG] rank 0 page size = 2 KB
      [3499]DRAM BOOT DRIVE INFO: V0.16
      [3502]DRAM CLK = 936 MHz
      [3505]DRAM Type = 3 (2:DDR2,3:DDR3)
      [3508]DRAMC ZQ value: 0x7b7bfb
      [3511]DRAM ODT value: 0x42.
      [3514]DRAM SIZE =512 M
      [3516]dram_tpr4:0x0
      [3520]DRAM simple test OK.
      [3522]rtc standby flag is 0x0, super standby flag is 0x0
      [3527]rtc[0] value = 0x80000002
      [3530]init dram ok
      
      
      U-Boot 2018.05-ga697d75-dirty (Dec 13 2022 - 04:40:13 -0500) Allwinner Technology
      
      [05.258]CPU:   Allwinner Family
      [05.261]Model: sun8iw21
      I2C:   ready
      [05.288]DRAM:  512 MiB
      [05.291]Relocation Offset is: 1ced5000
      [05.315]secure enable bit: 0
      [05.318]PMU: AXP21
      [05.320]PMU: pmu_axp2101 found
      [05.323]BMU: AXP21
      [05.324]BMU: bmu_axp2101 found
      FDT ERROR:fdt_get_regulator_name:get property handle twi-supply error:FDT_ERR_INTERNAL
      [05.335]gpio_bias, pc_bias: 1800, pc_supply: not set
      [05.340]gpio_bias, pl_bias:   -1, pl_supply: not set
      [05.345]dcdc1_vol = 3300, onoff=1
      [05.349]dcdc2_vol = 900, onoff=1
      [05.352]dcdc5_vol = 0, onoff=0
      [05.355]aldo1_vol = 1800, onoff=1
      [05.359]aldo2_vol = 1800, onoff=1
      [05.362]aldo3_vol = 3300, onoff=1
      [05.366]aldo4_vol = 3300, onoff=1
      [05.369]bldo1_vol = 1800, onoff=1
      [05.373]bldo2_vol = 2800, onoff=1
      [05.376]dldo1_vol = 3300, onoff=1
      [05.380]dldo2_vol = 1200, onoff=1
      bias_name:pc_bias        bias_vol:1800
      bias_name:pi_bias        bias_vol:1800
      [05.390]bat_vol=984, ratio=0
      [05.392]safe_vol=3500, safe_ratio=1
      [05.396]CPU=900 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=24Mhz  MBus=300Mhz
      [05.402]gic: normal mode
      sunxi flash map init
      [05.406]flash init start
      [05.408]workmode = 16,storage type = 0
      try card 2
      set card number 2
      get card number 2
      [05.416][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00
      [05.422][mmc]: get sdc_type fail and use default host:tm4.
      [05.429][mmc]: Is not Boot mode!
      [05.431][mmc]: SUNXI SDMMC Controller Version:0x50400
      [05.442][mmc]: ************Try SD card 2************
      [05.448][mmc]: mmc 2 cmd timeout 100 status 100
      [05.452][mmc]: smc 2 err, cmd 8,  RTO
      [05.455][mmc]: mmc 2 close bus gating and reset
      [05.460][mmc]: mmc 2 cmd timeout 100 status 100
      [05.464][mmc]: smc 2 err, cmd 55,  RTO
      [05.468][mmc]: mmc 2 close bus gating and reset
      [05.472][mmc]: ************Try MMC card 2************
      [06.485][mmc]: Card did not respond to voltage select!
      [06.489][mmc]: ************SD/MMC 2 init error!************
      [06.495][mmc]: mmc init product failed
      MMC init failed
      try emmc fail
      [06.501]sunxi-spinand: AW SPINand MTD Layer Version: 1.8 20220106
      [06.507]sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.11 20211217
      [06.515]sunxi-spinand-phy: request spi0 gpio ok
      [06.519]sunxi-spinand-phy: request general tx dma channel ok!
      [06.525]sunxi-spinand-phy: request general rx dma channel ok!
      [06.530]sunxi-spinand-phy: set spic0 clk to 20 Mhz
      [06.535]sunxi-spinand-phy: init spic0 clk ok
      [07.539]sunxi-spinand-phy: read id failed : -110
      try nand fail
      [07.546]unrecognized JEDEC id bytes: ff, ff, ff
      data abort
      pc : [<5ff1053a>]          lr : [<5ff10521>]
      reloc pc : [<4303b53a>]    lr : [<4303b521>]
      sp : 5de72c38  ip : 00000002     fp : 43000508
      r10: 43031bd9  r9 : 5deb4e70     r8 : 5def5678
      r7 : 5ff83f48  r6 : ffffffed     r5 : 5ff54a20  r4 : 5def56c0
      r3 : 00002000  r2 : 00000001     r1 : 0000000a  r0 : 00000030
      Flags: nZCv  IRQs on  FIQs off  Mode SVC_32
      

      请问各位大佬,这是在电路板上哪里出了问题?

      N 1 条回复 最后回复 回复 引用 分享 0
      • N
        NULL037 LV 7 @NULL037 最后由 编辑

        @null037
        第一次烧录完成以后会自动打印这段信息SUNXI_UPDATE_NEXT_ACTION_REBOOT,然后重启。
        0a23da5f-3327-4849-8630-25ff8b6c198b-企业微信截图_1675999415252.png

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

          @null037 第一次烧录完成不就是应该重启从emmc进入系统,问题不在这里。问题在

          try card 2
          set card number 2
          get card number 2
          [05.416][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00
          [05.422][mmc]: get sdc_type fail and use default host:tm4.
          [05.429][mmc]: Is not Boot mode!
          [05.431][mmc]: SUNXI SDMMC Controller Version:0x50400
          [05.442][mmc]: ************Try SD card 2************
          [05.448][mmc]: mmc 2 cmd timeout 100 status 100
          [05.452][mmc]: smc 2 err, cmd 8,  RTO
          [05.455][mmc]: mmc 2 close bus gating and reset
          [05.460][mmc]: mmc 2 cmd timeout 100 status 100
          [05.464][mmc]: smc 2 err, cmd 55,  RTO
          [05.468][mmc]: mmc 2 close bus gating and reset
          [05.472][mmc]: ************Try MMC card 2************
          [06.485][mmc]: Card did not respond to voltage select!
          [06.489][mmc]: ************SD/MMC 2 init error!************
          [06.495][mmc]: mmc init product failed
          

          正常情况是

          [86]card no is 2
          [88]sdcard 2 line count 8
          [90][mmc]: mmc driver ver 2021-12-27 10:07
          [100][mmc]: Wrong media type 0x0, but host sdc2, try mmc first
          [105][mmc]: ***Try MMC card 2***
          [119][mmc]: RMCA OK!
          [121][mmc]: bias 100
          [123][mmc]: mmc 2 bias 100
          [126][mmc]: MMC 5.1
          [128][mmc]: HSSDR52/SDR25 8 bit
          [131][mmc]: 50000000 Hz
          [133][mmc]: 14910 MB
          [135][mmc]: ***SD/MMC 2 init OK!!!***
          
          N 1 条回复 最后回复 回复 引用 分享 0
          • WhycanService
            WhycanService LV 8 最后由 编辑

            [23]HELLO! BOOT0 is starting!
            [26]BOOT0 commit : 2a3ec52022
            [29]set pll start
            [30]periph0 has been enabled
            [33]set pll end
            [36][pmu]: bus read error
            [38]board init ok
            [40]rtc[0] value = 0x80000002
            [43]rtc[6] value = 0x5a
            [45]DRAM use external ZQ!!
            [48]chip id check OK
            [50]POWER SETTING ERROR!
            [52]DRAM BOOT DRIVE INFO: V0.16
            [55]DRAM CLK = 936 MHz
            [57]DRAM Type = 3 (2:DDR2,3:DDR3)
            [60]DRAMC ZQ value: 0x7b7bfb
            [63]DRAM ODT value: 0x42.
            [67]DRAM SIZE =512 M
            [69]dram_tpr4:0x0
            [76]DRAM simple test OK.
            [78]rtc standby flag is 0x0, super standby flag is 0x0
            [83]dram size =512
            [86]audio:avcc calibration
            [88]card no is 2
            [90]sdcard 2 line count 8
            [92][mmc]: mmc driver ver 2021-12-27 10:07
            [102][mmc]: Wrong media type 0x0, but host sdc2, try mmc first
            [107][mmc]: ***Try MMC card 2***
            [121][mmc]: RMCA OK!
            [123][mmc]: bias 100
            [125][mmc]: mmc 2 bias 100
            [128][mmc]: MMC 5.1
            [130][mmc]: HSSDR52/SDR25 8 bit
            [133][mmc]: 50000000 Hz
            [135][mmc]: 14910 MB
            [137][mmc]: ***SD/MMC 2 init OK!!!***
            [190]Loading boot-pkg Succeed(index=0).
            [193]Entry_name        = optee
            [196]Entry_name        = u-boot
            [203]Entry_name        = dtb
            [206]tunning data addr:0x430003e8
            [209]Jump to second Boot.
            M/TC: OP-TEE version: 15ee1539b (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05)) #1 Tue Mar 29 06:48:41 UTC 2022 arm
            E/TC:0 0 platform_standby_fdt_parse:133 no pmu node
            E/TC:0 0 sunxi_twi_parse_from_dt:121 no pmu node
            
            
            U-Boot 2018.05-g3a34d5f (Jul 08 2022 - 07:00:11 +0000) Allwinner Technology
            
            [00.274]CPU:   Allwinner Family
            [00.277]Model: sun8iw21
            I2C:   ready
            [00.303]DRAM:  512 MiB
            [00.306]Relocation Offset is: 1ced0000
            [00.331]secure enable bit: 0
            E/TC:0   fdt_getprop_u32:343 prop trace_level not found
            [00.345]pmu_axp2101_probe pmic_bus_read fail
            [00.349]bmu_axp2101_probe pmic_bus_read fail
            [00.353]CPU=900 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=24Mhz  MBus=300Mhz
            [00.359]gic: sec monitor mode
            sunxi flash map init
            [00.364]flash init start
            [00.366]workmode = 0,storage type = 2
            [00.370][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00
            [00.375][mmc]: get sdc_type fail and use default host:tm4.
            [00.382][mmc]: SUNXI SDMMC Controller Version:0x50400
            [00.407][mmc]: Best spd md: 2-HSDDR52/DDR50, freq: 2-50000000, Bus width: 8
            [00.413]sunxi flash init ok
            [00.416]line:724 init_clocks
            [00.419]drv_disp_init
            request pwm success, pwm9:pwm9:0x2000c00.
            [00.433]drv_disp_init finish
            [00.439]Loading Environment from SUNXI_FLASH... OK
            [00.450]boot_gui_init:start
            [00.453]set disp.dev2_output_type fail. using defval=0
            [00.457][ICN6202 TO LVDS] LINE:0146-->lcd_open_flow:
            [00.462][ICN6202 TO LVDS] LINE:0167-->lcd_power_on:
            [00.480]boot_gui_init:finish
            partno erro : can't find partition bootloader
            54 bytes read in 0 ms
            [00.489]bmp_name=bootlogo.bmp size 38454
            [00.493][ICN6202 TO LVDS] LINE:0575-->lcd_panel_init:
            [00.659][ICN6202 TO LVDS] LINE:0620-->lcd_panel_init:initialization:icn6202 init reg from mipi
            38454 bytes read in 175 ms (213.9 KiB/s)
            [00.688]Item0 (Map) magic is bad
            [00.690]the secure storage item0 copy0 magic is bad
            [00.707]Item0 (Map) magic is bad
            [00.710]the secure storage item0 copy1 magic is bad
            [00.715]Item0 (Map) magic is bad
            [00.718]out of usb burn from boot: not need burn key
            root_partition is rootfs
            set root to /dev/mmcblk0p4
            [00.727]update part info
            [00.730]bootmode[2]:0x5a
            [00.732][mmc]: mmc exit start
            [00.751][mmc]: mmc 2 exit ok▒[23]HELLO! BOOT0 is starting!
            [26]BOOT0 commit : 2a3ec52022
            [29]set pll start
            [30]periph0 has been enabled
            [33]set pll end
            [36][pmu]: bus read error
            [38]board init ok
            [40]rtc[0] value = 0x80000002
            [43]rtc[2] value = 0x5aa5a55a
            [46]eraly jump fel
            CCC[2090]fes begin commit:2a3ec52022
            [2093]set pll start
            [2095]periph0 has been enabled
            [2098]set pll end
            [2101][pmu]: bus read error
            [2104]board init ok
            [2106]beign to init dram
            [2108]DRAM use external ZQ!!
            [2111]chip id check OK
            [2113]POWER SETTING ERROR!
            [2115]trefi:7.8ms
            [2118][AUTO DEBUG] single rank and full DQ!
            [2122]trefi:7.8ms
            [2125][AUTO DEBUG] rank 0 row = 15
            [2128][AUTO DEBUG] rank 0 bank = 8
            [2131][AUTO DEBUG] rank 0 page size = 2 KB
            [2135]DRAM BOOT DRIVE INFO: V0.16
            [2139]DRAM CLK = 936 MHz
            [2141]DRAM Type = 3 (2:DDR2,3:DDR3)
            [2144]DRAMC ZQ value: 0x7b7bfb
            [2147]DRAM ODT value: 0x42.
            [2151]DRAM SIZE =512 M
            [2153]dram_tpr4:0x0
            [2156]DRAM simple test OK.
            [2158]rtc standby flag is 0x0, super standby flag is 0x0
            [2164]rtc[0] value = 0x80000002
            [2167]init dram ok
            
            
            U-Boot 2018.05-g3a34d5f (Jul 08 2022 - 07:00:11 +0000) Allwinner Technology
            
            [03.713]CPU:   Allwinner Family
            [03.716]Model: sun8iw21
            I2C:   ready
            [03.742]DRAM:  512 MiB
            [03.746]Relocation Offset is: 1ced0000
            [03.770]secure enable bit: 0
            [03.773]pmu_axp2101_probe pmic_bus_read fail
            [03.777]PMU: no found
            [03.779]bmu_axp2101_probe pmic_bus_read fail
            [03.783]BMU: no found
            [03.785]CPU=900 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=24Mhz  MBus=300Mhz
            [03.791]gic: normal mode
            sunxi flash map init
            [03.795]flash init start
            [03.797]workmode = 16,storage type = 0
            try card 2
            set card number 2
            get card number 2
            [03.805][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00
            [03.811][mmc]: get sdc_type fail and use default host:tm4.
            [03.817][mmc]: Is not Boot mode!
            [03.820][mmc]: SUNXI SDMMC Controller Version:0x50400
            [03.831][mmc]: ************Try SD card 2************
            [03.836][mmc]: mmc 2 cmd timeout 100 status 100
            [03.841][mmc]: smc 2 err, cmd 8,  RTO
            [03.844][mmc]: mmc 2 close bus gating and reset
            [03.849][mmc]: mmc 2 cmd timeout 100 status 100
            [03.853][mmc]: smc 2 err, cmd 55,  RTO
            [03.857][mmc]: mmc 2 close bus gating and reset
            [03.861][mmc]: ************Try MMC card 2************
            [03.885][mmc]: mmc 2 cmd timeout 100 status 100
            [03.889][mmc]: smc 2 err, cmd 8,  RTO
            [03.892][mmc]: mmc 2 close bus gating and reset
            [03.897][mmc]: mmc 2 cmd timeout 100 status 100
            [03.901][mmc]: smc 2 err, cmd 55,  RTO
            [03.905][mmc]: mmc 2 close bus gating and reset
            [03.921][mmc]: gen_tuning_blk_bus8: total blk 10
            [03.925][mmc]: gen_tuning_blk_bus4: total blk 6
            [03.930][mmc]: Using 8 bit tuning now
            [03.935][mmc]: write_tuning_try_freq: write ok
            [03.939][mmc]: Pattern compare ok
            [03.942][mmc]: Write tuning pattern ok
            [03.945][mmc]: ================== HSSDR52_SDR25...
            [03.950][mmc]: skip freq 400000
            [03.953][mmc]: skip freq 25000000
            [03.956][mmc]: freq: 2-50000000-64-4
            [04.204][mmc]: [0-58|59]
            [04.206][mmc]: ================== HSDDR52_DDR50...
            [04.211][mmc]: skip freq 400000
            [04.213][mmc]: freq: 1-25000000-64-4
            [04.437][mmc]: freq: 2-50000000-64-4
            [04.580][mmc]: [0-49|50] [61-63|3]
            [04.583][mmc]: [0-30|31] [33-49|17] [61-63|3]
            [04.588][mmc]: DS26/SDR12: 0xffffffff 0xffffffff
            [04.592][mmc]: HSSDR52/SDR25: 0xff1dffff 0xffffffff
            [04.597][mmc]: HSDDR52/DDR50: 0xff0f19ff 0xffffffff
            [04.601][mmc]: HS200/SDR104: 0xffffffff 0xffffffff
            [04.606][mmc]: HS400: 0xffffffff 0xffffffff
            [04.610][mmc]: HS400: 0xffffffff 0xffffffff
            [04.614][mmc]: Best spd md: 2-HSDDR52/DDR50, freq: 2-50000000, Bus width: 8
            [04.620]line:724 init_clocks
            [04.623]init_clocks:finish
            [04.626]Loading Environment from SUNXI_FLASH... OK
            [04.630]try to burn key
            [04.632]out of usb burn from boot: not need burn key
            Hit any key to stop autoboot:  0
            sunxi work mode=0x10
            run usb efex
            delay time 2500
            weak:otg_phy_config
            usb init ok
            set address 0x10
            set address 0x10 ok
            SUNXI_EFEX_ERASE_TAG
            erase_flag = 0x12
            origin_erase_flag = 0x1
            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 7
            
            part[0] name      :boot-resource
            part[0] classname :DISK
            part[0] addrlo    :0x2000
            part[0] lenlo     :0x1978
            part[0] user_type :32768
            part[0] keydata   :0
            part[0] ro        :0
            
            part[1] name      :env
            part[1] classname :DISK
            part[1] addrlo    :0x3978
            part[1] lenlo     :0x3f0
            part[1] user_type :32768
            part[1] keydata   :0
            part[1] ro        :0
            
            part[2] name      :boot
            part[2] classname :DISK
            part[2] addrlo    :0x3d68
            part[2] lenlo     :0x6270
            part[2] user_type :32768
            part[2] keydata   :0
            part[2] ro        :0
            
            part[3] name      :rootfs
            part[3] classname :DISK
            part[3] addrlo    :0x9fd8
            part[3] lenlo     :0x19b90
            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    :0x23b68
            part[4] lenlo     :0x2760
            part[4] user_type :32768
            part[4] keydata   :0
            part[4] ro        :0
            
            part[5] name      :recovery
            part[5] classname :DISK
            part[5] addrlo    :0x262c8
            part[5] lenlo     :0x4ec0
            part[5] user_type :32768
            part[5] keydata   :0
            part[5] ro        :0
            
            part[6] name      :UDISK
            part[6] classname :DISK
            part[6] addrlo    :0x2b188
            part[6] lenlo     :0x0
            part[6] user_type :33024
            part[6] keydata   :0
            part[6] ro        :0
            
            total part: 8
            mbr 0, 2000, 8000
            boot-resource 1, 1978, 8000
            env 2, 3f0, 8000
            boot 3, 6270, 8000
            rootfs 4, 19b90, 8000
            rootfs_data 5, 2760, 8000
            recovery 6, 4ec0, 8000
            UDISK 7, 0, 8100
            [07.558]erase all part start
            need erase flash: 18
            [07.563][mmc]: erase from: 0, to: 30535679, cnt: 30535680, erase_group: 1024
            [07.652][mmc]: sunxi_mmc_do_send_cmd_common: cmd 38 wait rsp busy 0x52 ms
            [07.659]read item0 copy0
            [07.673]Item0 (Map) magic is bad
            [07.676]the secure storage item0 copy0 magic is bad
            [07.693]Item0 (Map) magic is bad
            [07.696]the secure storage item0 copy1 magic is bad
            [07.701]Item0 (Map) magic is bad
            [07.704]the secure storage map is empty
            [07.733]erase secure storage: 0 ok
            SUNXI_EFEX_MBR_TAG
            mbr size = 0x10000
            write primary GPT success
            write Backup GPT success
            [07.747]update partition map
            FEX_CMD_fes_verify_status
            FEX_CMD_fes_verify last err=0
            ******Has init
            FEX_CMD_fes_verify_value, start 0x2000, size high 0x0:low 0x14000
            FEX_CMD_fes_verify_value 0xe6f75b5c
            FEX_CMD_fes_verify_value, start 0x3978, size high 0x0:low 0x20000
            FEX_CMD_fes_verify_value 0x33cbba1
            FEX_CMD_fes_verify_value, start 0x3d68, size high 0x0:low 0x779000
            FEX_CMD_fes_verify_value 0xe7b29563
            FEX_CMD_fes_verify_value, start 0x9fd8, size high 0x0:low 0x1480000
            FEX_CMD_fes_verify_value 0x591ac631
            bootfile_mode=4
            SUNXI_EFEX_BOOT1_TAG
            boot1 size = 0x108000, max size = 0x200000
            uboot size = 0x108000
            storage type = 2
            FEX_CMD_fes_verify_status
            FEX_CMD_fes_verify last err=0
            bootfile_mode=4
            SUNXI_EFEX_BOOT0_TAG
            boot0 size = 0x9000
            [10.202][mmc]: write mmc 2 info ok
            dram para[0] = 3a8
            dram para[1] = 3
            dram para[2] = 7b7bfb
            dram para[3] = 1
            dram para[4] = 10f2
            dram para[5] = 2000000
            dram para[6] = 1e14
            dram para[7] = 42
            dram para[8] = 20
            dram para[9] = 0
            dram para[10] = 4899d7
            dram para[11] = 1c241d0
            dram para[12] = a4073
            dram para[13] = b4787896
            dram para[14] = 0
            dram para[15] = 48484848
            dram para[16] = 48
            dram para[17] = 1621121e
            dram para[18] = 0
            dram para[19] = 0
            dram para[20] = 0
            dram para[21] = 420000
            dram para[22] = 48
            dram para[23] = b4016103
            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 = 2
            FEX_CMD_fes_verify_status
            FEX_CMD_fes_verify last err=0
            sunxi_efex_next_action=2
            exit usb
            next work 2
            [23]HELLO! BOOT0 is starting!OT
            [26]BOOT0 commit : 2a3ec52022
            [29]set pll start
            [30]periph0 has been enabled
            [33]set pll end
            [36][pmu]: bus read error
            [38]board init ok
            [40]rtc[0] value = 0x80000002
            [43]DRAM use external ZQ!!
            [45]chip id check OK
            [47]POWER SETTING ERROR!
            [50]DRAM BOOT DRIVE INFO: V0.16
            [53]DRAM CLK = 936 MHz
            [55]DRAM Type = 3 (2:DDR2,3:DDR3)
            [58]DRAMC ZQ value: 0x7b7bfb
            [61]DRAM ODT value: 0x42.
            [65]DRAM SIZE =512 M
            [66]dram_tpr4:0x0
            [73]DRAM simple test OK.
            [76]rtc standby flag is 0x0, super standby flag is 0x0
            [81]dram size =512
            [84]audio:avcc calibration
            [86]card no is 2
            [88]sdcard 2 line count 8
            [90][mmc]: mmc driver ver 2021-12-27 10:07
            [100][mmc]: Wrong media type 0x0, but host sdc2, try mmc first
            [105][mmc]: ***Try MMC card 2***
            [119][mmc]: RMCA OK!
            [121][mmc]: bias 100
            [123][mmc]: mmc 2 bias 100
            [126][mmc]: MMC 5.1
            [128][mmc]: HSSDR52/SDR25 8 bit
            [131][mmc]: 50000000 Hz
            [133][mmc]: 14910 MB
            [135][mmc]: ***SD/MMC 2 init OK!!!***
            [187]Loading boot-pkg Succeed(index=0).
            [191]Entry_name        = optee
            [194]Entry_name        = u-boot
            [201]Entry_name        = dtb
            [204]tunning data addr:0x430003e8
            [207]Jump to second Boot.
            M/TC: OP-TEE version: 15ee1539b (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05)) #1 Tue Mar 29 06:48:41 UTC 2022 arm
            E/TC:0 0 platform_standby_fdt_parse:133 no pmu node
            E/TC:0 0 sunxi_twi_parse_from_dt:121 no pmu node
            
            
            U-Boot 2018.05-g3a34d5f (Jul 08 2022 - 07:00:11 +0000) Allwinner Technology
            
            [00.272]CPU:   Allwinner Family
            [00.275]Model: sun8iw21
            I2C:   ready
            [00.301]DRAM:  512 MiB
            [00.304]Relocation Offset is: 1ced0000
            [00.329]secure enable bit: 0
            E/TC:0   fdt_getprop_u32:343 prop trace_level not found
            [00.343]pmu_axp2101_probe pmic_bus_read fail
            [00.347]bmu_axp2101_probe pmic_bus_read fail
            [00.351]CPU=900 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=24Mhz  MBus=300Mhz
            [00.357]gic: sec monitor mode
            sunxi flash map init
            [00.362]flash init start
            [00.364]workmode = 0,storage type = 2
            [00.367][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00
            [00.373][mmc]: get sdc_type fail and use default host:tm4.
            [00.380][mmc]: SUNXI SDMMC Controller Version:0x50400
            [00.405][mmc]: Best spd md: 2-HSDDR52/DDR50, freq: 2-50000000, Bus width: 8
            [00.411]sunxi flash init ok
            [00.414]line:724 init_clocks
            [00.417]drv_disp_init
            request pwm success, pwm9:pwm9:0x2000c00.
            [00.431]drv_disp_init finish
            [00.437]Loading Environment from SUNXI_FLASH... backup env check CRC fail
            Now update backup env
            Saving Environment to SUNXI_FLASH... Writing to env...
            OK
            OK
            [00.479]boot_gui_init:start
            [00.481]set disp.dev2_output_type fail. using defval=0
            [00.486][ICN6202 TO LVDS] LINE:0146-->lcd_open_flow:
            [00.491][ICN6202 TO LVDS] LINE:0167-->lcd_power_on:
            [00.509]boot_gui_init:finish
            partno erro : can't find partition bootloader
            54 bytes read in 0 ms
            [00.518]bmp_name=bootlogo.bmp size 38454
            [00.522][ICN6202 TO LVDS] LINE:0575-->lcd_panel_init:
            [00.688][ICN6202 TO LVDS] LINE:0620-->lcd_panel_init:initialization:icn6202 init reg from mipi
            38454 bytes read in 175 ms (213.9 KiB/s)
            [00.716]Item0 (Map) magic is bad
            [00.719]the secure storage item0 copy0 magic is bad
            [00.736]Item0 (Map) magic is bad
            [00.739]the secure storage item0 copy1 magic is bad
            [00.744]Item0 (Map) magic is bad
            [00.747]out of usb burn from boot: not need burn key
            root_partition is rootfs
            set root to /dev/mmcblk0p4
            [00.756]update part info
            [00.759]update bootcmd
            [00.762]change working_fdt 0x5de8fe70 to 0x5de6fe70
            [00.768][mmc]: delete mmc-hs400-1_8v from dtb
            [00.772][mmc]: delete mmc-hs200-1_8v from dtb
            [00.776][mmc]: get max-frequency ok 50000000 Hz
            disable nand error: FDT_ERR_BADPATH
            [00.789]The storage not support sample function
            [00.795]## error: update_fdt_dram_para : FDT_ERR_NOTFOUND
            [00.804]update dts
            Hit any key to stop autoboot:  1 [00.821][ICN6202 TO LVDS] LINE:0203-->lcd_bl_open:
            [00.828]LCD open finish                                                                                                                                                                                                                                                                                                    0
            [01.912]no vendor_boot partition is found
            Android's image name: sun8i_arm
            [01.956]Starting kernel ...
            
            [01.959][mmc]: mmc exit start
            [01.978][mmc]: mmc 2 exit ok
            [    0.000000] Booting Linux on physical CPU 0x0
            [    0.000000] Linux version 4.9.191 (yuzuki@YuzukiKoddo) (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05) ) #8 PREEMPT Thu Jan 12 16:05:54 CST 2023
            [    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
            [    0.000000] CPU: div instructions available: patching division code
            [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
            [    0.000000] OF: fdt:Machine model: sun8iw21
            [    0.000000] ion_mem_reserve: err format for ion reserve list!
            
            1 条回复 最后回复 回复 引用 分享 0
            • N
              NULL037 LV 7 @WhycanService 最后由 编辑

              @whycanservice 那晕哥是不是我们所使用的emmc不支持,我们所使用的江波龙的emmc。
              92ec7a94-6283-4dab-9675-edb13c6abe56-image.png

              N 1 条回复 最后回复 回复 引用 分享 0
              • N
                NULL037 LV 7 @NULL037 最后由 编辑

                @null037
                板子在第一次烧录的时候,可以正常烧录,烧录完成后,自动又重新开始烧录,第二次烧录的时候就会卡在emmc识别错误这里。但如果将电源断掉,重新启动,系统就可以正常启动。只有在烧写时的第二次自动烧录才会出现识别失败的错误。

                N 1 条回复 最后回复 回复 引用 分享 0
                • N
                  NULL037 LV 7 @NULL037 最后由 编辑

                  @null037 问题已经解决,经过测试是emmc的问题,之前使用的江波龙的emmc不支持,现在换成了闪迪的,已经解决了。
                  3352c1eb-46b1-49e8-bc55-00e6ed939fc5-5a04779194eba772af5e642568eaa48.jpg

                  W 2 条回复 最后回复 回复 引用 分享 0
                  • W
                    wl17761275256 LV 5 @NULL037 最后由 编辑

                    此回复已被删除!
                    1 条回复 最后回复 回复 引用 分享 0
                    • W
                      wl17761275256 LV 5 @NULL037 最后由 编辑

                      @null037
                      兄弟,可以帮忙看下我这个问题吗?是不是也是芯片问题呀。这颗EMMC芯片也不在这个手册里面。[allwinner-v853-emmc-flash-support-list_v1.0.pdf]

                      我这个开机打印没有你帖子里面的打印的内容多。

                      https://bbs.aw-ol.com/topic/3487/v853-无法烧录问题-whycan晕哥?_=1683766917546

                      N 1 条回复 最后回复 回复 引用 分享 0
                      • N
                        NULL037 LV 7 @wl17761275256 最后由 编辑

                        @wl17761275256 如果你的EMMC芯片不在手册,那我建议你先自己换成手册上支持的芯片,快速确认是否是EMMC的问题。不然后续的调试时间会很长

                        1 条回复 最后回复 回复 引用 分享 0
                        • 1 / 1
                        • First post
                          Last post

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

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