烧录suit工具写flash卡在7%
-
是因为w25q256的硬件问题吗?
U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology [07.535]DRAM: 64 MiB [07.540]Relocation Offset is: 01ee7000 [07.565]secure enable bit: 0 [07.571]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz [07.577]flash init start [07.579]workmode = 16,storage type = 0 try card 2 set card number 2 get card number 2 [07.587][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 [07.597][mmc]: get sdc_type fail and use default host:tm4. [07.627][mmc]: Is not Boot mode! [07.630][mmc]: SUNXI SDMMC Controller Version:0x50310 [07.641][mmc]: ************Try SD card 2************ [07.646][mmc]: mmc 2 cmd timeout 100 status 100 [07.650][mmc]: smc 2 err, cmd 8, RTO [07.654][mmc]: mmc 2 close bus gating and reset [07.659][mmc]: mmc 2 cmd timeout 100 status 100 [07.663][mmc]: smc 2 err, cmd 55, RTO [07.667][mmc]: mmc 2 close bus gating and reset [07.671][mmc]: ************Try MMC card 2************ [07.680][mmc]: mmc 2 cmd timeout 100 status 100 [07.684][mmc]: smc 2 err, cmd 1, RTO [07.687][mmc]: mmc 2 close bus gating and reset [07.692][mmc]: Card did not respond to voltage select! [07.696][mmc]: ************SD/MMC 2 init error!************ [07.702][mmc]: mmc init product failed MMC init failed try emmc fail [07.718]sunxi-spinand: AW SPINand MTD Layer Version: 1.5 20200407 [07.723]sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.9 20200306 [07.784]sunxi-spinand-phy: request spi0 gpio ok [07.788]sunxi-spinand-phy: request general tx dma channel ok! [07.794]sunxi-spinand-phy: request general rx dma channel ok! [07.799]sunxi-spinand-phy: set spic0 clk to 20 Mhz [07.804]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 [07.849]sunxi-spinand-phy: detect munufacture from id table: Winbond [07.865]sunxi-spinand-phy: get spi-nand Model from fdt fail [07.870]sunxi-spinand-phy: get phy info from fdt fail [07.875]sunxi-spinand-phy: not detect munufacture from fdt [07.880]sunxi-spinand-phy: not detect any munufacture from id table [07.896]sunxi-spinand-phy: get spi-nand Model from fdt fail [07.901]sunxi-spinand-phy: get phy info from fdt fail [07.906]sunxi-spinand-phy: not detect munufacture from fdt [07.911]sunxi-spinand-phy: not match spinand: 1940 0 try nand fail individual lock is enable [07.985]spi sunxi_slave->max_hz:100000000 SF: Detected w25q256 with page size 256 Bytes, erase size 64 KiB, total 32 MiB [08.001]Loading Environment from SUNXI_FLASH... OK [08.014]try to burn key [08.018]out of usb burn from boot: not need burn key [08.022]Net: [08.023]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 SUNXI_EFEX_ERASE_TAG erase_flag = 0x12 origin_erase_flag = 0x1 FEX_CMD_fes_verify_status FEX_CMD_fes_verify last err=0 the 0 mbr table is ok *************MBR DUMP*************** total mbr part 6 part[0] name :boot-resource part[0] classname :DISK part[0] addrlo :0x20 part[0] lenlo :0x100 part[0] user_type :32768 part[0] keydata :0 part[0] ro :0 part[1] name :env part[1] classname :DISK part[1] addrlo :0x120 part[1] lenlo :0x100 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 :0x220 part[2] lenlo :0x100 part[2] user_type :32768 part[2] keydata :0 part[2] ro :0 part[3] name :boot part[3] classname :DISK part[3] addrlo :0x320 part[3] lenlo :0x3c00 part[3] user_type :32768 part[3] keydata :0 part[3] ro :0 part[4] name :rootfs part[4] classname :DISK part[4] addrlo :0x3f20 part[4] lenlo :0x2800 part[4] user_type :32768 part[4] keydata :0 part[4] ro :0 part[5] name :UDISK part[5] classname :DISK part[5] addrlo :0x6720 part[5] lenlo :0x0 part[5] user_type :33024 part[5] keydata :0 part[5] ro :0 common1(partition3) need it, here is a weak func total part: 7 mbr 0, 20, 8000 boot-resource 1, 100, 8000 env 2, 100, 8000 env-redund 3, 100, 8000 boot 4, 3c00, 8000 rootfs 5, 2800, 8000 UDISK 6, 0, 8100 need erase flash: 18 The Chip Erase size is: 32M ... [59.989]get secure storage map err [59.992]erase secure storage block 0 err SUNXI_EFEX_MBR_TAG mbr size = 0x4000 SF: write offset not multiple of erase size write primary GPT success spinor: skip backup GPT [60.201]update partition map GUID Partition Table Header signature is wrong: 0x74704370004B4447 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid GPT *** ERROR: attempting read past flash size *** ERROR: Can't read GPT header *** part_get_info_efi: *** ERROR: Invalid Backup GPT *** FEX_CMD_fes_verify_status FEX_CMD_fes_verify last err=0 FEX_CMD_fes_verify_value, start 0x20, size high 0x0:low 0x14000 FEX_CMD_fes_verify_value 0x284071e4
-
@missdangerous 固件损坏,GUID 分区表损坏
-
@awwwwa 我用东山D1S的开发板能下载, 但是自己画的板子一直卡7%, 是不是我的SPI flash那有问题
-
卡7%是不是烧录成nand固件了,nor固件文件名会写nor
-
@awwwwa 谢谢,硬件有错误造成的
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号