@msh410278586 已经调通了,can芯片的电压不正常,正常后就没问题了。
M
msh410278586 发布的最佳帖子
msh410278586 发布的最新帖子
-
回复: 求助,T113 tina 如何使用SPI1烧写Nand Flash?
@whycanservice
大佬,现在这算是识别SPI1上的nand flash 并烧写进去了吗?但是现在拔掉卡之后重启,串口 没有打印出来任何东西(HELLO! BOOT0 is starting 都没有打印输出),这个需要涉及到哪里的修改?求指点一下。[145]uart_port : 0 [147]HELLO! BOOT0 is starting,test! [151]BOOT0 commit : adaf1174cc [154]set pll start [156]fix vccio detect value:0xc0 [163]periph0 has been enabled [166]set pll end [168][pmu]: bus read error [170]board init ok [172]ZQ value = 0x30 [174]get_pmu_exist() = -1 [177]ddr_efuse_type: 0xa [179]trefi:7.8ms [182][AUTO DEBUG] single rank and full DQ! [186]ddr_efuse_type: 0xa [189]trefi:7.8ms [191][AUTO DEBUG] rank 0 row = 13 [194][AUTO DEBUG] rank 0 bank = 8 [198][AUTO DEBUG] rank 0 page size = 2 KB [202]DRAM BOOT DRIVE INFO: V0.33 [205]DRAM CLK = 936 MHz [207]DRAM Type = 3 (2:DDR2,3:DDR3) [211]DRAMC read ODT off. [213]DRAM ODT value: 0x42. [216]ddr_efuse_type: 0xa [219]DRAM SIZE =128 M [221]dram_tpr4:0x0 [223]PLL_DDR_CTRL_REG:0xf8004d00 [226]DRAM_CLK_REG:0xc0000000 [229][TIMING DEBUG] MR2= 0x20 [237]DRAM simple test OK. [239]rtc standby flag is 0x0, super standby flag is 0x0 [245]dram size =128 [248]card no is 0 [249]sdcard 0 line count 4 [252][mmc]: mmc driver ver 2021-05-21 14:47 [261][mmc]: Wrong media type 0x0 [264][mmc]: ***Try SD card 0*** [281][mmc]: HSSDR52/SDR25 4 bit [284][mmc]: 50000000 Hz [286][mmc]: 15193 MB [288][mmc]: ***SD/MMC 0 init OK!!!*** [384]Loading boot-pkg Succeed(index=0). [387]Entry_name = u-boot [394]Entry_name = optee [398]Entry_name = dtb [401]mmc not para [403]Jump to second Boot. M/TC: OP-TEE version: e9372c9c-dirty (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05)) #2 Sat Mar 19 11:09:45 UTC 2022 arm U-Boot 2018.05 (Feb 17 2023 - 08:26:51 +0000) Allwinner Technology [00.455]CPU: Allwinner Family [00.457]Model: sun8iw20 [00.460]optee version: major:3 minor:7 [00.463]DRAM: 128 MiB [00.466]Relocation Offset is: 04ebc000 [00.492]secure enable bit: 0 E/TC:0 tee_read_fdt:433 fine node /firmware/optee failed with FDT_ERR_NOTFOUND [00.505]smc_tee_inform_fdt failed with: -65536[00.509]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz [00.515]gic: sec monitor mode [00.517]flash init start [00.520]workmode = 17,storage type = 1 try card 2 set card number 2 get card number 2 [00.528][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00 [00.534][mmc]: Is not Boot mode! [00.537][mmc]: SUNXI SDMMC Controller Version:0x50310 [00.548][mmc]: ************Try SD card 2************ [00.553][mmc]: mmc 2 cmd timeout 100 status 100 [00.557][mmc]: smc 2 err, cmd 8, RTO [00.561][mmc]: mmc 2 close bus gating and reset [00.566][mmc]: mmc 2 cmd timeout 100 status 100 [00.570][mmc]: smc 2 err, cmd 55, RTO [00.573][mmc]: mmc 2 close bus gating and reset [00.578][mmc]: ************Try MMC card 2************ [00.586][mmc]: mmc 2 cmd timeout 100 status 100 [00.591][mmc]: smc 2 err, cmd 1, RTO [00.594][mmc]: mmc 2 close bus gating and reset [00.598][mmc]: Card did not respond to voltage select! [00.603][mmc]: ************SD/MMC 2 init error!************ [00.608][mmc]: mmc init product failed MMC init failed try emmc fail [00.615]Debug :drivers/mtd/awnand/spinand/sunxi-driver.c 504 .spi_node:12780 [00.622]sunxi-spinand: Debug :drivers/mtd/awnand/spinand/sunxi-core.c 383 [00.628]sunxi-spinand: AW SPINand MTD Layer Version: 1.8 20220106 [00.634]sunxi-spinand: Debug :drivers/mtd/awnand/spinand/sunxi-core.c 402 [00.640]sunxi-spinand: Debug :drivers/mtd/awnand/spinand/sunxi-core.c 406 [00.647]sunxi-spinand: Debug :drivers/mtd/awnand/spinand/sunxi-core.c 409 [00.653]sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.11 20211217 [00.661]sunxi-spinand-phy: request spi0 gpio ok [00.666]sunxi-spinand-phy: spi->tx_dma_chan : 1207568756! [00.671]sunxi-spinand-phy: spi->rx_dma_chan : 1207568784! [00.676]sunxi-spinand-phy: request general rx dma channel ok! [00.681]sunxi-spinand-phy: set spic0 clk to 20 Mhz [00.686]sunxi-spinand-phy: init spic0 clk ok sspi->base_addr = 0x4026000, the SPI control register: [VER] 0x4026000 = 0x00010002, [GCR] 0x4026004 = 0x00000083, [TCR] 0x4026008 = 0x00000184 [ICR] 0x4026010 = 0x00000f00, [ISR] 0x4026014 = 0x00000032, [FCR] 0x4026018 = 0x00200020 [FSR] 0x402601c = 0x00000000, [WCR] 0x4026020 = 0x00000000, [CCR] 0x4026024 = 0x00000002 [SDC] 0x4026028 = 0x00002000, [BCR] 0x4026030 = 0x00000000, [TCR] 0x4026034 = 0x00000000 [BCC] 0x4026038 = 0x00000000, [DMA] 0x4026088 = 0x000000e5 [00.731]sunxi-spinand-phy: detect munufacture from id table: GD [00.737]sunxi-spinand-phy: detect spinand id: ffff51c8 ffffffff [00.742]sunxi-spinand-phy: ========== arch info ========== [00.748]sunxi-spinand-phy: Model: GD5F1GQ5UEYIG [00.753]sunxi-spinand-phy: Munufacture: GD [00.758]sunxi-spinand-phy: DieCntPerChip: 1 [00.762]sunxi-spinand-phy: BlkCntPerDie: 1024 [00.767]sunxi-spinand-phy: PageCntPerBlk: 64 [00.771]sunxi-spinand-phy: SectCntPerPage: 4 [00.776]sunxi-spinand-phy: OobSizePerPage: 64 [00.780]sunxi-spinand-phy: BadBlockFlag: 0x0 [00.785]sunxi-spinand-phy: OperationOpt: 0x7 [00.789]sunxi-spinand-phy: MaxEraseTimes: 50000 [00.794]sunxi-spinand-phy: EccFlag: 0x1 [00.799]sunxi-spinand-phy: EccType: 7 [00.803]sunxi-spinand-phy: EccProtectedType: 2 [00.808]sunxi-spinand-phy: ======================================== [00.813]sunxi-spinand-phy: [00.816]sunxi-spinand-phy: ========== physical info ========== [00.822]sunxi-spinand-phy: TotalSize: 128 M [00.826]sunxi-spinand-phy: SectorSize: 512 B [00.830]sunxi-spinand-phy: PageSize: 2 K [00.834]sunxi-spinand-phy: BlockSize: 128 K [00.838]sunxi-spinand-phy: OOBSize: 64 B [00.842]sunxi-spinand-phy: ======================================== [00.848]sunxi-spinand-phy: [00.851]sunxi-spinand-phy: ========== logical info ========== [00.856]sunxi-spinand-phy: TotalSize: 128 M [00.860]sunxi-spinand-phy: SectorSize: 512 B [00.864]sunxi-spinand-phy: PageSize: 4 K [00.868]sunxi-spinand-phy: BlockSize: 256 K [00.873]sunxi-spinand-phy: OOBSize: 128 B [00.877]sunxi-spinand-phy: ======================================== [00.883]sunxi-spinand-phy: GD5F1GQ5UEYIG reset rx bit width to 1 [00.889]sunxi-spinand-phy: GD5F1GQ5UEYIG reset tx bit width to 1 [00.894]sunxi-spinand-phy: set spic0 clk to 100 Mhz [00.899]sunxi-spinand-phy: block lock register: 0x00 [00.904]sunxi-spinand-phy: feature register: 0x11 [00.908]sunxi-spinand-phy: sunxi physic nand init end [00.913]sunxi-spinand: Debug :drivers/mtd/awnand/spinand/sunxi-core.c 414 [00.919]sunxi-spinand: Debug :drivers/mtd/awnand/spinand/sunxi-core.c 422 [00.926]sunxi-spinand: Debug :drivers/mtd/awnand/spinand/sunxi-core.c 427 [00.932]sunxi-spinand: Debug :drivers/mtd/awnand/spinand/sunxi-core.c 432 [00.939]sunxi-spinand: Debug :drivers/mtd/awnand/spinand/sunxi-core.c 443 [00.945][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00 [00.951][mmc]: get sdc_type fail and use default host:tm1. [00.957][mmc]: can't find node "mmc0",will add new node [00.962][mmc]: fdt err returned <no error> [00.965][mmc]: Using default timing para [00.969][mmc]: SUNXI SDMMC Controller Version:0x50310 [00.994][mmc]: card_caps:0x3000000a [00.997][mmc]: host_caps:0x3000003f [01.002]line:703 init_clocks [01.005]init_clocks:finish [01.007]drv_disp_init [01.014]get flash lcd idx 0 request pwm success, pwm7:pwm7:0x2000c00. fdt get node offset faill: hdmi [01.026]HDMI 2.0 driver init start! [01.029]fdt_path_offset hdmi fail [01.032]unable to map hdmi registers [01.035]drv_disp_init finish [01.038]boot_gui_init:start [01.041]set disp.dev2_output_type fail. using defval=0 [01.046]disp 0, clk: pll(364000000),clk(364000000),dclk(52000000) dsi_rate(364000000) clk real:pll(360000000),clk(360000000),dclk(51428571) dsi_rate(0) [01.060]switch device: sel=0, type=1, mode=4, format=0, bits=0, eotf=4, cs=260 [01.068]boot_gui_init:finish [01.071]Loading Environment from SUNXI_FLASH... OK [01.075]try to burn key [01.077]out of usb burn from boot: not need burn key Hit any key to stop autoboot: 0 sunxi work mode=0x11 run card sprite [01.089]try sprite_led_gpio config [01.092]sprite_led_gpio start [01.095]sunxi sprite begin firmware name <NULL> img start = 0x81f8 try to read mmc start 33272 read mmc ok [01.111]firmware probe ok [01.113]fetch download map *************DOWNLOAD MAP DUMP************ total download part 5 download part[0] name :boot-resource download part[0] download file :BOOT-RESOURCE_FE download part[0] verify file :VBOOT-RESOURCE_F download part[0] lenlo :0x1f8 download part[0] addrlo :0x8000 download part[0] encrypt :0x0 download part[0] verify :0x1 download part[1] name :env download part[1] download file :ENV_FEX000000000 download part[1] verify file :VENV_FEX00000000 download part[1] lenlo :0x1f8 download part[1] addrlo :0x81f8 download part[1] encrypt :0x0 download part[1] verify :0x1 download part[2] name :env-redund download part[2] download file :ENV_FEX000000000 download part[2] verify file :VENV_FEX00000000 download part[2] lenlo :0x1f8 download part[2] addrlo :0x83f0 download part[2] encrypt :0x0 download part[2] verify :0x1 download part[3] name :boot download part[3] download file :BOOT_FEX00000000 download part[3] verify file :VBOOT_FEX0000000 download part[3] lenlo :0x248c download part[3] addrlo :0x85e8 download part[3] encrypt :0x0 download part[3] verify :0x1 download part[4] name :rootfs download part[4] download file :ROOTFS_FEX000000 download part[4] verify file :VROOTFS_FEX00000 download part[4] lenlo :0[01.241]LCD open finish x16100 download part[4] addrlo :0xaa74 download part[4] encrypt :0x0 download part[4] verify :0x1 [01.254]fetch mbr 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 :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 :0x81f8 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 :0x83f0 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 :0x85e8 part[3] lenlo :0x248c part[3] user_type :32768 part[3] keydata :0 part[3] ro :0 part[4] name :rootfs part[4] classname :DISK part[4] addrlo :0xaa74 part[4] lenlo :0x16100 part[4] user_type :32768 part[4] keydata :0 part[4] ro :0 part[5] name :private part[5] classname :DISK part[5] addrlo :0x20b74 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 :0x23374 part[6] lenlo :0xb220 part[6] user_type :32768 part[6] keydata :0 part[6] ro :0 part[7] name :UDISK part[7] classname :DISK part[7] addrlo :0x2e594 part[7] lenlo :0x0 part[7] user_type :33024 part[7] keydata :0 part[7] ro :0 *************MBR DUMP*************** total mbr part 8 part[0] name :boot-resource part[0] classname :DISK part[0] addrlo :0x8000 part[0] lenlo :0x1f8 part[0] user_type :0x8000 part[0] keydata :0x0 part[0] ro :0x0 part[1] name :env part[1] classname :DISK part[1] addrlo :0x81f8 part[1] lenlo :0x1f8 part[1] user_type :0x8000 part[1] keydata :0x0 part[1] ro :0x0 part[2] name :env-redund part[2] classname :DISK part[2] addrlo :0x83f0 part[2] lenlo :0x1f8 part[2] user_type :0x8000 part[2] keydata :0x0 part[2] ro :0x0 part[3] name :boot part[3] classname :DISK part[3] addrlo :0x85e8 part[3] lenlo :0x248c part[3] user_type :0x8000 part[3] keydata :0x0 part[3] ro :0x0 part[4] name :rootfs part[4] classname :DISK part[4] addrlo :0xaa74 part[4] lenlo :0x16100 part[4] user_type :0x8000 part[4] keydata :0x0 part[4] ro :0x0 part[5] name :private part[5] classname :DISK part[5] addrlo :0x20b74 part[5] lenlo :0x2800 part[5] user_type :0x8000 part[5] keydata :0x0 part[5] ro :0x0 part[6] name :rootfs_data part[6] classname :DISK part[6] addrlo :0x23374 part[6] lenlo :0xb220 part[6] user_type :0x8000 part[6] keydata :0x0 part[6] ro :0x0 part[7] name :UDISK part[7] classname :DISK part[7] addrlo :0x2e594 part[7] lenlo :0x0 part[7] user_type :0x8100 part[7] keydata :0x0 part[7] ro :0x0 [01.530]begin to erase flash total part: 9 mbr 0, 8000, 8000 boot-resource 1, 1f8, 8000 env 2, 1f8, 8000 env-redund 3, 1f8, 8000 boot 4, 248c, 8000 rootfs 5, 16100, 8000 private 6, 2800, 8000 rootfs_data 7, b220, 8000 UDISK 8, 0, 8100 [01.552]erase blk 0 to blk 32 need erase flash: 1 [01.625]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) [01.675]CONFIG_AW_MTD_SPINAND [01.678]MTD info (4) [01.680]pagesize: 0x1000 [01.682]blksize: 0x40000 [01.684]num offset bytes name [01.688]0 0x00000000 0x00100000 boot0 [01.691]1 0x00100000 0x00300000 uboot [01.695]2 0x00400000 0x00100000 secure_storage [01.699]3 0x00500000 0x07b00000 sys [01.703]ubi attach the last part of mtd device: NO.3 [01.770]ubi0: attaching mtd4 [01.991]ubi0: scanning is finished [02.000]ubi0: attached mtd4 (name "sys", size 123 MiB) [02.004]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes [02.011]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048 [02.017]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 [02.023]ubi0: good PEBs: 492, bad PEBs: 0, corrupted PEBs: 0 [02.029]ubi0: user volume: 9, internal volumes: 1, max. volumes count: 128 [02.035]ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0 [02.043]ubi0: available PEBs: 0, total reserved PEBs: 492, PEBs reserved for bad PEB handling: 20 private part exist [02.060]logical area info: 468 258048 last_lba: 235871 [02.065]CONFIG_AW_MTD_SPINAND [02.068]MTD info (4) [02.070]pagesize: 0x1000 [02.072]blksize: 0x40000 [02.074]num offset bytes name [02.078]0 0x00000000 0x00100000 boot0 [02.081]1 0x00100000 0x00300000 uboot [02.085]2 0x00400000 0x00100000 secure_storage [02.090]3 0x00500000 0x07b00000 sys [02.093]MBR info (unalign): [02.096]partno addr sects type name [02.100]0 0x00000000 0x00008000 0x00000001 mbr [02.105]1 0x00008000 0x000001f8 0x00008000 boot-resource [02.111]2 0x000081f8 0x000001f8 0x00008000 env [02.116]3 0x000083f0 0x000001f8 0x00008000 env-redund [02.121]4 0x000085e8 0x0000248c 0x00008000 boot [02.126]5 0x0000aa74 0x00016100 0x00008000 rootfs [02.131]6 0x00020b74 0x00002800 0x00008000 private [02.136]7 0x00023374 0x0000b220 0x00008000 rootfs_data [02.141]8 0x0002e594 0x0000ad40 0x00008100 UDISK [02.146]ubi attach the last part of mtd device: NO.3 [02.151]MBR info (align): [02.153]partno addr sects type name [02.158]0 0x00002800 0x000081f0 0x00000001 mbr [02.163]1 0x0000a9f0 0x000001f8 0x00008000 boot-resource [02.169]2 0x0000abe8 0x000001f8 0x00008000 env [02.173]3 0x0000ade0 0x000001f8 0x00008000 env-redund [02.179]4 0x0000afd8 0x00002568 0x00008000 boot [02.184]5 0x0000d540 0x00016260 0x00008000 rootfs [02.189]6 0x000237a0 0x00002958 0x00008000 private [02.194]7 0x000260f8 0x0000b328 0x00008000 rootfs_data [02.199]8 0x00031420 0x0000ad40 0x00008100 UDISK GPT:boot-resource: 8000 81f7 GPT:env : 81f8 83ef GPT:env-redund : 83f0 85e7 GPT:boot : 85e8 aa73 GPT:rootfs : aa74 20b73 GPT:private : 20b74 23373 GPT:rootfs_data : 23374 2e593 GPT:UDISK : 2e594 392d3 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: 0x20b74, sectors 0x2800 keypart part private read 0x20b74, sectors 0x2800 part 6 name rootfs_data keydata = 0x0 part 7 name UDISK keydata = 0x0 begin to erase [02.281]erase blk 0 to blk 32 [02.350]erase blk 40 to blk 1024 finish erase rewrite force mbr 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) [04.432]CONFIG_AW_MTD_SPINAND [04.435]MTD info (4) [04.437]pagesize: 0x1000 [04.439]blksize: 0x40000 [04.441]num offset bytes name [04.445]0 0x00000000 0x00100000 boot0 [04.449]1 0x00100000 0x00300000 uboot [04.452]2 0x00400000 0x00100000 secure_storage [04.457]3 0x00500000 0x07b00000 sys [04.460]MBR info (unalign): [04.463]partno addr sects type name [04.467]0 0x00000000 0x00008000 0x00000001 mbr [04.472]1 0x00008000 0x000001f8 0x00008000 boot-resource [04.478]2 0x000081f8 0x000001f8 0x00008000 env [04.483]3 0x000083f0 0x000001f8 0x00008000 env-redund [04.488]4 0x000085e8 0x0000248c 0x00008000 boot [04.493]5 0x0000aa74 0x00016100 0x00008000 rootfs [04.498]6 0x00020b74 0x00002800 0x00008000 private [04.503]7 0x00023374 0x0000b220 0x00008000 rootfs_data [04.508]8 0x0002e594 0x00000000 0x00008100 UDISK [04.513]ubi attach the last part of mtd device: NO.3 [04.518]MBR info (align): [04.520]partno addr sects type name [04.525]0 0x00002800 0x000081f0 0x00000001 mbr [04.530]1 0x0000a9f0 0x000001f8 0x00008000 boot-resource [04.536]2 0x0000abe8 0x000001f8 0x00008000 env [04.540]3 0x0000ade0 0x000001f8 0x00008000 env-redund [04.546]4 0x0000afd8 0x00002568 0x00008000 boot [04.551]5 0x0000d540 0x00016260 0x00008000 rootfs [04.556]6 0x000237a0 0x00002958 0x00008000 private [04.561]7 0x000260f8 0x0000b328 0x00008000 rootfs_data [04.566]8 0x00031420 0x00000000 0x00008100 UDISK [04.571]ubi attach the last part of mtd device: NO.3 [04.576]ubi attatch mtd, name: sys [04.579]ubi0: detaching mtd4 [04.582]ubi0: mtd4 is detached [04.585]ubi0: attaching mtd4 [04.696]ubi0: scanning is finished [04.699]ubi0: empty MTD device detected [04.727]ubi0: attached mtd4 (name "sys", size 123 MiB) [04.732]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes [04.738]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048 [04.744]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 [04.751]ubi0: good PEBs: 492, bad PEBs: 0, corrupted PEBs: 0 [04.756]ubi0: user volume: 0, internal volumes: 1, max. volumes count: 128 [04.763]ubi0: max/mean erase counter: 0/0, WL threshold: 4096, image sequence number: 0 [04.770]ubi0: available PEBs: 468, total reserved PEBs: 24, PEBs reserved for bad PEB handling: 20 Creating static volume mbr of size 17031168 Creating dynamic volume boot-resource of size 258048 Creating dynamic volume env of size 258048 Creating dynamic volume env-redund of size 258048 Creating dynamic volume boot of size 4902912 Creating dynamic volume rootfs of size 46448640 Creating dynamic volume private of size 5419008 Creating dynamic volume rootfs_data of size 23482368 No size specified -> Using max size (22708224) [07.321]reset last volume size to 0xad40 Creating dynamic volume UDISK of size 22708224 [07.377]fill gap start: volume mbr sects 0x7f80 [11.545]fill gap end: volume mbr [11.548]update partition map [11.562]logical area info: 468 258048 last_lba: 235871 keypart write start: 0x20b74, sectors 0x2800 flash exit [11.658]successed in erasing flash force mbr 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) [11.703]CONFIG_AW_MTD_SPINAND [11.705]MTD info (4) [11.707]pagesize: 0x1000 [11.710]blksize: 0x40000 [11.712]num offset bytes name [11.715]0 0x00000000 0x00100000 boot0 [11.719]1 0x00100000 0x00300000 uboot [11.723]2 0x00400000 0x00100000 secure_storage [11.727]3 0x00500000 0x07b00000 sys [11.731]MBR info (unalign): [11.733]partno addr sects type name [11.738]0 0x00000000 0x00008000 0x00000001 mbr [11.743]1 0x00008000 0x000001f8 0x00008000 boot-resource [11.748]2 0x000081f8 0x000001f8 0x00008000 env [11.753]3 0x000083f0 0x000001f8 0x00008000 env-redund [11.758]4 0x000085e8 0x0000248c 0x00008000 boot [11.763]5 0x0000aa74 0x00016100 0x00008000 rootfs [11.768]6 0x00020b74 0x00002800 0x00008000 private [11.773]7 0x00023374 0x0000b220 0x00008000 rootfs_data [11.779]8 0x0002e594 0x0000ad40 0x00008100 UDISK [11.784]ubi attach the last part of mtd device: NO.3 [11.789]MBR info (align): [11.791]partno addr sects type name [11.796]0 0x00002800 0x000081f0 0x00000001 mbr [11.800]1 0x0000a9f0 0x000001f8 0x00008000 boot-resource [11.806]2 0x0000abe8 0x000001f8 0x00008000 env [11.811]3 0x0000ade0 0x000001f8 0x00008000 env-redund [11.816]4 0x0000afd8 0x00002568 0x00008000 boot [11.821]5 0x0000d540 0x00016260 0x00008000 rootfs [11.826]6 0x000237a0 0x00002958 0x00008000 private [11.831]7 0x000260f8 0x0000b328 0x00008000 rootfs_data [11.837]8 0x00031420 0x0000ad40 0x00008100 UDISK [11.842]ubi attach the last part of mtd device: NO.3 [11.846]ubi attatch mtd, name: sys [11.850]ubi0: detaching mtd4 [11.852]ubi0: mtd4 is detached [11.855]ubi0: attaching mtd4 [12.076]ubi0: scanning is finished [12.085]ubi0: attached mtd4 (name "sys", size 123 MiB) [12.090]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes [12.096]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048 [12.102]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 [12.109]ubi0: good PEBs: 492, bad PEBs: 0, corrupted PEBs: 0 [12.114]ubi0: user volume: 9, internal volumes: 1, max. volumes count: 128 [12.121]ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0 [12.128]ubi0: available PEBs: 0, total reserved PEBs: 492, PEBs reserved for bad PEB handling: 20 [12.137]volume mbr existed, not create again [12.141]volume boot-resource existed, not create again [12.146]volume env existed, not create again [12.150]volume env-redund existed, not create again [12.154]volume boot existed, not create again [12.158]volume rootfs existed, not create again [12.163]volume private existed, not create again [12.167]volume rootfs_data existed, not create again [12.172]volume UDISK existed, not create again [12.512]fill gap start: volume mbr sects 0x7f80 [16.679]fill gap end: volume mbr [16.682]update partition map [16.688]begin to download part [16.691]begin to download part boot-resource partdata hi 0x0 partdata lo 0x14000 sparse: bad magic [16.730]successed in writting part boot-resource [16.736]fill gap start: volume boot-resource sects 0x158 [16.838]fill gap end: volume boot-resource origin_verify value = e6f75b5c, active_verify value = e6f75b5c [16.857]successed in verify part boot-resource [16.861]successed in download part boot-resource [16.865]begin to download part env partdata hi 0x0 partdata lo 0x20000 sparse: bad magic [16.906]successed in writting part env [16.911]fill gap start: volume env sects 0xf8 [17.012]fill gap end: volume env origin_verify value = 46811025, active_verify value = 46811025 [17.035]successed in verify part env [17.038]successed in download part env [17.042]begin to download part env-redund partdata hi 0x0 partdata lo 0x20000 sparse: bad magic [17.083]successed in writting part env-redund [17.089]fill gap start: volume env-redund sects 0xf8 [17.190]fill gap end: volume env-redund origin_verify value = 46811025, active_verify value = 46811025 [17.214]successed in verify part env-redund [17.218]successed in download part env-redund [17.222]begin to download part boot partdata hi 0x0 partdata lo 0x43f800 sparse: bad magic [18.675]successed in writting part boot [18.681]fill gap start: volume boot sects 0x290 [18.783]fill gap end: volume boot origin_verify value = 78c1cc8, active_verify value = 78c1cc8 [19.278]successed in verify part boot [19.281]successed in download part boot [19.285]begin to download part rootfs partdata hi 0x0 partdata lo 0xfa0000 sparse: bad magic [24.572]successed in writting part rootfs [24.578]fill gap start: volume rootfs sects 0xe400 [24.880]fill gap end: volume rootfs origin_verify value = a9185c30, active_verify value = a9185c30 [26.678]successed in verify part rootfs [26.681]successed in download part rootfs [26.686]successed in downloading part uboot size = 0x150000 storage type = 0 [26.752]uboot blk range [8-32) [26.755]download uboot to block 8 (11 blocks) len 1344K [27.162]download uboot to block 19 (11 blocks) len 1344K sunxi_sprite_deal_uboot ok [27.573]successed in downloading uboot [27.581]spinand_mtd_get_flash_info get spi-nand node from fdt dram para[0] = 3a8 dram para[1] = 3 dram para[2] = 7b7bfb dram para[3] = 0 dram para[4] = 10d2 dram para[5] = 800000 dram para[6] = 1e14 dram para[7] = 42 dram para[8] = 20 dram para[9] = 0 dram para[10] = 4899d7 dram para[11] = 1c241d0 dram para[12] = a4073 dram para[13] = b4787896 dram para[14] = 0 dram para[15] = 48484848 dram para[16] = 48 dram para[17] = 1620121e dram para[18] = 0 dram para[19] = 0 dram para[20] = 0 dram para[21] = 340000 dram para[22] = 46 dram para[23] = b4006103 dram para[24] = 0 dram para[25] = 0 dram para[26] = 0 dram para[27] = 0 dram para[28] = 0 dram para[29] = 0 dram para[30] = 0 dram para[31] = 0 storage type = 0 [27.646]download boot0 to block 0 len 48K [27.665]download boot0 to block 1 len 48K [27.684]download boot0 to block 2 len 48K [27.704]download boot0 to block 3 len 48K [27.723]download boot0 to block 4 len 48K [27.742]download boot0 to block 5 len 48K [27.761]download boot0 to block 6 len 48K [27.780]download boot0 to block 7 len 48K [27.800]successed in downloading boot0 CARD OK [27.804]sprite success sprite_next_work=3 next work 3 SUNXI_UPDATE_NEXT_ACTION_SHUTDOWN [30.812][mmc]: mmc exit start [30.825][mmc]: mmc 2 cmd timeout 100 status 100 [30.829][mmc]: smc 2 err, cmd 1, RTO [30.832][mmc]: mmc 2 close bus gating and reset [30.837][mmc]: mmc card did not respond to voltage select! [30.842][mmc]: mmc 2 exit failed