导航

    全志在线开发者论坛

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

    damifan110LV 5

    @damifan110

    1040
    积分
    0
    声望
    1
    资料浏览
    23
    帖子
    0
    粉丝
    0
    关注
    注册时间 最后登录

    damifan110 取消关注 关注

    damifan110 发布的最新帖子

    • 回复: ubuntu20.04使用LiveSuit下载失败闪退问题

      @copper 我我现在还没搞懂是T113的问题还是软件的问题,你说T113的问题吧,在windows上可与烧录,你说软件的问题吧,群用用我这个包安装之后也可以烧录……我自己也换了几个版本的系统了,都是同样的问题

      发布在 代码下载问题专区
      D
      damifan110
    • 回复: ubuntu20.04使用LiveSuit下载失败闪退问题

      @whycan 最开始用的18.04,当时是可以用的,后来某些原因做了系统,然后又做回18.04就不行了,然后我安装了20.04也不行了。

      在这次不行之前在windows上也出现过下载失败,无论如何也下载不上,后来用量产工具下载成功以后才又可以下载

      就是这个工具了e6d74e13-6397-4434-9d00-3ea361f9d14e-image.png

      当时报的错误好像是分配内存错误 好像是给private分配SRAM错误

      发布在 代码下载问题专区
      D
      damifan110
    • 回复: ubuntu20.04使用LiveSuit下载失败闪退问题

      @whycan 真的是很头疼啊,曾经好用过,重新做了系统,无论如何都不行了,不知道是抽了什么风啊……

      发布在 代码下载问题专区
      D
      damifan110
    • 回复: ubuntu20.04使用LiveSuit下载失败闪退问题

      @whycan 在 ubuntu20.04使用LiveSuit下载失败闪退问题 中说:

      能看出来我这个是烧录工具问题还是 T113的问题吗?

      发布在 代码下载问题专区
      D
      damifan110
    • 回复: ubuntu20.04使用LiveSuit下载失败闪退问题

      哪位大哥指点指点吧,不要看一眼就走啊……帮帮忙吧

      发布在 代码下载问题专区
      D
      damifan110
    • ubuntu20.04使用LiveSuit下载失败闪退问题

      ubuntu20.04(ubuntu18.04也进行了测试)LiveSuitV3.06版本进行T113的烧录时,闪退。详情如下

      使用SOC 为T113
      使用存储为 EMMC

      windows烧录正常,可以使用

      a8f5a437-175a-4418-93a6-abfef09bcfb6-图片.png
      上图选择格式化

      421134d5-52a2-4e27-9b6e-bafbc451bd99-图片.png
      上图开始下载,下载至96%时出现问题,闪退。

      LiveSuit log如下

      IMAGEWTY
      ItemTableSize = 1048576
      [TL_MSG]:Tools Open Img
      
      ---fun end---
      --------------entry-fel2fes Called-----------
      felDevName	/dev/aw_efex4
      [TL_MSG]:Hi, I'm fel, dev=/dev/aw_efex4
      
      [TL_MSG]:To down and Run fes1-1
      
      [TL_MSG]:fes1 down addr = 0x28000, retAddr =0x28340
      
      [TL_MSG]:tlFelDev.FelRun finish
      
      [TL_MSG]:hasRetLog finish
      
      [TL_MSG]:Tools_Buffer finish
      
      [TL_FEX]:fel UP addr=0x28340, len=136
      
      [TL_MSG]:SYS_PARA_LOG read = 0x4d415244
      
      [TL_MSG]:dram paras[0]: 0x39c
      
      [TL_MSG]:dram paras[1]: 0x3
      
      [TL_MSG]:dram paras[2]: 0x7b7bfb
      
      [TL_MSG]:dram paras[3]: 0x0
      
      [TL_MSG]:dram paras[4]: 0x10d2
      
      [TL_MSG]:dram paras[5]: 0x800000
      
      [TL_MSG]:dram paras[6]: 0x1e14
      
      [TL_MSG]:dram paras[7]: 0x42
      
      [TL_MSG]:dram paras[8]: 0x20
      
      [TL_MSG]:dram paras[9]: 0x0
      
      [TL_MSG]:dram paras[10]: 0x4899d7
      
      [TL_MSG]:dram paras[11]: 0x1c239d0
      
      [TL_MSG]:dram paras[12]: 0xa2071
      
      [TL_MSG]:dram paras[13]: 0xb4787896
      
      [TL_MSG]:dram paras[14]: 0x0
      
      [TL_MSG]:dram paras[15]: 0x48484848
      
      [TL_MSG]:dram paras[16]: 0x48
      
      [TL_MSG]:dram paras[17]: 0x1620121e
      
      [TL_MSG]:dram paras[18]: 0x0
      
      [TL_MSG]:dram paras[19]: 0x0
      
      [TL_MSG]:dram paras[20]: 0x0
      
      [TL_MSG]:dram paras[21]: 0x340000
      
      [TL_MSG]:dram paras[22]: 0x46
      
      [TL_MSG]:dram paras[23]: 0x34006103
      
      [TL_MSG]:dram paras[24]: 0x0
      
      [TL_MSG]:dram paras[25]: 0x0
      
      [TL_MSG]:dram paras[26]: 0x0
      
      [TL_MSG]:dram paras[27]: 0x0
      
      [TL_MSG]:dram paras[28]: 0x0
      
      [TL_MSG]:dram paras[29]: 0x0
      
      [TL_MSG]:dram paras[30]: 0x0
      
      [TL_MSG]:dram paras[31]: 0x0
      
      [TL_MSG]:for tlFelDev.FelUpData finish
      
      [TL_MSG]:To down and Run uboot
      
      [TL_MSG]:u-boot down addr = 0x43000000
      
      [TL_MSG]:workmode = 0x10
      
      [TL_MSG]:dtb down addr = 0x43200000
      
      [TL_MSG]:sysconfig down addr = 0x43300000
      
      ---fun end---
      Fel Thread Finished!
      Dev Plugout The Device Path is: /dev/aw_efex4
      Dev Plugout The Device Path is: /dev/aw_efex4
      Dev Plugin The Device Path is: /dev/aw_efex4
      --------------entry fes_thread Called---------
      portId	0
      fesDevName	/dev/aw_efex4
      hubId	0
      DeviceId	1
      [TL_MSG]:enter FES--/dev/aw_efex4
      
      [TL_MSG]:Verify: media crc = 0
      
      [TL_MSG]:save item to mem :(12345678,1234567890___MBR) realLen(65536)
      
      ./buffer.cpp, pBuffer = 0x7fd6c4012084, nLen = 16380, crc32 = 4134314412[TL_MSG]:name = boot-resource, keydata = 0
      
      [TL_MSG]:name = env, keydata = 0
      
      [TL_MSG]:name = env-redund, keydata = 0
      
      [TL_MSG]:name = boot, keydata = 0
      
      [TL_MSG]:name = rootfs, keydata = 0
      
      [TL_MSG]:name = private, keydata = 0
      
      [TL_MSG]:name = rootfs_data, keydata = 0
      
      [TL_MSG]:name = UDISK, keydata = 0
      
      [TL_MSG]:name = , keydata = 0
      
      [TL_MSG]:Verify: media crc = 0
      
      [TL_MSG]:down mbr success!!!
      
      [TL_MSG]:storge type is 2 (0:nand 1-2:card 3:spinor)
      
      [TL_MSG]:dl file :save item to mem :(12345678,1234567890DLINFO) realLen(16384)
      
      ./buffer.cpp, pBuffer = 0x7fd6c461a974, nLen = 16380, crc32 = 2550867671[TL_MSG]:------------dlmap dump--------------
      
      [TL_MSG]:crc32     = 0x980b26d7
      
      [TL_MSG]:version   = 0x200
      
      [TL_MSG]:magic     = softw411
      
      [TL_MSG]:part_cnt  = 5
      
      [TL_MSG]:flash size is : 15269888 Sectors
      
      [TL_MSG]:name = boot-resource addrhi=0x0 addrlo = 0x8000  lenhi = 0x0 lenlo = 0x34e  file = BOOT-RESOURCE_FE, en=0,vf=1
      
      [TL_MSG]:sparseFlag:false
      
      [TL_MSG]:need verify:1,VBOOT-RESOURCE_F
      
      [TL_FEX]:8000, 14000
      
      [TL_MSG]:Verify:start = 8000 ,size = 14000 ,pc_crc = e6f75b5c, media crc = e6f75b5c
      
      [TL_MSG]:name = env addrhi=0x0 addrlo = 0x834e  lenhi = 0x0 lenlo = 0x1f8  file = ENV_FEX000000000, en=0,vf=1
      
      [TL_MSG]:sparseFlag:false
      
      [TL_MSG]:need verify:1,VENV_FEX00000000
      
      [TL_FEX]:834e, 20000
      
      [TL_MSG]:Verify:start = 834e ,size = 20000 ,pc_crc = adc89266, media crc = adc89266
      
      [TL_MSG]:name = env-redund addrhi=0x0 addrlo = 0x8546  lenhi = 0x0 lenlo = 0x1f8  file = ENV_FEX000000000, en=0,vf=1
      
      [TL_MSG]:sparseFlag:false
      
      [TL_MSG]:need verify:1,VENV_FEX00000000
      
      [TL_FEX]:8546, 20000
      
      [TL_MSG]:Verify:start = 8546 ,size = 20000 ,pc_crc = adc89266, media crc = adc89266
      
      [TL_MSG]:name = boot addrhi=0x0 addrlo = 0x873e  lenhi = 0x0 lenlo = 0x2000  file = BOOT_FEX00000000, en=0,vf=1
      
      [TL_MSG]:sparseFlag:false
      
      [TL_MSG]:need verify:1,VBOOT_FEX0000000
      
      [TL_FEX]:873e, 3c2800
      
      [TL_MSG]:Verify:start = 873e ,size = 3c2800 ,pc_crc = 3ebdcad9, media crc = 3ebdcad9
      
      [TL_MSG]:name = rootfs addrhi=0x0 addrlo = 0xa73e  lenhi = 0x0 lenlo = 0xf000  file = ROOTFS_FEX000000, en=0,vf=1
      
      [TL_MSG]:sparseFlag:false
      
      [TL_MSG]:need verify:1,VROOTFS_FEX00000
      
      free(): invalid pointer
      ./LiveSuit.sh:行 19:  9255 已放弃               (核心已转储) LD_LIBRARY_PATH=${TOP_DIR}/${BIN_DIR}/ ${BIN_DIR}/${APP}
      

      至此时,T113的EMMC已经被格式化,但系统烧录失败

      以下为T113烧录时串口输出的log

      [4445]fes begin commit:88480af-dirty
      [4449]set pll start
      [4455]periph0 has been enabled
      [4458]set pll end
      [4459][pmu]: bus read error
      [4462]board init ok
      [4464]beign to init dram
      [4466]ZQ value = 0x2f
      [4468]get_pmu_exist() = -1
      [4471]ddr_efuse_type: 0xa
      [4473]trefi:7.8ms
      [4476][AUTO DEBUG] single rank and full DQ!
      [4480]ddr_efuse_type: 0xa
      [4482]trefi:7.8ms
      [4485][AUTO DEBUG] rank 0 row = 13                                              
      [4488][AUTO DEBUG] rank 0 bank = 8                                              
      [4492][AUTO DEBUG] rank 0 page size = 2 KB                                      
      [4496]DRAM BOOT DRIVE INFO: V0.33                                               
      [4499]DRAM CLK = 924 MHz                                                        
      [4501]DRAM Type = 3 (2:DDR2,3:DDR3)                                             
      [4504]DRAMC read ODT  off.                                                      
      [4507]DRAM ODT value: 0x42.                                                     
      [4510]ddr_efuse_type: 0xa                                                       
      [4513]DRAM SIZE =128 M                                                          
      [4515]dram_tpr4:0x0                                                             
      [4517]PLL_DDR_CTRL_REG:0xf8004c00                                               
      [4520]DRAM_CLK_REG:0xc0000000                                                   
      [4523][TIMING DEBUG] MR2= 0x20                                                  
      [4527]DRAM simple test OK.                                                      
      [4529]rtc standby flag is 0x0, super standby flag is 0x0                        
      [4535]init dram ok                                                              
                                                                                      
                                                                                      
      U-Boot 2018.07-ge987def5-dirty (May 25 2023 - 18:38:27 +0800) Allwinner Technoly
                                                                                      
      [06.874]CPU:   Allwinner Family                                                 
      [06.877]Model: sun8iw20                                                         
      I2C:   FDT ERROR:fdt_set_all_pin:[twi0]-->FDT_ERR_BADPATH                       
      FDT ERROR:fdt_set_all_pin:[twi1]-->FDT_ERR_BADPATH                              
      ready                                                                           
      [06.898]DRAM:  128 MiB                                                          
      [06.901]Relocation Offset is: 04eba000                                          
      [06.927]secure enable bit: 0                                                    
      [06.930]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=300Mhz         
      [06.936]gic: normal mode                                                        
      sunxi flash map init                                                            
      [06.941]flash init start                                                        
      [06.943]workmode = 16,storage type = 0                                          
      try card 2                                                                      
      set card number 2                                                               
      get card number 2                                                               
      [06.951][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00                     
      [06.957][mmc]: Is not Boot mode!                                                
      [06.960][mmc]: SUNXI SDMMC Controller Version:0x50310                           
      [06.971][mmc]: ************Try SD card 2************                            
      [06.977][mmc]: mmc 2 cmd timeout 100 status 100                                 
      [06.981][mmc]: smc 2 err, cmd 8,  RTO                                           
      [06.984][mmc]: mmc 2 close bus gating and reset                                 
      [06.989][mmc]: mmc 2 cmd timeout 100 status 100                                 
      [06.993][mmc]: smc 2 err, cmd 55,  RTO                                          
      [06.997][mmc]: mmc 2 close bus gating and reset                                 
      [07.001][mmc]: ************Try MMC card 2************                           
      [07.025][mmc]: mmc 2 cmd timeout 100 status 100                                 
      [07.029][mmc]: smc 2 err, cmd 8,  RTO                                           
      [07.032][mmc]: mmc 2 close bus gating and reset                                 
      [07.037][mmc]: mmc 2 cmd timeout 100 status 100                                 
      [07.042][mmc]: smc 2 err, cmd 55,  RTO                                          
      [07.045][mmc]: mmc 2 close bus gating and reset                                 
      [07.061][mmc]: gen_tuning_blk_bus8: total blk 10                                
      [07.066][mmc]: gen_tuning_blk_bus4: total blk 6                                 
      [07.070][mmc]: Using 4 bit tuning now                                           
      [07.074][mmc]: write_tuning_try_freq: write ok                                  
      [07.078][mmc]: Pattern compare ok                                               
      [07.081][mmc]: Write tuning pattern ok                                          
      [07.085][mmc]: ================== HSSDR52_SDR25...                              
      [07.089][mmc]: skip freq 400000                                                 
      [07.092][mmc]: skip freq 25000000                                               
      [07.095][mmc]: freq: 2-50000000-64-4                                            
      [07.377][mmc]: [0-63|64]                                                        
      [07.379][mmc]: ================== HSDDR52_DDR50...                              
      [07.383][mmc]: skip freq 400000                                                 
      [07.386][mmc]: freq: 1-25000000-64-4                                            
      [07.616][mmc]: freq: 2-50000000-64-4                                            
      [07.781][mmc]: [0-50|51]                                                        
      [07.783][mmc]: [0-45|46]                                                        
      [07.786][mmc]: DS26/SDR12: 0xffffffff 0xffffffff                                
      [07.790][mmc]: HSSDR52/SDR25: 0xff20ffff 0xffffffff                             
      [07.794][mmc]: HSDDR52/DDR50: 0xff1719ff 0xffffffff                             
      [07.799][mmc]: HS200/SDR104: 0xffffffff 0xffffffff                              
      [07.803][mmc]: HS400: 0xffffffff 0xffffffff                                     
      [07.807][mmc]: HS400: 0xffffffff 0xffffffff                                     
      [07.811][mmc]: Best spd md: 2-HSDDR52/DDR50, freq: 2-50000000, Bus width: 4     
      [07.818]line:703 init_clocks                                                    
      [07.821]init_clocks:finish                                                      
      [07.823]Loading Environment from SUNXI_FLASH... OK                              
      [07.828]try to burn key                                                         
      [07.830]out of usb burn from boot: not need burn key                            
      Hit any key to stop autoboot:  0                                                
      sunxi work mode=0x10                                                            
      run usb efex                                                                    
      buf queue page size = 65536                                                     
      delay time 2500                                                                 
      weak:otg_phy_config                                                             
      usb init ok                                                                     
      set address 0xd                                                                 
      set address 0xd ok                                                              
      SUNXI_EFEX_ERASE_TAG                                                            
      erase_flag = 0x1                                                                
      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 8                                                                
                                                                                      
      part[0] name      :boot-resource                                                
      part[0] classname :DISK                                                         
      part[0] addrlo    :0x8000                                                       
      part[0] lenlo     :0x34e                                                        
      part[0] user_type :32768                                                        
      part[0] keydata   :0                                                            
      part[0] ro        :0                                                            
                                                                                      
      part[1] name      :env                                                          
      part[1] classname :DISK                                                         
      part[1] addrlo    :0x834e                                                       
      part[1] lenlo     :0x1f8                                                        
      part[1] user_type :32768                                                        
      part[1] keydata   :0                                                            
      part[1] ro        :0                                                            
                                                                                      
      part[2] name      :env-redund                                                   
      part[2] classname :DISK                                                         
      part[2] addrlo    :0x8546                                                       
      part[2] lenlo     :0x1f8                                                        
      part[2] user_type :32768                                                        
      part[2] keydata   :0                                                            
      part[2] ro        :0                                                            
                                                                                      
      part[3] name      :boot                                                         
      part[3] classname :DISK                                                         
      part[3] addrlo    :0x873e                                                       
      part[3] lenlo     :0x2000                                                       
      part[3] user_type :32768                                                        
      part[3] keydata   :0                                                            
      part[3] ro        :0                                                            
                                                                                      
      part[4] name      :rootfs                                                       
      part[4] classname :DISK                                                         
      part[4] addrlo    :0xa73e                                                       
      part[4] lenlo     :0xf000                                                       
      part[4] user_type :32768                                                        
      part[4] keydata   :0                                                            
      part[4] ro        :0                                                            
                                                                                      
      part[5] name      :private                                                      
      part[5] classname :DISK                                                         
      part[5] addrlo    :0x1973e                                                      
      part[5] lenlo     :0x2800                                                       
      part[5] user_type :32768                                                        
      part[5] keydata   :0                                                            
      part[5] ro        :0                                                            
                                                                                      
      part[6] name      :rootfs_data                                                  
      part[6] classname :DISK                                                         
      part[6] addrlo    :0x1bf3e                                                      
      part[6] lenlo     :0x200000                                                     
      part[6] user_type :32768                                                        
      part[6] keydata   :0                                                            
      part[6] ro        :0                                                            
                                                                                      
      part[7] name      :UDISK                                                        
      part[7] classname :DISK                                                         
      part[7] addrlo    :0x21bf3e                                                     
      part[7] lenlo     :0x0                                                          
      part[7] user_type :32768                                                        
      part[7] keydata   :0                                                            
      part[7] ro        :0                                                            
                                                                                      
      total part: 9                                                                   
      mbr 0, 8000, 8000                                                               
      boot-resource 1, 34e, 8000                                                      
      env 2, 1f8, 8000                                                                
      env-redund 3, 1f8, 8000                                                         
      boot 4, 2000, 8000                                                              
      rootfs 5, f000, 8000                                                            
      private 6, 2800, 8000                                                           
      rootfs_data 7, 200000, 8000                                                     
      UDISK 8, 0, 8000                                                                
      [11.296]erase all part start                                                    
      need erase flash: 1                                                             
      [11.301]read item0 copy0                                                        
      [11.314]Item0 (Map) magic is bad                                                
      [11.317]the secure storage item0 copy0 magic is bad                             
      [11.333]Item0 (Map) magic is bad                                                
      [11.336]the secure storage item0 copy1 magic is bad                             
      [11.340]Item0 (Map) magic is bad                                                
      [11.343]the secure storage map is empty                                         
      [11.347]no item name set-active-boot-slot in the map                            
      erase secure storage failed                                                     
      [11.354]sunxi_secure_storage_exit err: secure storage has not been inited       
      private part exist                                                              
      GPT:boot-resource: 12000         1234d                                          
      GPT:env         : 1234e         12545                                           
      GPT:env-redund  : 12546         1273d                                           
      GPT:boot        : 1273e         1473d                                           
      GPT:rootfs      : 1473e         2373d                                           
      GPT:private     : 2373e         25f3d                                           
      GPT:rootfs_data : 25f3e         225f3d                                          
      GPT:UDISK       : 225f3e        e8ffde                                          
      begin to store data                                                             
      part 0 name boot-resource                                                       
      keydata = 0x0                                                                   
      part 1 name env                                                                 
      keydata = 0x0                                                                   
      part 2 name env-redund                                                          
      keydata = 0x0                                                                   
      part 3 name boot                                                                
      keydata = 0x0                                                                   
      part 4 name rootfs                                                              
      keydata = 0x0                                                                   
      part 5 name private                                                             
      keydata = 0x0                                                                   
      find keypart private                                                            
      keypart read start: 0x1973e, sectors 0x2800                                     
      keypart part private read  0x1973e, sectors 0x2800                              
      part 6 name rootfs_data                                                         
      keydata = 0x0                                                                   
      part 7 name UDISK                                                               
      keydata = 0x0                                                                   
      begin to erase                                                                  
      [11.557]erase all part start                                                    
      card2 erase boot0                                                               
      erase env part                                                                  
      [11.567][mmc]: after adjust nr, no more space need to erase!!                   
      [11.573][mmc]: after align erase group, no space need to erase, erase failed    
      [11.580][mmc]: mmc_mmc_erase: erase emmc fail!                                  
      [11.584][mmc]: mmc_mmc_erase: some sectors in emmc are ignored!                 
      [11.589][mmc]: --0: from74574  nr504                                            
      erase env-redund part                                                           
      [11.604][mmc]: after adjust start addr, no more space need to erase!!           
      [11.610][mmc]: Erase addr is not erase group alignment!                         
      [11.615][mmc]: erase failed, range 75776 - 76280                                
      [11.619][mmc]: mmc_mmc_erase: erase emmc fail!                                  
      [11.623][mmc]: mmc_mmc_erase: some sectors in emmc are ignored!                 
      [11.629][mmc]: --0: from75078  nr504                                            
      erase boot part                                                                 
      [11.643][mmc]: erase from: 75776, to: 82943, cnt: 7168, erase_group: 1024       
      [11.652][mmc]: sunxi_mmc_do_send_cmd_common: cmd 38 wait rsp busy 0x3 ms        
      [11.658][mmc]: mmc_mmc_erase: some sectors in emmc are ignored!                 
      [11.664][mmc]: --0: from75582  nr194                                            
      [11.667][mmc]: --1: from82944  nr830                                            
      erase rootfs part                                                               
      [11.689][mmc]: erase from: 83968, to: 144383, cnt: 60416, erase_group: 1024     
      [11.700][mmc]: sunxi_mmc_do_send_cmd_common: cmd 38 wait rsp busy 0x4 ms        
      [11.706][mmc]: mmc_mmc_erase: some sectors in emmc are ignored!                 
      [11.712][mmc]: --0: from83774  nr194                                            
      [11.715][mmc]: --1: from144384  nr830                                           
      erase private part                                                              
      [11.737][mmc]: erase from: 145408, to: 154623, cnt: 9216, erase_group: 1024     
      [11.746][mmc]: sunxi_mmc_do_send_cmd_common: cmd 38 wait rsp busy 0x2 ms        
      [11.753][mmc]: mmc_mmc_erase: some sectors in emmc are ignored!                 
      [11.758][mmc]: --0: from145214  nr194                                           
      [11.762][mmc]: --1: from154624  nr830                                           
      erase rootfs_data part                                                          
      [11.784][mmc]: erase from: 155648, to: 2251775, cnt: 2096128, erase_group: 1024 
      [11.795][mmc]: sunxi_mmc_do_send_cmd_common: cmd 38 wait rsp busy 0x4 ms        
      [11.801][mmc]: mmc_mmc_erase: some sectors in emmc are ignored!                 
      [11.807][mmc]: --0: from155454  nr194                                           
      [11.810][mmc]: --1: from2251776  nr830                                          
      erase UDISK part                                                                
      sunxi_sprite_mmc_phyerase: @nr is 0, erase from @from to end                    
      [11.838][mmc]: erase from: 2252800, to: 15268863, cnt: 13016064, erase_group: 14
      [11.862][mmc]: sunxi_mmc_do_send_cmd_common: cmd 38 wait rsp busy 0x11 ms       
      [11.868][mmc]: mmc_mmc_erase: some sectors in emmc are ignored!                 
      [11.874][mmc]: --0: from2252606  nr194                                          
      [11.877][mmc]: --1: from15268864  nr1023                                        
      card erase all                                                                  
      finish erase                                                                    
      rewrite                                                                         
      write primary GPT success                                                       
      write Backup GPT success                                                        
      [11.914]update partition map                                                    
      keypart write start: 0x1973e, sectors 0x2800                                    
      flash exit                                                                      
      SUNXI_EFEX_MBR_TAG                                                              
      mbr size = 0x10000                                                              
      write primary GPT success                                                       
      write Backup GPT success                                                        
      [12.084]update partition map                                                    
      FEX_CMD_fes_verify_status                                                       
      FEX_CMD_fes_verify last err=0                                                   
      ******Has init                                                                  
      flash sectors: 0xe90000                                                         
      FEX_CMD_fes_verify_value, start 0x8000, size high 0x0:low 0x14000               
      FEX_CMD_fes_verify_value 0xe6f75b5c                                             
      FEX_CMD_fes_verify_value, start 0x834e, size high 0x0:low 0x20000               
      FEX_CMD_fes_verify_value 0xadc89266                                             
      FEX_CMD_fes_verify_value, start 0x8546, size high 0x0:low 0x20000               
      FEX_CMD_fes_verify_value 0xadc89266                                             
      FEX_CMD_fes_verify_value, start 0x873e, size high 0x0:low 0x3c2800              
      FEX_CMD_fes_verify_value 0x3ebdcad9   
      
      发布在 代码下载问题专区
      D
      damifan110
    • 回复: 修改System init为procd-init后启动卡死

      @chengwei_peng inittab文件内容如下:

      ::sysinit:/etc/init.d/rcS S boot
      ::shutdown:/etc/init.d/rcS K shutdown
      ::askconsole:/bin/ash --login
      
      发布在 Linux
      D
      damifan110
    • 回复: 修改System init为procd-init后启动卡死

      @chengwei_peng 请教一下 ,您说的sbin/init是在target/allwinner/generice/base-files目录下的吗?目前这个目录下的init文件内容如下

      #!/bin/sh
      # Copyright (C) 2006 OpenWrt.org
      export INITRAMFS=1
      
      if [ -x /rdinit ];then
        exec /rdinit
      else
        exec /sbin/init
      fi
      
      发布在 Linux
      D
      damifan110
    • 回复: 修改System init为procd-init后启动卡死

      @damifan110 哪位了解原因还请指点一下,多谢多谢

      发布在 Linux
      D
      damifan110
    • 修改System init为procd-init后启动卡死

      CPU为T113-s3
      系统为d1s最新版的tina+补丁

      板子为自制板,没有wifi以及蓝牙

      完整启动日志,最后卡在 Trying to connect to SWUpdate...

      U-Boot 2018.07-ge987def5-dirty (Dec 31 2022 - 14:39:41 +0000) Allwinner Technology
      
      [00.298]CPU:   Allwinner Family
      [00.301]Model: sun8iw20
      I2C:   FDT ERROR:fdt_set_all_pin:[twi0]-->FDT_ERR_BADPATH
      FDT ERROR:fdt_set_all_pin:[twi1]-->FDT_ERR_BADPATH
      ready
      [00.322]DRAM:  128 MiB
      [00.325]Relocation Offset is: 04eff000
      [00.344]secure enable bit: 0
      [00.347]smc_tee_inform_fdt failed with: ffff000a
      [00.352]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=300Mhz
      [00.358]gic: sec monitor mode
      sunxi flash map init
      [00.363]flash init start
      [00.365]workmode = 0,storage type = 2
      [00.369][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00
      [00.375][mmc]: SUNXI SDMMC Controller Version:0x50310
      [00.400][mmc]: Best spd md: 2-HSDDR52/DDR50, freq: 2-50000000, Bus width: 4
      [00.407]sunxi flash init ok
      [00.412]Loading Environment from SUNXI_FLASH... OK
      [00.437]Item0 (Map) magic is bad
      [00.440]the secure storage item0 copy0 magic is bad
      [00.455]Item0 (Map) magic is bad
      [00.458]the secure storage item0 copy1 magic is bad
      [00.463]Item0 (Map) magic is bad
      secure storage read widevine fail
      [00.469]secure storage read widevine fail with:-1
      secure storage read ec_key fail
      [00.476]secure storage read ec_key fail with:-1
      secure storage read ec_cert1 fail
      [00.483]secure storage read ec_cert1 fail with:-1
      secure storage read ec_cert2 fail
      [00.491]secure storage read ec_cert2 fail with:-1
      secure storage read ec_cert3 fail
      [00.498]secure storage read ec_cert3 fail with:-1
      secure storage read rsa_key fail
      [00.505]secure storage read rsa_key fail with:-1
      secure storage read rsa_cert1 fail
      [00.513]secure storage read rsa_cert1 fail with:-1
      secure storage read rsa_cert2 fail
      [00.521]secure storage read rsa_cert2 fail with:-1
      secure storage read rsa_cert3 fail
      [00.528]secure storage read rsa_cert3 fail with:-1
      [00.533]out of usb burn from boot: not need burn key
      root_partition is rootfs
      set root to /dev/mmcblk0p5
      [00.542]update part info
      [00.545]update bootcmd
      [00.548]change working_fdt 0x43ebee70 to 0x43e9ee70
      [00.553][mmc]: no mmc-hs400-1_8v!
      [00.556][mmc]: delete mmc-hs200-1_8v from dtb
      [00.560][mmc]: get max-frequency ok 50000000 Hz
      disable nand error: FDT_ERR_BADPATH
      [00.577]update dts
      Hit any key to stop autoboot:  0 
      [01.670]no vendor_boot partition is found
      Android's image name: t113-hmi
      [01.681]Starting kernel ...
      
      [01.684][mmc]: mmc exit start
      [01.703][mmc]: mmc 2 exit ok
      [    0.000000] Booting Linux on physical CPU 0x0
      [    0.000000] Linux version 5.4.61 (ubuntu@ubuntu) (arm-openwrt-linux-muslgnueabi-gcc.bin (OpenWrt/Linaro GCC 6.4-2017.11 2017-11) 6.4.1, GNU ld (GNU Binutils) 2.27) #20 SMP PREEMPT Sat Dec 31 21:53:19 UTC 2022
      [    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: sun8iw20
      [    0.000000] printk: bootconsole [earlycon0] enabled
      [    0.000000] Memory policy: Data cache writealloc
      [    0.000000] cma: Reserved 8 MiB at 0x47800000
      [    0.000000] On node 0 totalpages: 32768
      [    0.000000]   Normal zone: 256 pages used for memmap
      [    0.000000]   Normal zone: 0 pages reserved
      [    0.000000]   Normal zone: 32768 pages, LIFO batch:7
      [    0.000000] psci: probing for conduit method from DT.
      [    0.000000] psci: PSCIv1.0 detected in firmware.
      [    0.000000] psci: Using standard PSCI v0.2 function IDs
      [    0.000000] psci: MIGRATE_INFO_TYPE not supported.
      [    0.000000] psci: SMC Calling Convention v1.0
      [    0.000000] percpu: Embedded 15 pages/cpu s30348 r8192 d22900 u61440
      [    0.000000] pcpu-alloc: s30348 r8192 d22900 u61440 alloc=15*4096
      [    0.000000] pcpu-alloc: [0] 0 [0] 1 
      [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32512
      [    0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500400 clk_ignore_unused initcall_debug=0 console=ttyS1,115200 loglevel=8 root=/dev/mmcblk0p5 init=/sbin/init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:private@mmcblk0p6:rootfs_data@mmcblk0p7:UDISK@mmcblk0p8 cma=8M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun8iw20p1 boot_type=2 androidboot.boot_type=2 gpt=1 uboot_message=2018.07-ge987def5-dirty(12/31/2022-14:39:41) androidboot.dramsize=128 
      [    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
      [    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
      [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
      [    0.000000] Memory: 109620K/131072K available (6144K kernel code, 280K rwdata, 1500K rodata, 1024K init, 1165K bss, 13260K reserved, 8192K cma-reserved)
      [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
      [    0.000000] rcu: Preemptible hierarchical RCU implementation.
      [    0.000000] 	Tasks RCU enabled.
      [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
      [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
      [    0.000000] random: get_random_bytes called from start_kernel+0x264/0x3e8 with crng_init=0
      [    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
      [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
      [    0.000005] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
      [    0.008016] Switching to timer-based delay loop, resolution 41ns
      [    0.014181] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
      [    0.023872] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
      [    0.034220] pid_max: default: 32768 minimum: 301
      [    0.038962] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
      [    0.046294] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
      [    0.054612] CPU: Testing write buffer coherency: ok
      [    0.059806] /cpus/cpu@0 missing clock-frequency property
      [    0.065141] /cpus/cpu@1 missing clock-frequency property
      [    0.070479] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
      [    0.076631] Setting up static identity map for 0x40100000 - 0x40100060
      [    0.083279] rcu: Hierarchical SRCU implementation.
      [    0.088485] smp: Bringing up secondary CPUs ...
      [    0.094093] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
      [    0.094213] smp: Brought up 1 node, 2 CPUs
      [    0.104007] SMP: Total of 2 processors activated (96.00 BogoMIPS).
      [    0.110176] CPU: All CPU(s) started in SVC mode.
      [    0.115251] devtmpfs: initialized
      [    0.129279] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
      [    0.137375] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
      [    0.147238] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
      [    0.154457] pinctrl core: initialized pinctrl subsystem
      [    0.160615] NET: Registered protocol family 16
      [    0.166485] DMA: preallocated 256 KiB pool for atomic coherent allocations
      [    0.201423] rtc_ccu: sunxi ccu init OK
      [    0.207417] ccu: sunxi ccu init OK
      [    0.211215] r_ccu: sunxi ccu init OK
      [    0.232056] sun6i-dma 3002000.dma-controller: sunxi dma probed
      [    0.239587] iommu: Default domain type: Translated 
      [    0.244610] sunxi iommu: irq = 24
      [    0.248825] SCSI subsystem initialized
      [    0.252791] usbcore: registered new interface driver usbfs
      [    0.258350] usbcore: registered new interface driver hub
      [    0.263755] usbcore: registered new device driver usb
      [    0.269596] Advanced Linux Sound Architecture Driver Initialized.
      [    0.276439] Bluetooth: Core ver 2.22
      [    0.280077] NET: Registered protocol family 31
      [    0.284523] Bluetooth: HCI device and connection manager initialized
      [    0.290931] Bluetooth: HCI socket layer initialized
      [    0.295822] Bluetooth: L2CAP socket layer initialized
      [    0.300899] Bluetooth: SCO socket layer initialized
      [    0.306037] pwm module init!
      [    0.310070] g2d 5410000.g2d: Adding to iommu group 0
      [    0.315384] G2D: rcq version initialized.major:252
      [    0.320900] clocksource: Switched to clocksource arch_sys_counter
      [    0.335338] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver
      [    0.344649] NET: Registered protocol family 2
      [    0.349549] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
      [    0.357964] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
      [    0.365654] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
      [    0.372715] TCP: Hash tables configured (established 1024 bind 1024)
      [    0.379158] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
      [    0.385749] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
      [    0.392909] NET: Registered protocol family 1
      [    0.399366] workingset: timestamp_bits=30 max_order=15 bucket_order=0
      [    0.410637] squashfs: version 4.0 (2009/01/31) Phillip Lougher
      [    0.416637] ntfs: driver 2.1.32 [Flags: R/W].
      [    0.448665] io scheduler mq-deadline registered
      [    0.453220] io scheduler kyber registered
      [    0.458227] [DISP]disp_module_init
      [    0.462199] disp 5000000.disp: Adding to iommu group 0
      [    0.467848] [DISP] parser_disp_init_para,line:1430:
      [    0.467851] of_property_read fb0_width fail
      [    0.493262] display_fb_request,fb_id:0
      [    0.500097] [DISP] Fb_copy_boot_fb,line:1445:
      [    0.500101] no boot_fb0
      [    0.507355] disp_al_manager_apply ouput_type:0
      [    0.511172] [DISP]disp_module_init finish
      [    0.512363] [DISP] lcd_clk_config,line:774:
      [    0.512374] disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000)
      [    0.512374]      clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000)
      [    0.516810] sunxi_sid_init()783 - insmod ok
      [    0.541865] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator
      [    0.552160] uart uart1: uart1 supply uart not found, using dummy regulator
      [    0.559250] uart1: ttyS1 at MMIO 0x2500400 (irq = 34, base_baud = 1500000) is a SUNXI
      [    0.567119] sw_console_setup()1807 - console setup baud 115200 parity n bits 8, flow n
      򞮮571438] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator
      [    0.584884] printk: console [ttyS1] enabled
      [    0.584884] printk: console [ttyS1] enabled
      [    0.593773] printk: bootconsole [earlycon0] disabled
      [    0.593773] printk: bootconsole [earlycon0] disabled
      [    0.604992] uart uart3: uart3 supply uart not found, using dummy regulator
      [    0.612974] uart3: ttyS3 at MMIO 0x2500c00 (irq = 35, base_baud = 1500000) is a SUNXI
      [    0.622533] misc dump reg init
      [    0.627106] [ADDR_MGT] addr_mgt_probe: module version: v1.0.11
      [    0.634325] [ADDR_MGT] addr_mgt_probe: success.
      [    0.639694] dma-buf: Running sanitycheck
      [    0.644133] dma-buf: Running dma_fence
      [    0.648335] sizeof(dma_fence)=48
      [    0.652067] dma-buf: Running dma_fence/sanitycheck
      [    0.657449] dma-buf: Running dma_fence/test_signaling
      [    0.663133] dma-buf: Running dma_fence/test_add_callback
      [    0.669090] dma-buf: Running dma_fence/test_late_add_callback
      [    0.675544] dma-buf: Running dma_fence/test_rm_callback
      [    0.681415] dma-buf: Running dma_fence/test_late_rm_callback
      [    0.687762] dma-buf: Running dma_fence/test_status
      [    0.693150] dma-buf: Running dma_fence/test_error
      [    0.698424] dma-buf: Running dma_fence/test_wait
      [    0.703614] dma-buf: Running dma_fence/test_wait_timeout
      [    0.740911] dma-buf: Running dma_fence/test_stub
      [    0.746107] dma-buf: Running dma_fence/race_signal_callback
      [    0.820904] thread_signal_callback[0] completed 36130 passes, 145 misses
      [    0.828460] thread_signal_callback[1] completed 36115 passes, 131 misses
      [    0.871085] [DISP] disp_device_attached_and_enable,line:233:
      [    0.871091] attached ok, mgr0<-->dev0
      [    0.890906] [DISP] disp_device_attached_and_enable,line:236:
      [    0.890914] type:1,mode:0,fmt:rgb,bits:8bits,eotf:4,cs:0 dvi_hdmi:2, range:2 scan:0 ratio:8
      [    0.910909] thread_signal_callback[0] completed 30781 passes, 30780 misses
      [    0.918646] thread_signal_callback[1] completed 42488 passes, 42486 misses
      [    0.926917] libphy: Fixed MDIO Bus: probed
      [    0.932313] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator
      [    0.943780] gmac-power0: NULL
      [    0.947108] gmac-power1: NULL
      [    0.950432] gmac-power2: NULL
      [    0.954827] Failed to alloc md5
      [    0.958384] eth0: Use random mac address
      [    0.963073] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
      [    0.970395] sunxi-ehci: EHCI SUNXI driver
      [    0.975416] get ehci1-controller wakeup-source is fail.
      [    0.981396] sunxi ehci1-controller don't init wakeup source
      [    0.987653] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xc0b61928, 0x:c8835000, irq_no:3c
      [    0.999704] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator
      [    1.012220] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator
      [    1.024434] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller
      [    1.031709] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1
      [    1.041723] sunxi-ehci 4200000.ehci1-controller: irq 60, io mem 0x04200000
      [    1.070919] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00
      [    1.078734] sunxi-ehci 4200000.ehci1-controller: ehci_irq: highspeed device connect
      [    1.088169] hub 1-0:1.0: USB hub found
      [    1.092447] hub 1-0:1.0: 1 port detected
      [    1.097388] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
      [    1.104398] sunxi-ohci: OHCI SUNXI driver
      [    1.109367] get ohci1-controller wakeup-source is fail.
      [    1.115364] sunxi ohci1-controller don't init wakeup source
      [    1.121651] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xc0b61bb8
      [    1.131349] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator
      [    1.143854] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator
      [    1.156055] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller
      [    1.163342] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2
      [    1.173304] sunxi-ohci 4200400.ohci1-controller: irq 61, io mem 0x04200400
      [    1.255714] hub 2-0:1.0: USB hub found
      [    1.259960] hub 2-0:1.0: 1 port detected
      [    1.265161] usbcore: registered new interface driver uas
      [    1.271258] usbcore: registered new interface driver usb-storage
      [    1.278025] usbcore: registered new interface driver ums-alauda
      [    1.284724] usbcore: registered new interface driver ums-cypress
      [    1.291516] usbcore: registered new interface driver ums-datafab
      [    1.298295] usbcore: registered new interface driver ums-freecom
      [    1.305078] usbcore: registered new interface driver ums-jumpshot
      [    1.311959] usbcore: registered new interface driver ums-karma
      [    1.318543] usbcore: registered new interface driver ums-onetouch
      [    1.325432] usbcore: registered new interface driver ums-sddr09
      [    1.332128] usbcore: registered new interface driver ums-sddr55
      [    1.338915] i2c /dev entries driver
      [    1.342925] sunxi cedar version 1.1
      [    1.347066] sunxi-cedar 1c0e000.ve: Adding to iommu group 0
      [    1.353403] VE: sunxi_cedar_probe power-domain init!!!
      [    1.359170] VE: install start!!!
      [    1.359170] 
      [    1.364715] VE: cedar-ve the get irq is 41
      [    1.364715] 
      [    1.371204] VE: ve_debug_proc_info:(ptrval), data:(ptrval), lock:(ptrval)
      [    1.371204] 
      [    1.380496] VE: install end!!!
      [    1.380496] 
      [    1.385600] VE: sunxi_cedar_probe
      [    1.389574] Bluetooth: HCI UART driver ver 2.3
      [    1.394577] Bluetooth: HCI UART protocol H4 registered
      [    1.400353] Bluetooth: HCI UART protocol BCSP registered
      [    1.406579] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10
      [    1.414668] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator
      [    1.425939] sunxi-mmc 4022000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.25 2022-6-21 13:40)
      [    1.435800] sunxi-mmc 4022000.sdmmc: ***ctl-spec-caps*** 308
      [    1.442210] sunxi-mmc 4022000.sdmmc: No vmmc regulator found
      [    1.448558] sunxi-mmc 4022000.sdmmc: No vqmmc regulator found
      [    1.455018] sunxi-mmc 4022000.sdmmc: No vdmmc regulator found
      [    1.461517] usb 1-1: new high-speed USB device number 2 using sunxi-ehci
      [    1.469088] sunxi-mmc 4022000.sdmmc: No vd33sw regulator found
      [    1.475700] sunxi-mmc 4022000.sdmmc: No vd18sw regulator found
      [    1.482259] sunxi-mmc 4022000.sdmmc: No vq33sw regulator found
      [    1.488807] sunxi-mmc 4022000.sdmmc: No vq18sw regulator found
      [    1.495378] sunxi-mmc 4022000.sdmmc: Cann't get pin bias hs pinstate,check if needed
      [    1.504819] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.528576] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.552833] sunxi-mmc 4022000.sdmmc: detmode:alway in(non removable)
      [    1.559990] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.572729] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.25 2022-6-21 13:40)
      [    1.574655] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.582603] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8
      [    1.595399] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.600221] sunxi-mmc 4020000.sdmmc: No vmmc regulator found
      [    1.618139] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found
      [    1.624645] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found
      [    1.631122] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found
      [    1.637665] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found
      [    1.637924] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.644229] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found
      [    1.655917] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.662413] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found
      [    1.676987] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.692691] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.703906] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator
      [    1.707449] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.724105] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.735521] sunxi-mmc 4022000.sdmmc: avoid to switch power_off_notification to POWERED_ON(0x01)
      [    1.745547] sunxi-mmc 4022000.sdmmc: avoid to switch power_off_notification to POWERED_ON(0x01)
      [    1.745780] usb-storage 1-1:1.0: USB Mass Storage device detected
      [    1.755345] sunxi-mmc 4022000.sdmmc: avoid to switch power_off_notification to POWERED_ON(0x01)
      [    1.762207] sunxi-mmc 4020000.sdmmc: detmode:alway in(non removable)
      [    1.771979] sunxi-mmc 4022000.sdmmc: avoid to switch power_off_notification to POWERED_ON(0x01)
      [    1.779205] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.789264] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing MMC-HS(SDR20) dt B
      [    1.801599] sunxi_led_probe()1749 - start
      [    1.812589] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing MMC-HS(SDR20) dt B
      [    1.816786] sunxi_get_str_of_property()1595 - failed to get the string of propname led_regulator!
      [    1.828697] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing MMC-HS(SDR20) dt B
      [    1.838429] scsi host0: usb-storage 1-1:1.0
      [    1.850330] sunxi_register_led_classdev()1483 - led_classdev start
      [    1.854924] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.861902] sunxi-mmc 4020000.sdmmc: smc 1 p0 err, cmd 8, RTO !!
      [    1.873549] sunxi-mmc 4020000.sdmmc: smc 1 p0 err, cmd 55, RTO !!
      [    1.880310] sunxi-mmc 4020000.sdmmc: smc 1 p0 err, cmd 55, RTO !!
      [    1.887169] sunxi-mmc 4020000.sdmmc: smc 1 p0 err, cmd 55, RTO !!
      [    1.894035] sunxi-mmc 4020000.sdmmc: smc 1 p0 err, cmd 55, RTO !!
      [    1.894063] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
      [    1.901020] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing MMC-DDR52 dt B
      [    1.908773] sunxi_led_probe()1845 - finish
      [    1.919104] mmc0: new DDR MMC card at address 0001
      [    1.930517] exFAT: Version 1.3.0
      [    1.935877] mmcblk0: mmc0:0001 8GTF4R 7.28 GiB 
      [    1.942319] [AUDIOCODEC][sunxi_codec_parse_params][2437]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1
      [    1.942319] 
      [    1.944157] mmcblk0rpmb: mmc0:0001 8GTF4R partition 3 512 KiB, chardev (248:0)
      [    1.948955] [AUDIOCODEC][sunxi_codec_parse_params][2473]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0
      [    1.949415] [AUDIOCODEC][sunxi_internal_codec_probe][2634]:codec probe finished
      [    1.975793]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8
      [    1.986233] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present!
      [    2.008227] [SNDCODEC][sunxi_card_init][583]:card init finished
      [    2.015367] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok
      [    2.026259] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0
      [    2.038209] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished
      [    2.046603] NET: Registered protocol family 10
      [    2.051637] [SNDCODEC][sunxi_hs_init_work][259]:resume-->report switch
      [    2.059998] Segment Routing with IPv6
      [    2.064258] NET: Registered protocol family 17
      [    2.069406] Bluetooth: RFCOMM TTY layer initialized
      [    2.074930] Bluetooth: RFCOMM socket layer initialized
      [    2.080721] Bluetooth: RFCOMM ver 1.11
      [    2.085493] Registering SWP/SWPB emulation handler
      [    2.106198] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator
      [    2.118715] get ehci0-controller wakeup-source is fail.
      [    2.124742] sunxi ehci0-controller don't init wakeup source
      [    2.131016] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xc0b61408, 0x:c88b2000, irq_no:3a
      [    2.143032] [sunxi-ehci0]: Not init ehci0
      [    2.147860] get ohci0-controller wakeup-source is fail.
      [    2.153830] sunxi ohci0-controller don't init wakeup source
      [    2.160088] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xc0b61698
      [    2.169766] [sunxi-ohci0]: Not init ohci0
      [    2.174971] otg manager soc@3000000:usbc0@0: soc@3000000:usbc0@0 supply usbc not found, using dummy regulator
      [    2.188408] clk: Not disabling unused clocks
      [    2.193382] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
      [    2.203093] cfg80211: failed to load regulatory.db
      [    2.203106] ALSA device list:
      [    2.211827]   #0: audiocodec
      [    2.215063] alloc_fd: slot 0 not NULL!
      [    2.225896] EXT4-fs (mmcblk0p5): mounted filesystem without journal. Opts: (null)
      [    2.234407] VFS: Mounted root (ext4 filesystem) readonly on device 179:5.
      [    2.242654] devtmpfs: mounted
      [    2.247876] Freeing unused kernel memory: 1024K
      [    2.271059] Run /sbin/init as init process
      [    2.302564] init: Console is alive
      [    2.306613] init: - preinit -
      /etc/preinit: line 1: strings: not found
      /etc/preinit: line 1: head: not found
      formating /dev/by-name/UDISK to ext4
      mke2fs 1.46.4 (18-Aug-2021)
      [    2.451713] random: fast init done
      Discarding device blocks:                [    2.490794] random: mkfs.ext4: uninitialized urandom read (1done                            
      [    2.499600] random: mkfs.ext4: uninitialized urandom read (16 bytes read)
      Creating filesystem with 1360510 4k blocks and 340704 inodes
      Filesystem UUID: c259e7de-c4a4-4f64-bfb2-3d0cfdbfa846
      Superblock backups stored on blocks: 
      	32768, 98304, 163840, 229376, 294912, 819200, 884736
      
      Allocating group tables: done                            
      Writing inode tables: done                            
      Creating journal (16384 blocks): [    2.953302] scsi 0:0:0:0: Direct-Access     Kingston DataTraveler 2.0 1.00 PQ: 0 ANSI: 4
      [    2.964012] sd 0:0:0:0: [sda] 15131636 512-byte logical blocks: (7.75 GB/7.21 GiB)
      [    2.973256] sd 0:0:0:0: [sda] Write Protect is off
      [    2.978638] sd 0:0:0:0: [sda] Mode Sense: 45 00 00 00
      [    2.984990] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
      [    3.048896]  sda: sda4
      [    3.054875] sd 0:0:0:0: [sda] Attached SCSI removable disk
      [    3.322800] random: procd: uninitialized urandom read (4 bytes read)
      done
      Writing superblocks and filesystem accounting information: done 
      
      formating /dev/by-name/rootfs_data to ext4
      mke2fs 1.46.4 (18-Aug-2021)
      Discarding device blocks:              [    4.141111] random: mkfs.ext4: uninitialized urandom read (16 bydone                            
      [    4.149398] random: mkfs.ext4: uninitialized urandom read (16 bytes read)
      Creating filesystem with 524288 4k blocks and 131072 inodes
      Filesystem UUID: 2704ad51-f026-4685-b7be-698c3b123cc2
      Superblock backups stored on blocks: 
      	32768, 98304, 163840, 229376, 294912
      
      Allocating group tables: done                            
      Writing inode tables: done                            
      Creating journal (16384 blocks): done
      Writing superblocks and filesystem accounting information: done 
      
      [    5.688940] mount_root: mounting /dev/root
      [    5.693870] EXT4-fs (mmcblk0p5): re-mounted. Opts: (null)
      [    5.700096] mount_root: loading kmods from internal overlay
      [    5.762620] block: attempting to load /etc/config/fstab
      [    5.771258] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator
      e2fsck 1.46.4 (18-Aug-2021)
      /dev/by-name/UDISK: clean, 11/340704 files, 43096/1360510 blocks
      [    5.803736] EXT4-fs (mmcblk0p8): mounted filesystem with ordered data mode. Opts: 
      [    5.819708] mount_root: switched to extroot
      [    5.830584] procd: - early -
      [    5.843791] random: procd: uninitialized urandom read (4 bytes read)
      [    5.919511] procd: - ubus -
      [    5.923211] procd (1): /proc/138/oom_adj is deprecated, please use /proc/138/oom_score_adj instead.
      [    5.930277] random: ubusd: uninitialized urandom read (4 bytes read)
      [    5.974527] random: ubusd: uninitialized urandom read (4 bytes read)
      [    5.982937] procd: - init -
      [    6.154072] file system registered
      [    6.173352] configfs-gadget 4100000.udc-controller: failed to start g1: -19
      [    6.197754] ======== XRADIO WIFI OPEN ========
      [    6.205864] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31   
      [    6.213276] [XRADIO] Allocated hw_priv @ (ptrval)
      [    6.253085] read descriptors
      [    6.256364] read strings
      [    6.330325] [XRADIO] Detect SDIO card 0
      [    6.500490] android_work: sent uevent USB_STATE=CONNECTED
      [    8.471062] [XRADIO] Remove SDIO card 0
      [    8.485369] [SBUS_ERR] sdio probe timeout!
      [    8.489960] [XRADIO_ERR] sbus_sdio_init failed
      [    8.495265] xradio_core_init failed (-110)!
      kmodloader done
      Trying to connect to SWUpdate...
      [   32.530937] usb1-vbus: disabling
      [   36.665366] configfs-gadget gadget: high-speed config #1: c
      [   36.671783] android_work: sent uevent USB_STATE=CONFIGURED
      [   36.678039] android_work: sent uevent USB_STATE=DISCONNECTED
      [   36.684489] android_work: sent uevent USB_STATE=CONNECTED
      [  123.771071] random: crng init done
      [  123.774895] random: 2 urandom warning(s) missed due to ratelimiting
      
      
      

      参考网上文档,修改如下内容

      21d7b970-6b06-4bb6-bfa6-c68291cdcaf0-image.png

      e93c26c6-43f9-4fd4-b7cc-55e469a01445-image.png

      866462f5-6efe-4aa1-9710-3e72444ef15e-image.png

      发布在 Linux
      D
      damifan110