请问 PhoenixCard 烧卡软件的 【量产卡】与 【启动卡】菜单有什么区别呢?
-
-
这个应该是以前平板时代留下来的产物。
总所周知,全志以前是做平板起家的。
做平板的时候,因为板子上本来就有emmc,量产卡就是把卡插进去,固件会自己烧到emmc上,然后再把量产卡拔出来,再启动的时候就用emmc上的固件启动,这张“量产卡”就可以用来烧下一台设备了。
启动卡就是插进去不动了,不会把固件移到emmc上,一直用这张启动卡启动,要是卡被拔出来了,就相当于 是板子没有系统了,就是一块砖头。 -
-
试了一下,选择量产卡烧录,启动日志:
[32]HELLO! BOOT0 is starting! [35]BOOT0 commit : 27369ab-dirty [38]set pll start [40]periph0 has been enabled [43]set pll end [44][pmu]: bus read error [47]board init ok [48]ZQ value = 0x32*********** [51]get_pmu_exist() = -1 [54]ddr_efuse_type: 0xa [57][AUTO DEBUG] single rank and full DQ! [60]ddr_efuse_type: 0xa [63][AUTO DEBUG] rank 0 row = 13 [66][AUTO DEBUG] rank 0 bank = 4 [69][AUTO DEBUG] rank 0 page size = 2 KB [73]DRAM BOOT DRIVE INFO: V0.24 [76]DRAM CLK = 528 MHz [78]DRAM Type = 2 (2:DDR2,3:DDR3) [81]DRAMC read ODT off. [84]DRAM ODT off. [85]ddr_efuse_type: 0xa [88]DRAM SIZE =64 M [92]DRAM simple test OK. [94]dram size =64 [96]card no is 0 [97]sdcard 0 line count 4 [100][mmc]: mmc driver ver 2021-04-2 16:45 [109][mmc]: Wrong media type 0x0 [112][mmc]: ***Try SD card 0*** [122][mmc]: DS26/SDR12 4 bit [125][mmc]: 25000000 Hz [127][mmc]: 30264 MB [129][mmc]: ***SD/MMC 0 init OK!!!*** [214]Loading boot-pkg Succeed(index=0). [218]Entry_name = opensbi [221]Entry_name = u-boot [225]Entry_name = dtb [227]mmc not para [229]Jump to second Boot. OpenSBI v0.6 ____ _____ ____ _____ / __ \ / ____| _ \_ _| | | | |_ __ ___ _ __ | (___ | |_) || | | | | | '_ \ / _ \ '_ \ \___ \| _ < | | | |__| | |_) | __/ | | |____) | |_) || |_ \____/| .__/ \___|_| |_|_____/|____/_____| | | |_| Platform Name : T-HEAD Xuantie Platform Platform HART Features : RV64ACDFIMSUVX Platform Max HARTs : 1 Current Hart : 0 Firmware Base : 0x40000400 Firmware Size : 75 KB Runtime SBI Version : 0.2 MIDELEG : 0x0000000000000222 MEDELEG : 0x000000000000b1ff PMP0 : 0x0000000040000000-0x000000004001ffff (A) PMP1 : 0x0000000040000000-0x000000007fffffff (A,R,W,X) PMP2 : 0x0000000080000000-0x00000000bfffffff (A,R,W,X) PMP3 : 0x0000000000020000-0x0000000000027fff (A,_H?H????с2018.05-g0a88ac9-dirty-config-dirty (Feb 08 2022 - 22:32:34 +0800) Allwinner Technology [00.313]DRAM: 64 MiB [00.315]Relocation Offset is: 01f02000 [00.320]secure enable bit: 0 [00.322]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz [00.329]flash init start [00.331]workmode = 17,storage type = 1 try card 2 set card number 2 get card number 2 [00.339][mmc]: mmc driver ver uboot2018:2021-04-16 14:23:00-1 [00.344][mmc]: get sdc_type fail and use default host:tm4. [00.351][mmc]: Is not Boot mode! [00.353][mmc]: SUNXI SDMMC Controller Version:0x50310 [00.364][mmc]: ************Try SD card 2************ [00.369][mmc]: mmc 2 cmd timeout 2 status 2 [00.373][mmc]: smc 2 err, cmd 8, RE [00.376][mmc]: mmc 2 close bus gating and reset [00.381][mmc]: Current spd_md 0 freq_id 0 sdly 255 [00.385][mmc]: Get next samply point 193 at spd_md 0 freq_id 0 [00.391][mmc]: need retry next clk 400000 [00.401][mmc]: ************Try SD card 2************ [00.406][mmc]: mmc 2 cmd timeout 2 status 2 [00.409][mmc]: smc 2 err, cmd 8, RE [00.413][mmc]: mmc 2 close bus gating and reset [00.417][mmc]: Current spd_md 0 freq_id 0 sdly 193 [00.421][mmc]: Get next samply point 131 at spd_md 0 freq_id 0 [00.427][mmc]: need retry next clk 400000 [00.437][mmc]: ************Try SD card 2************ [00.442][mmc]: mmc 2 cmd timeout 2 status 2 [00.446][mmc]: smc 2 err, cmd 8, RE [00.449][mmc]: mmc 2 close bus gating and reset [00.453][mmc]: Current spd_md 0 freq_id 0 sdly 131 [00.458][mmc]: Get next samply point 69 at spd_md 0 freq_id 0 [00.463][mmc]: need retry next clk 400000 [00.473][mmc]: ************Try SD card 2************ [00.478][mmc]: mmc 2 cmd timeout 2 status 2 [00.482][mmc]: smc 2 err, cmd 8, RE [00.485][mmc]: mmc 2 close bus gating and reset [00.489][mmc]: Current spd_md 0 freq_id 0 sdly 69 [00.494][mmc]: Get next samply point 7 at spd_md 0 freq_id 0 [00.499][mmc]: need retry next clk 400000 [00.509][mmc]: ************Try SD card 2************ [00.514][mmc]: mmc 2 cmd timeout 2 status 2 [00.518][mmc]: smc 2 err, cmd 8, RE [00.521][mmc]: mmc 2 close bus gating and reset [00.525][mmc]: Current spd_md 0 freq_id 0 sdly 7 [00.530][mmc]: Get next samply point 9 at spd_md 0 freq_id 0 [00.535][mmc]: need retry next clk 400000 [00.545][mmc]: ************Try SD card 2************ [00.550][mmc]: mmc 2 cmd timeout 2 status 2 [00.554][mmc]: smc 2 err, cmd 8, RE [00.557][mmc]: mmc 2 close bus gating and reset [00.561][mmc]: Current spd_md 0 freq_id 0 sdly 9 [00.565][mmc]: Get next samply point 11 at spd_md 0 freq_id 0 [00.571][mmc]: need retry next clk 400000 [00.581][mmc]: ************Try SD card 2************ [00.586][mmc]: mmc 2 cmd timeout 2 status 2 [00.590][mmc]: smc 2 err, cmd 8, RE [00.593][mmc]: mmc 2 close bus gating and reset [00.597][mmc]: Current spd_md 0 freq_id 0 sdly 11 [00.602][mmc]: Get next samply point 13 at spd_md 0 freq_id 0 [00.607][mmc]: need retry next clk 400000 [00.617][mmc]: ************Try SD card 2************ [00.622][mmc]: mmc 2 cmd timeout 2 status 2 [00.626][mmc]: smc 2 err, cmd 8, RE [00.629][mmc]: mmc 2 close bus gating and reset [00.633][mmc]: Current spd_md 0 freq_id 0 sdly 13 [00.638][mmc]: Get next samply point 15 at spd_md 0 freq_id 0 [00.643][mmc]: need retry next clk 400000 [00.653][mmc]: ************Try SD card 2************ [00.658][mmc]: mmc 2 cmd timeout 2 status 2 [00.662][mmc]: smc 2 err, cmd 8, RE [00.665][mmc]: mmc 2 close bus gating and reset [00.669][mmc]: Current spd_md 0 freq_id 0 sdly 15 [00.674][mmc]: Get next samply point 17 at spd_md 0 freq_id 0 [00.679][mmc]: need retry next clk 400000 [00.689][mmc]: ************Try SD card 2************ [00.694][mmc]: mmc 2 cmd timeout 2 status 2 [00.698][mmc]: smc 2 err, cmd 8, RE [00.701][mmc]: mmc 2 close bus gating and reset [00.705][mmc]: Current spd_md 0 freq_id 0 sdly 17 [00.710][mmc]: Get next samply point 19 at spd_md 0 freq_id 0 [00.715][mmc]: need retry next clk 400000 [00.725][mmc]: ************Try SD card 2************ [00.730][mmc]: mmc 2 cmd timeout 2 status 2 [00.734][mmc]: smc 2 err, cmd 8, RE [00.737][mmc]: mmc 2 close bus gating and reset [00.742][mmc]: Current spd_md 0 freq_id 0 sdly 19 [00.746][mmc]: Get next samply point 21 at spd_md 0 freq_id 0 [00.751][mmc]: need retry next clk 400000 [00.762][mmc]: ************Try SD card 2************ [00.766][mmc]: mmc 2 cmd timeout 2 status 2 [00.770][mmc]: smc 2 err, cmd 8, RE [00.773][mmc]: mmc 2 close bus gating and reset [00.778][mmc]: Current spd_md 0 freq_id 0 sdly 21 [00.782][mmc]: Get next samply point 23 at spd_md 0 freq_id 0 [00.787][mmc]: need retry next clk 400000 [00.798][mmc]: ************Try SD card 2************ [00.802][mmc]: mmc 2 cmd timeout 2 status 2 [00.806][mmc]: smc 2 err, cmd 8, RE [00.809][mmc]: mmc 2 close bus gating and reset [00.814][mmc]: Current spd_md 0 freq_id 0 sdly 23 [00.818][mmc]: Get next samply point 25 at spd_md 0 freq_id 0 [00.824][mmc]: need retry next clk 400000 [00.834][mmc]: ************Try SD card 2************ [00.838][mmc]: mmc 2 cmd timeout 42 status 42 [00.842][mmc]: smc 2 err, cmd 8, RE RCE [00.846][mmc]: mmc 2 close bus gating and reset [00.850][mmc]: Current spd_md 0 freq_id 0 sdly 25 [00.855][mmc]: Get next samply point 27 at spd_md 0 freq_id 0 [00.860][mmc]: need retry next clk 400000 [00.870][mmc]: ************Try SD card 2************ [00.875][mmc]: mmc 2 cmd timeout 42 status 42 [00.879][mmc]: smc 2 err, cmd 8, RE RCE [00.883][mmc]: mmc 2 close bus gating and reset [00.887][mmc]: Current spd_md 0 freq_id 0 sdly 27 [00.891][mmc]: Get next samply point 29 at spd_md 0 freq_id 0 [00.897][mmc]: need retry next clk 400000 [00.907][mmc]: ************Try SD card 2************ [00.912][mmc]: mmc 2 cmd timeout 100 status 100 [00.916][mmc]: smc 2 err, cmd 8, RTO [00.920][mmc]: mmc 2 close bus gating and reset [00.925][mmc]: mmc 2 cmd timeout 100 status 100 [00.929][mmc]: smc 2 err, cmd 55, RTO [00.932][mmc]: mmc 2 close bus gating and reset [00.937][mmc]: ************Try MMC card 2************ [00.945][mmc]: mmc 2 cmd timeout 100 status 100 [00.950][mmc]: smc 2 err, cmd 1, RTO [00.953][mmc]: mmc 2 close bus gating and reset [00.957][mmc]: Card did not respond to voltage select! [00.962][mmc]: ************SD/MMC 2 init error!************ [00.967][mmc]: mmc init product failed MMC init failed try emmc fail [00.974]sunxi-spinand: AW SPINand MTD Layer Version: 1.5 20200407 [00.980]sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.9 20200306 [00.988]sunxi-spinand-phy: request spi0 gpio ok [00.992]sunxi-spinand-phy: request general tx dma channel ok! [00.998]sunxi-spinand-phy: request general rx dma channel ok! [01.003]sunxi-spinand-phy: set spic0 clk to 20 Mhz [01.008]sunxi-spinand-phy: init spic0 clk ok [01.032]sunxi-spinand-phy: read id failed : -110 try nand fail [01.040]unrecognized JEDEC id bytes: ff, ff, ff try spinor fail initcall sequence 0000000043f9a2e0 failed at call 000000004200d70e (err=-1) ### ERROR ### Please RESET the board ###
会依次查找 emmc / spi nand / spi nor,都没有就出错退出了。
-
[32]HELLO! BOOT0 is starting! [35]BOOT0 commit : 553a5eb [38]set pll start [39]periph0 has been enabled [42]set pll end [44][pmu]: bus read error [46]board init ok [48]ZQ value = 0x2f [50]get_pmu_exist() = -1 [52]ddr_efuse_type: 0xa [54]mark_id: 0x5c [56]trefi:7.8ms [58][AUTO DEBUG] single rank and full DQ! [62]ddr_efuse_type: 0xa [64]mark_id: 0x5c [66]trefi:7.8ms [68][AUTO DEBUG] rank 0 row = 13 [71][AUTO DEBUG] rank 0 bank = 4 [74][AUTO DEBUG] rank 0 page size = 2 KB [78]DRAM BOOT DRIVE INFO: V0.32 [81]DRAM CLK = 408 MHz [83]DRAM Type = 2 (2:DDR2,3:DDR3) [86]DRAMC read ODT off. [89]DRAM ODT off. [90]ddr_efuse_type: 0xa [93]mark_id: 0x5c [95]DRAM SIZE =64 M [97]PLL_DDR_CTRL_REG:0xf9002100 [100]DRAM_CLK_REG:0xc0000000 [102][TIMING DEBUG] MR2= 0x0 [107]DRAM simple test OK. [109]dram size =64 [111]card no is 0 [113]sdcard 0 line count 4 [115][mmc]: mmc driver ver 2021-04-2 16:45 [125][mmc]: Wrong media type 0x0 [127][mmc]: ***Try SD card 0*** [137][mmc]: HSSDR52/SDR25 4 bit [140][mmc]: 50000000 Hz [143][mmc]: 30264 MB [145][mmc]: ***SD/MMC 0 init OK!!!*** [195]Loading boot-pkg Succeed(index=0). [199]Entry_name = opensbi [202]Entry_name = u-boot [206]Entry_name = dtb [208]mmc not para [210]Jump to second Boot. OpenSBI auto-t113-linux-V0.1-1-ge15c4f7 ____ _____ ____ _____ / __ \ / ____| _ \_ _| | | | |_ __ ___ _ __ | (___ | |_) || | | | | | '_ \ / _ \ '_ \ \___ \| _ < | | | |__| | |_) | __/ | | |____) | |_) || |_ \____/| .__/ \___|_| |_|_____/|____/_____| | | |_| Platform Name : T-HEAD Xuantie Platform Platform HART Features : RV64ACDFIMSUVX Platform Max HARTs : 1 Current Hart : 0 Firmware Base : 0x41fc0400 Firmware Size : 75 KB Runtime SBI Version : 0.2 MIDELEG : 0x0000000000000222 MEDELEG : 0x000000000000b1ff PMP0 : 0x0000000041fc0000-0x0000000041fdffff (A) PMP1 : 0x0000000040000000-0x000000007fffffff (A,R,W,X) PMP2 : 0x0000000080000000-0x00000000bfffffff (A,R,W,X) PMP3 : 0x0000000000020000-0x0000000000027fff (A,?H?H????с2018.05-00019-gc7a7584e23 (Sep 26 2021 - 11:44:52 +0000) Allwinner Technology [00.296]DRAM: 64 MiB [00.298]Relocation Offset is: 01ee1000 [00.303]secure enable bit: 0 [00.306]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz [00.312]flash init start [00.314]workmode = 17,storage type = 1 try card 0 set card number 0 get card number 0 [00.322][mmc]: mmc driver ver uboot2018:2021-09-07 19:43:00 [00.327][mmc]: get sdc_type fail and use default host:tm1. FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL [00.339][mmc]: get card0 default pin fail [00.343][mmc]: can't find node "mmc0",will add new node [00.348][mmc]: fdt err returned <no error> [00.352][mmc]: Using default timing para [00.355][mmc]: sunxi mmc pin set failed! [00.359]error card no error [00.362][mmc]: MMC Device -1 not found MMC init failed try card0 fail try card 1 set card number 1 get card number 1 [00.372][mmc]: mmc driver ver uboot2018:2021-09-07 19:43:00 [00.378][mmc]: get sdc_type fail and use default host:tm1. [00.383][mmc]: mmc_get_para_from_fex: input sdc_no error: 1 [00.388][mmc]: Using default timing para [00.392][mmc]: sunxi mmc pin set failed! [00.395]error,card no error [00.398][mmc]: MMC Device -1 not found MMC init failed try card1 fail try card 2 set card number 2 get card number 2 [00.409][mmc]: mmc driver ver uboot2018:2021-09-07 19:43:00 [00.414][mmc]: get sdc_type fail and use default host:tm4. [00.420][mmc]: Is not Boot mode! [00.423][mmc]: SUNXI SDMMC Controller Version:0x50310 [00.434][mmc]: ************Try SD card 2************ [00.440][mmc]: mmc 2 cmd timeout 100 status 100 [00.444][mmc]: smc 2 err, cmd 8, RTO [00.447][mmc]: mmc 2 close bus gating and reset [00.452][mmc]: mmc 2 cmd timeout 100 status 100 [00.456][mmc]: smc 2 err, cmd 55, RTO [00.460][mmc]: mmc 2 close bus gating and reset [00.464][mmc]: ************Try MMC card 2************ [00.473][mmc]: mmc 2 cmd timeout 100 status 100 [00.477][mmc]: smc 2 err, cmd 1, RTO [00.480][mmc]: mmc 2 close bus gating and reset [00.485][mmc]: Card did not respond to voltage select! [00.489][mmc]: ************SD/MMC 2 init error!************ [00.495][mmc]: mmc init product failed MMC init failed try card2 fail try emmc fail [00.503]sunxi-spinand: AW SPINand MTD Layer Version: 1.5 20200407 [00.509]sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.9 20200306 [00.517]sunxi-spinand-phy: request spi0 gpio ok [00.521]sunxi-spinand-phy: request general tx dma channel ok! [00.527]sunxi-spinand-phy: request general rx dma channel ok! [00.532]sunxi-spinand-phy: set spic0 clk to 20 Mhz [00.537]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 [00.582]sunxi-spinand-phy: not detect any munufacture from id table [00.589]sunxi-spinand-phy: get spi-nand Model from fdt fail [00.594]sunxi-spinand-phy: get phy info from fdt fail [00.598]sunxi-spinand-phy: not detect munufacture from fdt [00.604]sunxi-spinand-phy: detect munufacture from id table: GD [00.609]sunxi-spinand-phy: detect spinand id: ffff51c8 ffffffff [00.615]sunxi-spinand-phy: ========== arch info ========== [00.620]sunxi-spinand-phy: Model: GD5F1GQ5UEYIG [00.626]sunxi-spinand-phy: Munufacture: GD [00.630]sunxi-spinand-phy: DieCntPerChip: 1 [00.634]sunxi-spinand-phy: BlkCntPerDie: 1024 [00.639]sunxi-spinand-phy: PageCntPerBlk: 64 [00.644]sunxi-spinand-phy: SectCntPerPage: 4 [00.648]sunxi-spinand-phy: OobSizePerPage: 64 [00.653]sunxi-spinand-phy: BadBlockFlag: 0x0 [00.657]sunxi-spinand-phy: OperationOpt: 0x7 [00.662]sunxi-spinand-phy: MaxEraseTimes: 50000 [00.667]sunxi-spinand-phy: EccFlag: 0x1 [00.671]sunxi-spinand-phy: EccType: 7 [00.676]sunxi-spinand-phy: EccProtectedType: 2 [00.680]sunxi-spinand-phy: ======================================== [00.686]sunxi-spinand-phy: [00.688]sunxi-spinand-phy: ========== physical info ========== [00.694]sunxi-spinand-phy: TotalSize: 128 M [00.698]sunxi-spinand-phy: SectorSize: 512 B [00.702]sunxi-spinand-phy: PageSize: 2 K [00.706]sunxi-spinand-phy: BlockSize: 128 K [00.710]sunxi-spinand-phy: OOBSize: 64 B [00.715]sunxi-spinand-phy: ======================================== [00.721]sunxi-spinand-phy: [00.723]sunxi-spinand-phy: ========== logical info ========== [00.729]sunxi-spinand-phy: TotalSize: 128 M [00.733]sunxi-spinand-phy: SectorSize: 512 B [00.737]sunxi-spinand-phy: PageSize: 4 K [00.741]sunxi-spinand-phy: BlockSize: 256 K [00.745]sunxi-spinand-phy: OOBSize: 128 B [00.749]sunxi-spinand-phy: ======================================== [00.756]sunxi-spinand-phy: GD5F1GQ5UEYIG reset rx bit width to 1 [00.761]sunxi-spinand-phy: GD5F1GQ5UEYIG reset tx bit width to 1 [00.767]sunxi-spinand-phy: set spic0 clk to 100 Mhz [00.771]sunxi-spinand-phy: block lock register: 0x00 [00.776]sunxi-spinand-phy: feature register: 0x11 [00.781]sunxi-spinand-phy: sunxi physic nand init end [00.785][mmc]: mmc driver ver uboot2018:2021-09-07 19:43:00 [00.791][mmc]: get sdc_type fail and use default host:tm1. FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL [00.803][mmc]: get card0 default pin fail [00.807][mmc]: can't find node "mmc0",will add new node [00.812][mmc]: fdt err returned <no error> [00.815][mmc]: Using default timing para [00.819][mmc]: sunxi mmc pin set failed! [00.823]error card no error [00.825][mmc]: MMC Device -1 not found fail to find one useful mmc card initcall sequence 0000000043f8fb20 failed at call 000000004200e81a (err=-1) ### ERROR ### Please RESET the board ###
焊上 spi nand 之后,出现了 找不到 mmc0,可能是 uboot-board.dts TF 卡的配置有问题?
-
输入 part list sunxi_flash 0 发现可以显示 TF卡分区:
=> part list sunxi_flash 0 Partition Map for UNKNOWN device 0 -- Partition Type: EFI Part Start LBA End LBA Name Attributes Type GUID Partition GUID 1 0x00008780 0x0000a6ff "boot-resource" attrs: 0x0000000000000000 type: 0fc63daf-8483-4772-8e79-3d69d8477de4 guid: d4c8f1d5-757a-475a-b9a8-0074ff65dd1b 2 0x0000a700 0x0000a8f7 "env" attrs: 0x0000000000000000 type: 0fc63daf-8483-4772-8e79-3d69d8477de4 guid: fc2fd674-e9a9-4a44-89a2-cc5798413979 3 0x0000a8f8 0x0000aaef "env-redund" attrs: 0x0000000000000000 type: 0fc63daf-8483-4772-8e79-3d69d8477de4 guid: b33c1ff3-5666-4b5c-9a3d-cac68f400ad0 4 0x0000aaf0 0x0000fba7 "boot" attrs: 0x0000000000000000 type: 0fc63daf-8483-4772-8e79-3d69d8477de4 guid: ef8068de-d87b-4265-8af3-5285368efc49 5 0x0000fba8 0x0002fba7 "rootfs" attrs: 0x0000000000000000 type: 0fc63daf-8483-4772-8e79-3d69d8477de4 guid: 1846d402-1afd-4ecd-bf3a-29286953d7e0 6 0x0002fba8 0x0002ff97 "dsp0" attrs: 0x0000000000000000 type: 0fc63daf-8483-4772-8e79-3d69d8477de4 guid: 94d209b1-385c-4a02-8d82-61e8a059b33e 7 0x0002ff98 0x00036dd7 "recovery" attrs: 0x0000000000000000 type: 0fc63daf-8483-4772-8e79-3d69d8477de4 guid: 27263635-cf03-4add-82f9-af10d477c79d =>
但是 mmc 命令根本木得反应:
=> mmc dev 0 No MMC device available => mmc dev 2 No MMC device available => mmc info No MMC device available =>
感觉是 mmc 命令不响应的问题造成的。
-
再次确认,官方的哪吒SDK + 哪吒开发板 uboot 也不能运行 mmc info 和 mmc dev 0 这些命令,看来这个量产卡功能在D1 平台应该不能正常测试。
-
既然 D1 哪吒不行,那试一试 A100:
插入TF卡上电开始自动烧录:
串口日志:
[88]HELLO! BOOT0 is starting! [91]BOOT0 commit : dc54be6 [94]set pll start [95]periph0 has been enabled [99]set pll end [100][pmu]: bus read error [103][pmu]: bus read error [111]vaild para:1 select dram para0 [114]board init ok [116]DRAM BOOT DRIVE INFO: V0.19 [120]the chip id is 0x2400 [122]the chip id is 0x2400 [125]the chip id is 0x2400 [128]the chip id is 0x2400 [130]the chip id is 0x2400 [133]chip id check OK [135]DRAM_VCC set to 1100 mv [168]DRAM retraining ten [174][AUTO DEBUG]32bit,1 ranks training success! [185]DRAM CLK =792 MHZ [187]DRAM Type =8 (3:DDR3,4:DDR4,7:LPDDR3,8:LPDDR4) [195]DRAM SIZE =1024 MBytes, para1 = 30fa, para2 = 4000000, dram_tpr13 = 6063 [207]DRAM simple test OK. [210]dram size =1024 [212]chipid = 53002400 [214]nsi init ok 2020-4-7 [217]card no is 0 [219]sdcard 0 line count 4 [222][mmc]: mmc driver ver 2020-05-25 09:40 [232][mmc]: Wrong media type 0x0 [235][mmc]: ***Try SD card 0*** [255]mmc_read_info 748:region magic is not right, retry more time 0 [273]mmc_read_info 748:region magic is not right, retry more time 0 [290]mmc_read_info 748:region magic is not right, retry more time 0 [308]mmc_read_info 748:region magic is not right, go err 0 [314]dump info registers:[316] 0x29b7c : [318]0 [318]0 [319]0 [320]0 [320] 0x29b8c : [322]0 [323]0 [323]0 [324]0 [325] 0x29b9c : [326]0 [327]0 [327]0 [328]0 [329] 0x29bac : [330]0 [331]0 [332]0 [332]0 [333] 0x29bbc : [335]0 [335]0 [336]0 [337]0 [337] 0x29bcc : [339]0 [340]0 [340]0 [341]0 [342] 0x29bdc : [343]0 [344]0 [345]0 [345]0 [346] 0x29bec : [348]0 [348]0 [349]0 [350]0 [350] 0x29bfc : [352]0 [353]0 [353]0 [354]0 [355] 0x29c0c : [356]0 [357]0 [358]0 [358]0 [359] 0x29c1c : [360]0 [361]0 [362]0 [362]0 [363] 0x29c2c : [365]0 [365]0 [366]0 [367]0 [367] 0x29c3c : [369]0 [370]0 [370]0 [371]0 [372] 0x29c4c : [373]0 [374]0 [375]0 [375]0 [376] 0x29c5c : [378]0 [378]0 [379]0 [380]0 [380] 0x29c6c : [382]0 [383]0 [383]0 [384]0 [385] 0x29c7c : [386]0 [387]0 [388]0 [388]0 [389] 0x29c8c : [390]0 [391]0 [392]0 [392]0 [393] 0x29c9c : [395]0 [395]0 [396]0 [397]0 [397] 0x29cac : [399]0 [400]0 [400]0 [401]0 [402] 0x29cbc : [403]0 [404]0 [405]0 [405]0 [406] 0x29ccc : [408]0 [408]0 [409]0 [410]0 [410] 0x29cdc : [412]0 [413]0 [413]0 [414]0 [415] 0x29cec : [416]0 [417]0 [418]0 [418]0 [419] 0x29cfc : [421]0 [421]0 [422]0 [423]0 [423] 0x29d0c : [425]0 [425]0 [426]0 [427]0 [427] 0x29d1c : [429]0 [430]0 [430]0 [431]0 [432] 0x29d2c : [433]0 [434]0 [435]0 [435]0 [436] 0x29d3c : [438]0 [438]0 [439]0 [440]0 [440] 0x29d4c : [442]0 [443]0 [443]0 [444]0 [445] 0x29d5c : [446]0 [447]0 [448]0 [448]0 [449] 0x29d6c : [451]0 [451]0 [452]0 [453]0 [453] [454][mmc]: RMCA FAIL! [456][mmc]: mmc read timing info fail [460][mmc]: sdc0 spd mode error, 2 [463][mmc]: mmc 0 bias 0 [468][mmc]: HSSDR52/SDR25 4 bit [471][mmc]: 50000000 Hz [473][mmc]: 30264 MB [475][mmc]: ***SD/MMC 0 init OK!!!*** [550]Loading boot-pkg Succeed(index=0). [554]Entry_name = u-boot [561]Entry_name = monitor [564]Entry_name = scp [573]set arisc reset to de-assert state [576]Entry_name = dtb [580]Jump to second Boot. NOTICE: BL3-1: v1.0(debug):cc1f5d7 NOTICE: BL3-1: Built : 10:23:25, 2020-04-08 NOTICE: BL3-1 commit: 8 ERROR: Error initializing runtime service tspd_fast NOTICE: BL3-1: Preparing for EL3 exit to normal world NOTICE: BL3-1: Next image address = 0x4a000000 ▒OTICE: BL3-1: Next image spsr = 0x1d3 U-Boot 2018.05 (Feb 07 2022 - 22:08:09 +0800) Allwinner Technology [00.621]CPU: Allwinner Family [00.624]Model: sun50iw10 I2C: ready [00.874]DRAM: 1 GiB [00.877]Relocation Offset is: 35f17000 [00.906]secure enable bit: 0 [00.910][ARISC] :arisc initialize [00.915][ARISC ERROR] :get [allwinner,sunxi-hwspinlock] device node error CACHE: Misaligned operation at range [7ffa72a0, 7ffa75b8] [00.926][ARISC] :arisc para ok [SCP] :sunxi-arisc driver begin startup 2 [SCP] :0x1 [SCP] :arisc version: [] [SCP] :arisc startup ready [SCP] :arisc startup notify message feedback [SCP] :send hard sync feedback message: 0x900200 [SCP] :sunxi-arisc driver v1.10 is starting [00.953][ARISC] :sunxi-arisc driver startup succeeded [00.958]pmu_axp81X_probe pmic_bus_read fail [00.962]pmu_axp858_probe pmic_bus_read fail [00.966]PMU: no found [00.968]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=400Mhz [00.975]init_clocks:finish [00.977]drv_disp_init request pwm success, pwm8:pwm8:0x300a000. pwm_request: err:this pwm has been requested! [01.013]drv_disp_init finish [01.021]gic: sec monitor mode [01.023]boot_gui_init:start [01.028]set disp.dev2_output_type fail. using defval=0 [01.033]disp 1, clk: pll(490000000),clk(490000000),dclk(70000000) dsi_rate(490000000) clk real:pll(492000000),clk(492000000),dclk(70285714) dsi_rate(0) [01.050]switch device: sel=1, type=1, mode=4, format=0, bits=0, eotf=4, cs=260 [01.057]boot_gui_init:finish [01.059]flash init start [01.062]workmode = 17,storage type = 1 try card 2 set card number 2 get card number 2 [01.069][mmc]: mmc driver ver uboot2018:2020-5-25 9:26:00-20201021190 [01.083][mmc]: Is not Boot mode! [01.086][mmc]: SUNXI SDMMC Controller Version:0x50300 [01.097][mmc]: ************Try SD card 2************ [01.102][mmc]: mmc 2 cmd timeout 100 status 100 [01.106][mmc]: smc 2 err, cmd 8, RTO [01.110][mmc]: mmc 2 close bus gating and reset [01.115][mmc]: mmc 2 cmd timeout 100 status 100 [01.119][mmc]: smc 2 err, cmd 55, RTO [01.122][mmc]: mmc 2 close bus gating and reset [01.127][mmc]: ************Try MMC card[01.130]soc ic_ver:0x0, qa_val:0x0, markid:0x53002400 dclk[0-9999] 2************ [01.203][mmc]: mmc 2 cmd timeout 100 status 100 [01.207][mmc]: smc 2 err, cmd 8, RTO [01.210][mmc]: mmc 2 close bus gating and reset [01.215][mmc]: mmc 2 cmd timeout 100 status 100 [01.219][mmc]: smc 2 err, cmd 55, RTO [01.223][mmc]: mmc 2 close bus gating and reset [01.239]LCD open finish [01.267][mmc]: gen_tuning_blk_bus8: total blk 10 [01.271][mmc]: gen_tuning_blk_bus4: total blk 6 [01.275][mmc]: Using 8 bit tuning now [01.281][mmc]: write_tuning_try_freq: write ok [01.285][mmc]: Pattern compare ok [01.288][mmc]: Write tuning pattern ok [01.292][mmc]: ================== HSSDR52_SDR25... [01.296][mmc]: skip freq 400000 [01.299][mmc]: skip freq 25000000 [01.302][mmc]: freq: 2-50000000-64-4 [01.513][mmc]: [0-48|49] [61-63|3] [01.516][mmc]: ================== HSDDR52_DDR50... [01.521][mmc]: skip freq 400000 [01.524][mmc]: freq: 1-25000000-64-4 [01.746][mmc]: freq: 2-50000000-64-4 [01.971][mmc]: [0-39|40] [47-49|3] [52-63|12] [01.975][mmc]: [0-24|25] [26-39|14] [47-63|17] [01.979][mmc]: DS26/SDR12: 0xffffffff 0xffffffff [01.983][mmc]: HSSDR52/SDR25: 0xff18ffff 0xffffffff [01.988][mmc]: HSDDR52/DDR50: 0xff0c14ff 0xffffffff [01.992][mmc]: HS200/SDR104: 0xffffffff 0xffffffff [01.997][mmc]: HS400: 0xffffffff 0xffffffff [02.001][mmc]: HS400: 0xffffffff 0xffffffff [02.005][mmc]: Best spd md: 2-HSDDR52/DDR50, freq: 2-50000000, Bus width: 8 [02.011][mmc]: mmc driver ver uboot2018:2020-5-25 9:26:00-20201021190 [02.018][mmc]: get sdc_type fail and use default host:tm1. [02.029][mmc]: Using default timing para [02.033][mmc]: SUNXI SDMMC Controller Version:0x50300 [02.050][mmc]: card_caps:0x30000002 [02.053][mmc]: host_caps:0x3000003f [02.059]Loading Environment from SUNXI_FLASH... OK [02.063]try to burn key [02.066]out of usb burn from boot: not need burn key Hit any key to stop autoboot: 0 sunxi work mode=0x11 run card sprite [02.083]try sprite_led_gpio config [02.087]sprite_led_gpio start [02.090]sunxi sprite begin screen_width = 1280 screen_height = 800 bar x1: 320 y1: 360 bar x2: 960 y2: 440 357443 bytes read in 32 ms (10.7 MiB/s) [SFTE_Set_Pixel_Sizes_i] 394 buf_size is 2304 cur_pixel_size 32 pixel_size 32 firmware name <NULL> img start = 0x18000 try to read mmc start 98304 read mmc ok [02.167]firmware probe ok [02.169]fetch download map *************DOWNLOAD MAP DUMP************ total download part 9 download part[0] name :bootloader download part[0] download file :BOOT-RESOURCE_FE download part[0] verify file :VBOOT-RESOURCE_F download part[0] lenlo :0x10000 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 :0x8000 download part[1] addrlo :0x18000 download part[1] encrypt :0x0 download part[1] verify :0x1 download part[2] name :boot download part[2] download file :BOOT_FEX00000000 download part[2] verify file :VBOOT_FEX0000000 download part[2] lenlo :0x10000 download part[2] addrlo :0x20000 download part[2] encrypt :0x0 download part[2] verify :0x1 download part[3] name :super download part[3] download file :SUPER_FEX0000000 download part[3] verify file :VSUPER_FEX000000 download part[3] lenlo :0x700000 download part[3] addrlo :0x30000 download part[3] encrypt :0x0 download part[3] verify :0x1 download part[4] name :recovery download part[4] download file :RECOVERY_FEX0000 download part[4] verify file :VRECOVERY_FEX000 download part[4] lenlo :0x10000 download part[4] addrlo :0x738000 download part[4] encrypt :0x0 download part[4] verify :0x1 download part[5] name :vbmeta download part[5] download file :VBMETA_FEX000000 download part[5] verify file :VVBMETA_FEX00000 download part[5] lenlo :0x8000 download part[5] addrlo :0x888000 download part[5] encrypt :0x0 download part[5] verify :0x1 download part[6] name :vbmeta_system download part[6] download file :VBMETA_SYSTEM_FE download part[6] verify file :VVBMETA_SYSTEM_F download part[6] lenlo :0x8000 download part[6] addrlo :0x890000 download part[6] encrypt :0x0 download part[6] verify :0x1 download part[7] name :vbmeta_vendor download part[7] download file :VBMETA_VENDOR_FE download part[7] verify file :VVBMETA_VENDOR_F download part[7] lenlo :0x8000 download part[7] addrlo :0x898000 download part[7] encrypt :0x0 download part[7] verify :0x1 download part[8] name :dtbo download part[8] download file :DTBO_FEX00000000 download part[8] verify file :VDTBO_FEX0000000 download part[8] lenlo :0x1000 download part[8] addrlo :0x8b8000 download part[8] encrypt :0x0 download part[8] verify :0x1 [02.413]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 17 part[0] name :bootloader part[0] classname :DISK part[0] addrlo :0x8000 part[0] lenlo :0x10000 part[0] user_type :32768 part[0] keydata :0 part[0] ro :0 part[1] name :env part[1] classname :DISK part[1] addrlo :0x18000 part[1] lenlo :0x8000 part[1] user_type :32768 part[1] keydata :0 part[1] ro :0 part[2] name :boot part[2] classname :DISK part[2] addrlo :0x20000 part[2] lenlo :0x10000 part[2] user_type :32768 part[2] keydata :0 part[2] ro :0 part[3] name :super part[3] classname :DISK part[3] addrlo :0x30000 part[3] lenlo :0x700000 part[3] user_type :32768 part[3] keydata :0 part[3] ro :0 part[4] name :misc part[4] classname :DISK part[4] addrlo :0x730000 part[4] lenlo :0x8000 part[4] user_type :32768 part[4] keydata :0 part[4] ro :0 part[5] name :recovery part[5] classname :DISK part[5] addrlo :0x738000 part[5] lenlo :0x10000 part[5] user_type :32768 part[5] keydata :0 part[5] ro :0 part[6] name :cache part[6] classname :DISK part[6] addrlo :0x748000 part[6] lenlo :0x140000 part[6] user_type :32768 part[6] keydata :0 part[6] ro :0 part[7] name :vbmeta part[7] classname :DISK part[7] addrlo :0x888000 part[7] lenlo :0x8000 part[7] user_type :32768 part[7] keydata :0 part[7] ro :0 part[8] name :vbmeta_system part[8] classname :DISK part[8] addrlo :0x890000 part[8] lenlo :0x8000 part[8] user_type :32768 part[8] keydata :0 part[8] ro :0 part[9] name :vbmeta_vendor part[9] classname :DISK part[9] addrlo :0x898000 part[9] lenlo :0x8000 part[9] user_type :32768 part[9] keydata :0 part[9] ro :0 part[10] name :metadata part[10] classname :DISK part[10] addrlo :0x8a0000 part[10] lenlo :0x8000 part[10] user_type :32768 part[10] keydata :0 part[10] ro :0 part[11] name :private part[11] classname :DISK part[11] addrlo :0x8a8000 part[11] lenlo :0x8000 part[11] user_type :32768 part[11] keydata :0 part[11] ro :0 part[12] name :frp part[12] classname :DISK part[12] addrlo :0x8b0000 part[12] lenlo :0x400 part[12] user_type :32768 part[12] keydata :32768 part[12] ro :0 part[13] name :empty part[13] classname :DISK part[13] addrlo :0x8b0400 part[13] lenlo :0x7c00 part[13] user_type :32768 part[13] keydata :0 part[13] ro :0 part[14] name :dtbo part[14] classname :DISK part[14] addrlo :0x8b8000 part[14] lenlo :0x1000 part[14] user_type :32768 part[14] keydata :0 part[14] ro :0 part[15] name :media_data part[15] classname :DISK part[15] addrlo :0x8b9000 part[15] lenlo :0x8000 part[15] user_type :32768 part[15] keydata :0 part[15] ro :0 part[16] name :UDISK part[16] classname :DISK part[16] addrlo :0x8c1000 part[16] lenlo :0x0 part[16] user_type :33024 part[16] keydata :0 part[16] ro :0 *************MBR DUMP*************** total mbr part 17 part[0] name :bootloader part[0] classname :DISK part[0] addrlo :0x8000 part[0] lenlo :0x10000 part[0] user_type :0x8000 part[0] keydata :0x0 part[0] ro :0x0 part[1] name :env part[1] classname :DISK part[1] addrlo :0x18000 part[1] lenlo :0x8000 part[1] user_type :0x8000 part[1] keydata :0x0 part[1] ro :0x0 part[2] name :boot part[2] classname :DISK part[2] addrlo :0x20000 part[2] lenlo :0x10000 part[2] user_type :0x8000 part[2] keydata :0x0 part[2] ro :0x0 part[3] name :super part[3] classname :DISK part[3] addrlo :0x30000 part[3] lenlo :0x700000 part[3] user_type :0x8000 part[3] keydata :0x0 part[3] ro :0x0 part[4] name :misc part[4] classname :DISK part[4] addrlo :0x730000 part[4] lenlo :0x8000 part[4] user_type :0x8000 part[4] keydata :0x0 part[4] ro :0x0 part[5] name :recovery part[5] classname :DISK part[5] addrlo :0x738000 part[5] lenlo :0x10000 part[5] user_type :0x8000 part[5] keydata :0x0 part[5] ro :0x0 part[6] name :cache part[6] classname :DISK part[6] addrlo :0x748000 part[6] lenlo :0x140000 part[6] user_type :0x8000 part[6] keydata :0x0 part[6] ro :0x0 part[7] name :vbmeta part[7] classname :DISK part[7] addrlo :0x888000 part[7] lenlo :0x8000 part[7] user_type :0x8000 part[7] keydata :0x0 part[7] ro :0x0 part[8] name :vbmeta_system part[8] classname :DISK part[8] addrlo :0x890000 part[8] lenlo :0x8000 part[8] user_type :0x8000 part[8] keydata :0x0 part[8] ro :0x0 part[9] name :vbmeta_vendor part[9] classname :DISK part[9] addrlo :0x898000 part[9] lenlo :0x8000 part[9] user_type :0x8000 part[9] keydata :0x0 part[9] ro :0x0 part[10] name :metadata part[10] classname :DISK part[10] addrlo :0x8a0000 part[10] lenlo :0x8000 part[10] user_type :0x8000 part[10] keydata :0x0 part[10] ro :0x0 part[11] name :private part[11] classname :DISK part[11] addrlo :0x8a8000 part[11] lenlo :0x8000 part[11] user_type :0x8000 part[11] keydata :0x0 part[11] ro :0x0 part[12] name :frp part[12] classname :DISK part[12] addrlo :0x8b0000 part[12] lenlo :0x400 part[12] user_type :0x8000 part[12] keydata :0x8000 part[12] ro :0x0 part[13] name :empty part[13] classname :DISK part[13] addrlo :0x8b0400 part[13] lenlo :0x7c00 part[13] user_type :0x8000 part[13] keydata :0x0 part[13] ro :0x0 part[14] name :dtbo part[14] classname :DISK part[14] addrlo :0x8b8000 part[14] lenlo :0x1000 part[14] user_type :0x8000 part[14] keydata :0x0 part[14] ro :0x0 part[15] name :media_data part[15] classname :DISK part[15] addrlo :0x8b9000 part[15] lenlo :0x8000 part[15] user_type :0x8000 part[15] keydata :0x0 part[15] ro :0x0 part[16] name :UDISK part[16] classname :DISK part[16] addrlo :0x8c1000 part[16] lenlo :0x0 part[16] user_type :0x8100 part[16] keydata :0x0 part[16] ro :0x0 [02.987]begin to erase flash total part: 18 mbr 0, 8000, 8000 bootloader 1, 10000, 8000 env 2, 8000, 8000 boot 3, 10000, 8000 super 4, 700000, 8000 misc 5, 8000, 8000 recovery 6, 10000, 8000 cache 7, 140000, 8000 vbmeta 8, 8000, 8000 vbmeta_system 9, 8000, 8000 vbmeta_vendor 10, 8000, 8000 metadata 11, 8000, 8000 private 12, 8000, 8000 frp 13, 400, 8000 empty 14, 7c00, 8000 dtbo 15, 1000, 8000 media_data 16, 8000, 8000 UDISK 17, 0, 8100 [03.027]erase all part start need erase flash: 1 ******Has init private part exist GPT:bootloader : 12000 21fff GPT:env : 22000 29fff GPT:boot : 2a000 39fff GPT:super : 3a000 739fff GPT:misc : 73a000 741fff GPT:recovery : 742000 751fff GPT:cache : 752000 891fff GPT:vbmeta : 892000 899fff GPT:vbmeta_system: 89a000 8a1fff GPT:vbmeta_vendor: 8a2000 8a9fff GPT:metadata : 8aa000 8b1fff GPT:private : 8b2000 8b9fff GPT:frp : 8ba000 8ba3ff GPT:empty : 8ba400 8c1fff GPT:dtbo : 8c2000 8c2fff GPT:media_data : 8c3000 8cafff GPT:UDISK : 8cb000 e8ffde begin to store data part 0 name bootloader keydata = 0x0 part 1 name env keydata = 0x0 part 2 name boot keydata = 0x0 part 3 name super keydata = 0x0 part 4 name misc keydata = 0x0 part 5 name recovery keydata = 0x0 part 6 name cache keydata = 0x0 part 7 name vbmeta keydata = 0x0 part 8 name vbmeta_system keydata = 0x0 part 9 name vbmeta_vendor keydata = 0x0 part 10 name metadata keydata = 0x0 part 11 name private keydata = 0x0 find keypart private keypart read start: 0x8a8000, sectors 0x8000 keypart part private read 0x8a8000, sectors 0x8000 part 12 name frp keydata = 0x1 find keypart frp keypart read start: 0x8b0000, sectors 0x400 keypart part frp read 0x8b0000, sectors 0x400 part 13 name empty keydata = 0x0 part 14 name dtbo keydata = 0x0 part 15 name media_data keydata = 0x0 part 16 name UDISK keydata = 0x0 begin to erase [03.380]erase all part start card2 erase boot0 erase env part [03.394][mmc]: erase from: 139264, to: 172031, cnt: 32768, erase_group: 1024 [03.411][mmc]: sunxi_mmc_do_send_cmd_common: cmd 38 wait rsp busy 0xa ms erase boot part [03.419][mmc]: erase from: 172032, to: 237567, cnt: 65536, erase_group: 1024 [03.452][mmc]: sunxi_mmc_do_send_cmd_common: cmd 38 wait rsp busy 0x1b ms erase super part [03.460][mmc]: erase from: 237568, to: 7577599, cnt: 7340032, erase_group: 1024 [05.564][mmc]: sunxi_mmc_do_send_cmd_common: cmd 38 wait rsp busy 0x831 ms erase misc part [05.572][mmc]: erase from: 7577600, to: 7610367, cnt: 32768, erase_group: 1024 [05.589][mmc]: sunxi_mmc_do_send_cmd_common: cmd 38 wait rsp busy 0xa ms erase recovery part [05.597][mmc]: erase from: 7610368, to: 7675903, cnt: 65536, erase_group: 1024 [05.631][mmc]: sunxi_mmc_do_send_cmd_common: cmd 38 wait rsp busy 0x1b ms erase cache part [05.639][mmc]: erase from: 7675904, to: 8986623, cnt: 1310720, erase_group: 1024 [05.989][mmc]: sunxi_mmc_do_send_cmd_common: cmd 38 wait rsp busy 0x157 ms erase vbmeta part [05.997][mmc]: erase from: 8986624, to: 9019391, cnt: 32768, erase_group: 1024 [06.014][mmc]: sunxi_mmc_do_send_cmd_common: cmd 38 wait rsp busy 0xa ms erase vbmeta_system part [06.023][mmc]: erase from: 9019392, to: 9052159, cnt: 32768, erase_group: 1024 [06.040][mmc]: sunxi_mmc_do_send_cmd_common: cmd 38 wait rsp busy 0xa ms erase vbmeta_vendor part [06.048][mmc]: erase from: 9052160, to: 9084927, cnt: 32768, erase_group: 1024 [06.065][mmc]: sunxi_mmc_do_send_cmd_common: cmd 38 wait rsp busy 0xa ms erase metadata part [06.074][mmc]: erase from: 9084928, to: 9117695, cnt: 32768, erase_group: 1024 [06.092][mmc]: sunxi_mmc_do_send_cmd_common: cmd 38 wait rsp busy 0xb ms erase private part [06.100][mmc]: erase from: 9117696, to: 9150463, cnt: 32768, erase_group: 1024 [06.121][mmc]: sunxi_mmc_do_send_cmd_common: cmd 38 wait rsp busy 0xe ms erase frp part [06.129][mmc]: erase from: 9150464, to: 9151487, cnt: 1024, erase_group: 1024 [06.138][mmc]: sunxi_mmc_do_send_cmd_common: cmd 38 wait rsp busy 0x2 ms erase empty part [06.146][mmc]: erase from: 9151488, to: 9183231, cnt: 31744, erase_group: 1024 [06.162][mmc]: sunxi_mmc_do_send_cmd_common: cmd 38 wait rsp busy 0x9 ms erase dtbo part [06.170][mmc]: erase from: 9183232, to: 9187327, cnt: 4096, erase_group: 1024 [06.180][mmc]: sunxi_mmc_do_send_cmd_common: cmd 38 wait rsp busy 0x3 ms erase media_data part [06.188][mmc]: erase from: 9187328, to: 9220095, cnt: 32768, erase_group: 1024 [06.206][mmc]: sunxi_mmc_do_send_cmd_common: cmd 38 wait rsp busy 0xb ms erase UDISK part sunxi_sprite_mmc_phyerase: @nr is 0, erase from @from to end [06.219][mmc]: erase from: 9220096, to: 15268863, cnt: 6048768, erase_group: 1024 [07.790][mmc]: sunxi_mmc_do_send_cmd_common: cmd 38 wait rsp busy 0x61c ms [07.797][mmc]: mmc_mmc_erase: some sectors in emmc are ignored! [07.802][mmc]: --0: from15268864 nr1023 card erase all finish erase ******Has init rewrite ******Has init write primary GPT success write Backup GPT success keypart write start: 0x8a8000, sectors 0x8000 keypart write start: 0x8b0000, sectors 0x400 flash exit [08.242]successed in erasing flash ******Has init write primary GPT success write Backup GPT success [08.254]begin to download part [08.256]begin to download part bootloader partdata hi 0x0 partdata lo 0x91ac00 sparse: bad magic [09.282]successed in writting part bootloader origin_verify value = efcdf783, active_verify value = efcdf783 [09.419]successed in verify part bootloader [09.423]successed in download part bootloader [09.427]begin to download part env partdata hi 0x0 partdata lo 0x20000 sparse: bad magic [09.449]successed in writting part env origin_verify value = abb98d91, active_verify value = abb98d91 [09.462]successed in verify part env [09.465]successed in download part env [09.469]begin to download part boot partdata hi 0x0 partdata lo 0x2000000 sparse: bad magic [13.037]successed in writting part boot origin_verify value = 97897dde, active_verify value = 97897dde [13.484]successed in verify part boot [13.487]successed in download part boot [13.491]begin to download part super partdata hi 0x0 partdata lo 0x35808280 chunk 0(2385) chunk 1(2385) chunk 2(2385) chunk 3(2385) chunk 4(2385) chunk 5(2385) chunk 6(2385) chunk 7(2385) chunk 8(2385) chunk 9(2385) chunk 10(2385) chunk 11(2385) chunk 12(2385) chunk 13(2385) ... chunk 2378(2385) chunk 2379(2385) chunk 2380(2385) chunk 2381(2385) chunk 2382(2385) chunk 2383(2385) chunk 2384(2385) [232.228]successed in writting part super origin_verify value = 2c17b45a, active_verify value = 2c17b45a [232.237]successed in verify part super [232.241]successed in download part super [232.244]begin to download part recovery partdata hi 0x0 partdata lo 0x2000000 sparse: bad magic [239.134]successed in writting part recovery origin_verify value = c9c11f80, active_verify value = c9c11f80 [239.583]successed in verify part recovery [239.587]successed in download part recovery [239.591]begin to download part vbmeta partdata hi 0x0 partdata lo 0x2000 sparse: bad magic [239.601]successed in writting part vbmeta origin_verify value = 4074c1f1, active_verify value = 4074c1f1 [239.614]successed in verify part vbmeta [239.617]successed in download part vbmeta [239.621]begin to download part vbmeta_system partdata hi 0x0 partdata lo 0x1000 sparse: bad magic [239.631]successed in writting part vbmeta_system origin_verify value = 53be81d4, active_verify value = 53be81d4 [239.644]successed in verify part vbmeta_system [239.648]successed in download part vbmeta_system [239.653]begin to download part vbmeta_vendor partdata hi 0x0 partdata lo 0x1000 sparse: bad magic [239.663]successed in writting part vbmeta_vendor origin_verify value = 3e1679d9, active_verify value = 3e1679d9 [239.676]successed in verify part vbmeta_vendor [239.680]successed in download part vbmeta_vendor [239.684]begin to download part dtbo partdata hi 0x0 partdata lo 0x200000 sparse: bad magic [240.112]successed in writting part dtbo origin_verify value = c2511571, active_verify value = c2511571 [240.151]successed in verify part dtbo [240.154]successed in download part dtbo [240.163]successed in downloading part uboot size = 0xec000 storage type = 2 sunxi_sprite_deal_uboot ok [240.342]successed in downloading uboot [240.431][mmc]: write mmc 2 info ok dram para[0] = 318 dram para[1] = 8 dram para[2] = c0c0c0c dram para[3] = d0d0d0d dram para[4] = e0e dram para[5] = f0e0c0e dram para[6] = 30fa dram para[7] = 4000000 dram para[8] = 0 dram para[9] = 34 dram para[10] = 1b dram para[11] = 33 dram para[12] = 3 dram para[13] = 0 dram para[14] = 0 dram para[15] = 4 dram para[16] = 72 dram para[17] = 0 dram para[18] = 7 dram para[19] = 0 dram para[20] = 0 dram para[21] = 24 dram para[22] = 0 dram para[23] = 80000000 dram para[24] = 0 dram para[25] = 0 dram para[26] = 31010101 dram para[27] = 2e0000 dram para[28] = 24222122 dram para[29] = f0f0e0f dram para[30] = 6063 dram para[31] = 1d1d1b1c storage type = 2 [240.563]successed in downloading boot0 CARD OK [240.567]sprite success sprite_next_work=3 next work 3 SUNXI_UPDATE_NEXT_ACTION_SHUTDOWN [243.575][mmc]: mmc exit start [243.647][mmc]: mmc 2 exit ok
烧录完成
-
刷完重启, Android正常,初步判断就是哪吒 u-boot 的 mmc 命令未实现导致量产卡失败?
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号