导航

    全志在线开发者论坛

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

    F133烧录失败

    MR Series
    2
    13
    4017
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • L
      Lts52341314 LV 5 最后由 编辑

      自已做的F133板子竟然全部不能烧录程序,日志每次都停在这个位置f133_download_.txt ,有没人大神遇到过

      1 条回复 最后回复 回复 引用 分享 0
      • YuzukiTsuru
        柚木 鉉 LV 9 最后由 编辑

        卡在erase了,可以试试lichee/brandy-2.0/driver/sunxi-flash/里的nand烧写部分把erase关闭

        L 2 条回复 最后回复 回复 引用 分享 0
        • L
          Lts52341314 LV 5 @YuzukiTsuru 最后由 编辑

          @yuzukitsuru 试了能跳过erase,但还是卡在后续步骤

          [854]fes begin commit:977af20-dirty
          [857]set pll start
          [859]fix vccio detect value:0xc0
          [862]periph0 has been enabled
          [865]set pll end
          [867][pmu]: bus read error
          [869]board init ok
          [871]beign to init dram
          [873]ZQ value = 0x2f
          [875]get_pmu_exist() = -1
          [878]ddr_efuse_type: 0xa
          [880]trefi:7.8ms
          [882][AUTO DEBUG] single rank and full DQ!
          [886]ddr_efuse_type: 0xa
          [888]trefi:7.8ms
          [890][AUTO DEBUG] rank 0 row = 13 
          [893][AUTO DEBUG] rank 0 bank = 4 
          [897][AUTO DEBUG] rank 0 page size = 2 KB 
          [900]DRAM BOOT DRIVE INFO: V0.33
          [903]DRAM CLK = 528 MHz
          [906]DRAM Type = 2 (2:DDR2,3:DDR3)
          [909]DRAMC read ODT  off.
          [911]DRAM ODT off.
          [913]ddr_efuse_type: 0xa
          [916]DRAM SIZE =64 M
          [918]dram_tpr4:0x0
          [919]PLL_DDR_CTRL_REG:0xf8002b00
          [922]DRAM_CLK_REG:0xc0000000
          [925][TIMING DEBUG] MR2= 0x0
          [930]DRAM simple test OK.
          [932]init dram ok
          
          
          U-Boot 2018.05-ga81c5b4-dirty (Jul 23 2022 - 09:11:34 +0800) Allwinner Technology
          
          [03.886]DRAM:  64 MiB
          [03.891]Relocation Offset is: 01ef1000
          [03.916]secure enable bit: 0
          [03.921]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=300Mhz
          [03.928]flash init start
          [03.930]workmode = 16,storage type = 0
          try card 2
          set card number 2
          get card number 2
          [03.938][mmc]: mmc driver ver uboot2018:2021-11-04 09:52:00
          [03.947][mmc]: get sdc_type fail and use default host:tm4.
          [03.978][mmc]: Is not Boot mode!
          [03.981][mmc]: SUNXI SDMMC Controller Version:0x50310
          [03.992][mmc]: ************Try SD card 2************
          [03.997][mmc]: mmc 2 cmd timeout 100 status 100
          [04.001][mmc]: smc 2 err, cmd 8,  RTO
          [04.005][mmc]: mmc 2 close bus gating and reset
          [04.010][mmc]: mmc 2 cmd timeout 100 status 100
          [04.014][mmc]: smc 2 err, cmd 55,  RTO
          [04.017][mmc]: mmc 2 close bus gating and reset
          [04.022][mmc]: ************Try MMC card 2************
          [04.030][mmc]: mmc 2 cmd timeout 100 status 100
          [04.035][mmc]: smc 2 err, cmd 1,  RTO
          [04.038][mmc]: mmc 2 close bus gating and reset
          [04.042][mmc]: Card did not respond to voltage select!
          [04.047][mmc]: ************SD/MMC 2 init error!************
          [04.052][mmc]: mmc init product failed
          MMC init failed
          try emmc fail
          [04.068]sunxi-spinand: AW SPINand MTD Layer Version: 1.5 20200407
          [04.074]sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.9 20200306
          [04.135]sunxi-spinand-phy: request spi0 gpio ok
          [04.139]sunxi-spinand-phy: request general tx dma channel ok!
          [04.144]sunxi-spinand-phy: request general rx dma channel ok!
          [04.150]sunxi-spinand-phy: set spic0 clk to 20 Mhz
          [04.154]sunxi-spinand-phy: init spic0 clk ok
          sspi->base_addr = 0x4025000, the SPI control register:
          [VER] 0x4025000 = 0x00010001, [GCR] 0x4025004 = 0x00000083, [TCR] 0x4025008 = 0x00000184
          [ICR] 0x4025010 = 0x00000f00, [ISR] 0x4025014 = 0x00000032, [FCR] 0x4025018 = 0x00200020
          [FSR] 0x402501c = 0x00000000, [WCR] 0x4025020 = 0x00000000, [CCR] 0x4025024 = 0x00000002
          [SDC] 0x4025028 = 0x00002000, [BCR] 0x4025030 = 0x00000000, [TCR] 0x4025034 = 0x00000000
          [BCC] 0x4025038 = 0x00000000, [DMA] 0x4025088 = 0x000000e5
          
          [04.200]sunxi-spinand-phy: not detect any munufacture from id table
          [04.215]sunxi-spinand-phy: get spi-nand Model from fdt fail
          [04.221]sunxi-spinand-phy: get phy info from fdt fail
          [04.225]sunxi-spinand-phy: not detect munufacture from fdt
          [04.231]sunxi-spinand-phy: detect munufacture from id table: Mxic
          [04.236]sunxi-spinand-phy: detect spinand id: ffff12c2 ffffffff
          [04.242]sunxi-spinand-phy: ========== arch info ==========
          [04.247]sunxi-spinand-phy: Model:               MX35LF1GE4AB
          [04.253]sunxi-spinand-phy: Munufacture:         Mxic
          [04.257]sunxi-spinand-phy: DieCntPerChip:       1
          [04.262]sunxi-spinand-phy: BlkCntPerDie:        1024
          [04.266]sunxi-spinand-phy: PageCntPerBlk:       64
          [04.271]sunxi-spinand-phy: SectCntPerPage:      4
          [04.275]sunxi-spinand-phy: OobSizePerPage:      64
          [04.280]sunxi-spinand-phy: BadBlockFlag:        0x1
          [04.284]sunxi-spinand-phy: OperationOpt:        0x7
          [04.289]sunxi-spinand-phy: MaxEraseTimes:       65000
          [04.294]sunxi-spinand-phy: EccFlag:             0x2
          [04.298]sunxi-spinand-phy: EccType:             4
          [04.303]sunxi-spinand-phy: EccProtectedType:    3
          [04.307]sunxi-spinand-phy: ========================================
          [04.313]sunxi-spinand-phy: 
          [04.316]sunxi-spinand-phy: ========== physical info ==========
          [04.321]sunxi-spinand-phy: TotalSize:    128 M
          [04.325]sunxi-spinand-phy: SectorSize:   512 B
          [04.329]sunxi-spinand-phy: PageSize:     2 K
          [04.333]sunxi-spinand-phy: BlockSize:    128 K
          [04.338]sunxi-spinand-phy: OOBSize:      64 B
          [04.342]sunxi-spinand-phy: ========================================
          [04.348]sunxi-spinand-phy: 
          [04.350]sunxi-spinand-phy: ========== logical info ==========
          [04.356]sunxi-spinand-phy: TotalSize:    128 M
          [04.360]sunxi-spinand-phy: SectorSize:   512 B
          [04.364]sunxi-spinand-phy: PageSize:     4 K
          [04.368]sunxi-spinand-phy: BlockSize:    256 K
          [04.372]sunxi-spinand-phy: OOBSize:      128 B
          [04.376]sunxi-spinand-phy: ========================================
          [04.392]sunxi-spinand-phy: MX35LF1GE4AB reset rx bit width to 1
          [04.397]sunxi-spinand-phy: MX35LF1GE4AB reset tx bit width to 1
          [04.403]sunxi-spinand-phy: set spic0 clk to 100 Mhz
          [04.408]sunxi-spinand-phy: block lock register: 0x00
          [04.412]sunxi-spinand-phy: feature register: 0x11
          [04.417]sunxi-spinand-phy: sunxi physic nand init end
          [04.427]Loading Environment from SUNXI_FLASH... OK
          [04.440]try to burn key
          [04.443]out of usb burn from boot: not need burn key
          [04.448]Net:   [04.449]No ethernet found.
          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 0xf
          set address 0xf ok
          set address 0x12
          set address 0x12 ok
          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    :0x800
          part[0] lenlo     :0x1f8
          part[0] user_type :32768
          part[0] keydata   :0
          part[0] ro        :0
          
          part[1] name      :env
          part[1] classname :DISK
          part[1] addrlo    :0x9f8
          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    :0xbf0
          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    :0xde8
          part[3] lenlo     :0x5000
          part[3] user_type :32768
          part[3] keydata   :0
          part[3] ro        :0
          
          part[4] name      :rootfs
          part[4] classname :DISK
          part[4] addrlo    :0x5de8
          part[4] lenlo     :0xe600
          part[4] user_type :32768
          part[4] keydata   :0
          part[4] ro        :0
          
          part[5] name      :recovery
          part[5] classname :DISK
          part[5] addrlo    :0x143e8
          part[5] lenlo     :0x5780
          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    :0x19b68
          part[6] lenlo     :0x2800
          part[6] user_type :32768
          part[6] keydata   :0
          part[6] ro        :0
          
          part[7] name      :UDISK
          part[7] classname :DISK
          part[7] addrlo    :0x1c368
          part[7] lenlo     :0x0
          part[7] user_type :0
          part[7] keydata   :0
          part[7] ro        :0
          
          common1(partition3) need it, here is a weak func
          total part: 9
          mbr 0, 800, 8000
          boot-resource 1, 1f8, 8000
          env 2, 1f8, 8000
          env-redund 3, 1f8, 8000
          boot 4, 5000, 8000
          rootfs 5, e600, 8000
          recovery 6, 5780, 8000
          rootfs_data 7, 2800, 8000
          UDISK 8, 0, 0
          need erase flash: 1
          [07.669]mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys)
          
          device nand0 <nand>, # parts = 4
           #: name                size            offset          mask_flags
           0: boot0               0x00100000      0x00000000      1
           1: uboot               0x00300000      0x00100000      1
           2: secure_storage      0x00100000      0x00400000      1
           3: sys                 0x07b00000      0x00500000      0
          
          active partition: nand0,0 - (boot0) 0x00100000 @ 0x00000000
          
          defaults:
          mtdids  : nand0=nand
          mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys)
          [07.729]MTD info (4)
          [07.731]pagesize: 0x1000
          [07.733]blksize: 0x40000
          [07.735]num  offset     bytes      name
          [07.739]0    0x00000000 0x00100000 boot0
          [07.743]1    0x00100000 0x00300000 uboot
          [07.746]2    0x00400000 0x00100000 secure_storage
          [07.751]3    0x00500000 0x07b00000 sys
          [07.754]ubi attach the last part of mtd device: NO.3
          
          
          1 条回复 最后回复 回复 引用 分享 0
          • L
            Lts52341314 LV 5 @YuzukiTsuru 最后由 编辑

            @yuzukitsuru 也许并不是flash部分的问题

            YuzukiTsuru 1 条回复 最后回复 回复 引用 分享 0
            • YuzukiTsuru
              柚木 鉉 LV 9 @Lts52341314 最后由 编辑

              @lts52341314 不是flash部分的问题那是什么部分的问题

              L 3 条回复 最后回复 回复 引用 分享 0
              • L
                Lts52341314 LV 5 @YuzukiTsuru 最后由 编辑

                @yuzukitsuru 不清楚什么原因,感觉像突然就停止运行了,flash的线路检查了很多遍和demo没有区别

                1 条回复 最后回复 回复 引用 分享 0
                • L
                  Lts52341314 LV 5 @YuzukiTsuru 最后由 编辑

                  @yuzukitsuru flash型号能识别

                  1 条回复 最后回复 回复 引用 分享 0
                  • L
                    Lts52341314 LV 5 @YuzukiTsuru 最后由 编辑

                    @yuzukitsuru 将Demo板上已经写好的flash芯片焊过来起动一直重复打印这个日志,一直在重启

                    [204]HELLO! BOOT0 is starting!
                    [207]BOOT0 commit : 977af20-dirty
                    [210]set pll start
                    [212]fix vccio detect value:0xc0
                    [215]periph0 has been enabled
                    [218]set pll end
                    [220][pmu]: bus read error
                    [223]board init ok
                    [224]ZQ value = 0x2f
                    [226]get_pmu_exist() = -1
                    [229]DRAM BOOT DRIVE INFO: V0.33
                    [232]DRAM CLK = 528 MHz
                    [234]DRAM Type = 2 (2:DDR2,3:DDR3)
                    [237]DRAMC read ODT  off.
                    [240]DRAM ODT off.
                    [242]ddr_efuse_type: 0xa
                    [244]DRAM SIZE =64 M
                    [246]dram_tpr4:0x0
                    [248]PLL_DDR_CTRL_REG:0xf8002b00
                    [251]DRAM_CLK_REG:0xc0000000
                    [254][TIMING DEBUG] MR2= 0x0
                    [258]DRAM simple test OK.
                    [261]dram size =64
                    [262]spinand UBOOT_START_BLK_NUM 8 UBOOT_LAST_BLK_NUM 32
                    [268]block from 8 to 32
                    [335]Check is correct.
                    [337]dma 0x30338 int is not used yet
                    [340]dma 0x30338 int is free, you do not need to free it again
                    [345]Entry_name        = opensbi
                    [349]Entry_name        = u-boot
                    [352]Entry_name        = dtb
                    
                    U-Boot 2018.05-ga81c5b4-dirty (Jul 23 2022 - 10:43:54 +0800) Allwinner Technology
                    
                    [00.365]DRAM:  64 MiB
                    [00.367]Relocation Offset is: 01ef1000
                    [00.371]secure enable bit: 0
                    [00.374]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=300Mhz
                    [00.380]flash init start
                    [00.382]workmode = 0,storage type = 0
                    sspi->base_addr = 0x4025000, the SPI control register:
                    [VER] 0x4025000 = 0x00010001, [GCR] 0x4025004 = 0x00000083, [TCR] 0x4025008 = 0x00000184
                    [ICR] 0x4025010 = 0x00000f00, [ISR] 0x4025014 = 0x00000032, [FCR] 0x4025018 = 0x00200020
                    [FSR] 0x402501c = 0x00000000, [WCR] 0x4025020 = 0x00000000, [CCR] 0x4025024 = 0x00000002
                    [SDC] 0x4025028 = 0x00002000, [BCR] 0x4025030 = 0x00000000, [TCR] 0x4025034 = 0x00000000
                    [BCC] 0x4025038 = 0x10000000, [DMA] 0x4025088 = 0x000000e5
                    
                    [00.430]sunxi-spinand-phy: not detect any munufacture from id table
                    [00.436]sunxi-spinand-phy: get spi-nand Model from fdt fail
                    [00.442]sunxi-spinand-phy: get phy info from fdt fail
                    
                    device nand0 <nand>, # parts = 4
                     #: name                size            offset          mask_flags
                     0: boot0               0x00100000      0x00000000      1
                     1: uboot               0x00300000      0x00100000      1
                     2: secure_storage      0x00100000      0x00400000      1
                     3: sys                 0x07b00000      0x00500000      0
                    
                    active partition: nand0,0 - (boot0) 0x00100000 @ 0x00000000
                    
                    defaults:
                    mtdids  : nand0=nand
                    mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys)
                    
                    YuzukiTsuru 1 条回复 最后回复 回复 引用 分享 0
                    • YuzukiTsuru
                      柚木 鉉 LV 9 @Lts52341314 最后由 编辑

                      @lts52341314 感觉有点像最小系统不稳定?死机了

                      L 2 条回复 最后回复 回复 引用 分享 0
                      • L
                        Lts52341314 LV 5 @YuzukiTsuru 最后由 编辑

                        @yuzukitsuru SPI nand有办法降频吗

                        1 条回复 最后回复 回复 引用 分享 0
                        • L
                          Lts52341314 LV 5 @YuzukiTsuru 最后由 编辑

                          @yuzukitsuru 我把flash的线割断重新飞线,效果好了些,擦除没问题了,但到下一步还是卡住。把电源芯片加热后能稳定一段时间,冷了后还是卡住。

                          fes begin commit:977af20-dirty
                          [857]set pll start
                          [859]fix vccio detect value:0xc0
                          [862]periph0 has been enabled
                          [865]set pll end
                          [867][pmu]: bus read error
                          [869]board init ok
                          [871]beign to init dram
                          [873]ZQ value = 0x2f
                          [875]get_pmu_exist() = -1
                          [878]ddr_efuse_type: 0xa
                          [880]trefi:7.8ms
                          [882][AUTO DEBUG] single rank and full DQ!
                          [886]ddr_efuse_type: 0xa
                          [888]trefi:7.8ms
                          [890][AUTO DEBUG] rank 0 row = 13 
                          [893][AUTO DEBUG] rank 0 bank = 4 
                          [897][AUTO DEBUG] rank 0 page size = 2 KB 
                          [900]DRAM BOOT DRIVE INFO: V0.33
                          [903]DRAM CLK = 528 MHz
                          [906]DRAM Type = 2 (2:DDR2,3:DDR3)
                          [909]DRAMC read ODT  off.
                          [911]DRAM ODT off.
                          [913]ddr_efuse_type: 0xa
                          [916]DRAM SIZE =64 M
                          [918]dram_tpr4:0x0
                          [919]PLL_DDR_CTRL_REG:0xf8002b00
                          [922]DRAM_CLK_REG:0xc0000000
                          [925][TIMING DEBUG] MR2= 0x0
                          [929]DRAM simple test OK.
                          [932]init dram ok
                          
                          
                          U-Boot 2018.05-ga81c5b4-dirty (Jul 23 2022 - 13:47:15 +0800) Allwinner Technology
                          
                          [03.929]DRAM:  64 MiB
                          [03.933]Relocation Offset is: 01ef1000
                          [03.958]secure enable bit: 0
                          [03.964]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=300Mhz
                          [03.970]flash init start
                          [03.972]workmode = 16,storage type = 0
                          try card 2
                          set card number 2
                          get card number 2
                          [03.980][mmc]: mmc driver ver uboot2018:2021-11-04 09:52:00
                          [03.989][mmc]: get sdc_type fail and use default host:tm4.
                          [04.020][mmc]: Is not Boot mode!
                          [04.023][mmc]: SUNXI SDMMC Controller Version:0x50310
                          [04.034][mmc]: ************Try SD card 2************
                          [04.039][mmc]: mmc 2 cmd timeout 100 status 100
                          [04.043][mmc]: smc 2 err, cmd 8,  RTO
                          [04.047][mmc]: mmc 2 close bus gating and reset
                          [04.052][mmc]: mmc 2 cmd timeout 100 status 100
                          [04.056][mmc]: smc 2 err, cmd 55,  RTO
                          [04.059][mmc]: mmc 2 close bus gating and reset
                          [04.064][mmc]: ************Try MMC card 2************
                          [04.073][mmc]: mmc 2 cmd timeout 100 status 100
                          [04.077][mmc]: smc 2 err, cmd 1,  RTO
                          [04.080][mmc]: mmc 2 close bus gating and reset
                          [04.084][mmc]: Card did not respond to voltage select!
                          [04.089][mmc]: ************SD/MMC 2 init error!************
                          [04.094][mmc]: mmc init product failed
                          MMC init failed
                          try emmc fail
                          [04.110]sunxi-spinand: AW SPINand MTD Layer Version: 1.5 20200407
                          [04.116]sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.9 20200306
                          [04.177]sunxi-spinand-phy: request spi0 gpio ok
                          [04.181]sunxi-spinand-phy: request general tx dma channel ok!
                          [04.186]sunxi-spinand-phy: request general rx dma channel ok!
                          [04.192]sunxi-spinand-phy: set spic0 clk to 20 Mhz
                          [04.196]sunxi-spinand-phy: init spic0 clk ok
                          sspi->base_addr = 0x4025000, the SPI control register:
                          [VER] 0x4025000 = 0x00010001, [GCR] 0x4025004 = 0x00000083, [TCR] 0x4025008 = 0x00000184
                          [ICR] 0x4025010 = 0x00000f00, [ISR] 0x4025014 = 0x00000032, [FCR] 0x4025018 = 0x00200020
                          [FSR] 0x402501c = 0x00000000, [WCR] 0x4025020 = 0x00000000, [CCR] 0x4025024 = 0x00000002
                          [SDC] 0x4025028 = 0x00002000, [BCR] 0x4025030 = 0x00000000, [TCR] 0x4025034 = 0x00000000
                          [BCC] 0x4025038 = 0x00000000, [DMA] 0x4025088 = 0x000000e5
                          
                          [04.242]sunxi-spinand-phy: not detect any munufacture from id table
                          [04.257]sunxi-spinand-phy: get spi-nand Model from fdt fail
                          [04.262]sunxi-spinand-phy: get phy info from fdt fail
                          [04.267]sunxi-spinand-phy: not detect munufacture from fdt
                          [04.272]sunxi-spinand-phy: detect munufacture from id table: Mxic
                          [04.278]sunxi-spinand-phy: detect spinand id: ffff12c2 ffffffff
                          [04.284]sunxi-spinand-phy: ========== arch info ==========
                          [04.289]sunxi-spinand-phy: Model:               MX35LF1GE4AB
                          [04.294]sunxi-spinand-phy: Munufacture:         Mxic
                          [04.299]sunxi-spinand-phy: DieCntPerChip:       1
                          [04.303]sunxi-spinand-phy: BlkCntPerDie:        1024
                          [04.308]sunxi-spinand-phy: PageCntPerBlk:       64
                          [04.313]sunxi-spinand-phy: SectCntPerPage:      4
                          [04.317]sunxi-spinand-phy: OobSizePerPage:      64
                          [04.322]sunxi-spinand-phy: BadBlockFlag:        0x1
                          [04.326]sunxi-spinand-phy: OperationOpt:        0x7
                          [04.331]sunxi-spinand-phy: MaxEraseTimes:       65000
                          [04.336]sunxi-spinand-phy: EccFlag:             0x2
                          [04.340]sunxi-spinand-phy: EccType:             4
                          [04.345]sunxi-spinand-phy: EccProtectedType:    3
                          [04.349]sunxi-spinand-phy: ========================================
                          [04.355]sunxi-spinand-phy: 
                          [04.357]sunxi-spinand-phy: ========== physical info ==========
                          [04.363]sunxi-spinand-phy: TotalSize:    128 M
                          [04.367]sunxi-spinand-phy: SectorSize:   512 B
                          [04.371]sunxi-spinand-phy: PageSize:     2 K
                          [04.375]sunxi-spinand-phy: BlockSize:    128 K
                          [04.379]sunxi-spinand-phy: OOBSize:      64 B
                          [04.384]sunxi-spinand-phy: ========================================
                          [04.390]sunxi-spinand-phy: 
                          [04.392]sunxi-spinand-phy: ========== logical info ==========
                          [04.398]sunxi-spinand-phy: TotalSize:    128 M
                          [04.402]sunxi-spinand-phy: SectorSize:   512 B
                          [04.406]sunxi-spinand-phy: PageSize:     4 K
                          [04.410]sunxi-spinand-phy: BlockSize:    256 K
                          [04.414]sunxi-spinand-phy: OOBSize:      128 B
                          [04.418]sunxi-spinand-phy: ========================================
                          [04.434]sunxi-spinand-phy: MX35LF1GE4AB reset rx bit width to 1
                          [04.439]sunxi-spinand-phy: MX35LF1GE4AB reset tx bit width to 1
                          [04.445]sunxi-spinand-phy: set spic0 clk to 100 Mhz
                          [04.449]sunxi-spinand-phy: block lock register: 0x00
                          [04.454]sunxi-spinand-phy: feature register: 0x11
                          [04.459]sunxi-spinand-phy: sunxi physic nand init end
                          [04.468]Loading Environment from SUNXI_FLASH... OK
                          [04.481]try to burn key
                          [04.485]out of usb burn from boot: not need burn key
                          [04.490]Net:   [04.491]No ethernet found.
                          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
                          set address 0x14
                          set address 0x14 ok
                          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    :0x800
                          part[0] lenlo     :0x1f8
                          part[0] user_type :32768
                          part[0] keydata   :0
                          part[0] ro        :0
                          
                          part[1] name      :env
                          part[1] classname :DISK
                          part[1] addrlo    :0x9f8
                          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    :0xbf0
                          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    :0xde8
                          part[3] lenlo     :0x5000
                          part[3] user_type :32768
                          part[3] keydata   :0
                          part[3] ro        :0
                          
                          part[4] name      :rootfs
                          part[4] classname :DISK
                          part[4] addrlo    :0x5de8
                          part[4] lenlo     :0xe600
                          part[4] user_type :32768
                          part[4] keydata   :0
                          part[4] ro        :0
                          
                          part[5] name      :recovery
                          part[5] classname :DISK
                          part[5] addrlo    :0x143e8
                          part[5] lenlo     :0x5780
                          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    :0x19b68
                          part[6] lenlo     :0x2800
                          part[6] user_type :32768
                          part[6] keydata   :0
                          part[6] ro        :0
                          
                          part[7] name      :UDISK
                          part[7] classname :DISK
                          part[7] addrlo    :0x1c368
                          part[7] lenlo     :0x0
                          part[7] user_type :0
                          part[7] keydata   :0
                          part[7] ro        :0
                          
                          common1(partition3) need it, here is a weak func
                          total part: 9
                          mbr 0, 800, 8000
                          boot-resource 1, 1f8, 8000
                          env 2, 1f8, 8000
                          env-redund 3, 1f8, 8000
                          boot 4, 5000, 8000
                          rootfs 5, e600, 8000
                          recovery 6, 5780, 8000
                          rootfs_data 7, 2800, 8000
                          UDISK 8, 0, 0
                          [07.696]erase blk 0 to blk 32
                          [07.711]blk 20 is bad, skip to erase
                          need erase flash: 1
                          [07.724]mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys)
                          
                          device nand0 <nand>, # parts = 4
                           #: name                size            offset          mask_flags
                           0: boot0               0x00100000      0x00000000      1
                           1: uboot               0x00300000      0x00100000      1
                           2: secure_storage      0x00100000      0x00400000      1
                           3: sys                 0x07b00000      0x00500000      0
                          
                          active partition: nand0,0 - (boot0) 0x00100000 @ 0x00000000
                          
                          defaults:
                          mtdids  : nand0=nand
                          mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys)
                          [07.784]MTD info (4)
                          [07.786]pagesize: 0x1000
                          [07.788]blksize: 0x40000
                          [07.790]num  offset     bytes      name
                          [07.794]0    0x00000000 0x00100000 boot0
                          [07.797]1    0x00100000 0x00300000 uboot
                          [07.801]2    0x00400000 0x00100000 secure_storage
                          [07.805]3    0x00500000 0x07b00000 sys
                          [07.809]ubi attach the last part of mtd device: NO.3
                          [07.996]ubi0: attaching mtd4
                          
                          YuzukiTsuru 1 条回复 最后回复 回复 引用 分享 0
                          • YuzukiTsuru
                            柚木 鉉 LV 9 @Lts52341314 最后由 编辑

                            @lts52341314 估计还是硬件设计上有问题,也有可能芯片有问题,换一颗芯片试试看

                            L 1 条回复 最后回复 回复 引用 分享 0
                            • L
                              Lts52341314 LV 5 @YuzukiTsuru 最后由 编辑

                              @yuzukitsuru 是硬件问题,刚把未波器表笔调到X10再打到24M OSC_IN居然下载程序成功了

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

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

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