F133用卡烧录NOR失败/无响应
-
以下是启动和烧录过程的完整log:
[33]HELLO! BOOT0 is starting! [35]BOOT0 commit : 88480af [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 = 0x2d [50]get_pmu_exist() = -1 [53]ddr_efuse_type: 0xa [55]trefi:7.8ms [57][AUTO DEBUG] single rank and full DQ! [61]ddr_efuse_type: 0xa [63]trefi:7.8ms [65][AUTO DEBUG] rank 0 row = 13 [68][AUTO DEBUG] rank 0 bank = 4 [71][AUTO DEBUG] rank 0 page size = 2 KB [75]DRAM BOOT DRIVE INFO: V0.33 [78]DRAM CLK = 528 MHz [80]DRAM Type = 2 (2:DDR2,3:DDR3) [83]DRAMC read ODT off. [86]DRAM ODT off. [87]ddr_efuse_type: 0xa [90]DRAM SIZE =64 M [92]dram_tpr4:0x0 [94]PLL_DDR_CTRL_REG:0xf8002b00 [96]DRAM_CLK_REG:0xc0000000 [99][TIMING DEBUG] MR2= 0x0 [103]DRAM simple test OK. [106]dram size =64 [108]card no is 0 [109]sdcard 0 line count 4 [112][mmc]: mmc driver ver 2021-04-2 16:45 [121][mmc]: Wrong media type 0x0 [124][mmc]: ***Try SD card 0*** [134][mmc]: HSSDR52/SDR25 4 bit [137][mmc]: 50000000 Hz [139][mmc]: 30360 MB [141][mmc]: ***SD/MMC 0 init OK!!!*** [189]Loading boot-pkg Succeed(index=0). [193]Entry_name = opensbi [196]Entry_name = u-boot [200]Entry_name = dtb [203]mmc not para [204]Jump to second Boot. OpenSBI auto-t113-linux-V0.8-3-ge39e937 ____ _____ ____ _____ / __ \ / ____| _ \_ _| | | | |_ __ ___ _ __ | (___ | |_) || | | | | | '_ \ / _ \ '_ \ \___ \| _ < | | | |__| | |_) | __/ | | |____) | |_) || |_ \____/| .__/ \___|_| |_|_____/|____/_____| | | |_| 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.07-ge987def5 (Nov 07 2022 - 03:11:27 +0000) Allwinner Technology [00.289]DRAM: 64 MiB [00.291]Relocation Offset is: 01eea000 [00.296]secure enable bit: 0 [00.299]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz sunxi flash map init SPI ALL: ready [00.309]flash init start [00.311]workmode = 17,storage type = 1 try card 2 set card number 2 get card number 2 [00.319][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00 [00.325][mmc]: get sdc_type fail and use default host:tm4. [00.331][mmc]: Is not Boot mode! [00.334][mmc]: SUNXI SDMMC Controller Version:0x50310 [00.345][mmc]: ************Try SD card 2************ [00.350][mmc]: mmc 2 cmd timeout 100 status 100 [00.354][mmc]: smc 2 err, cmd 8, RTO [00.358][mmc]: mmc 2 close bus gating and reset [00.363][mmc]: mmc 2 cmd timeout 100 status 100 [00.367][mmc]: smc 2 err, cmd 55, RTO [00.370][mmc]: mmc 2 close bus gating and reset [00.374][mmc]: ************Try MMC card 2************ [00.383][mmc]: mmc 2 cmd timeout 100 status 100 [00.387][mmc]: smc 2 err, cmd 1, RTO [00.391][mmc]: mmc 2 close bus gating and reset [00.395][mmc]: Card did not respond to voltage select! [00.400][mmc]: ************SD/MMC 2 init error!************ [00.405][mmc]: mmc init product failed MMC init failed try emmc fail [00.412]sunxi-spinand: AW SPINand MTD Layer Version: 1.8 20220106 [00.418]sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.11 20211217 [00.426]sunxi-spinand-phy: request spi0 gpio ok [00.430]sunxi-spinand-phy: request general tx dma channel ok! [00.436]sunxi-spinand-phy: request general rx dma channel ok! [00.441]sunxi-spinand-phy: set spic0 clk to 20 Mhz [00.446]sunxi-spinand-phy: init spic0 clk ok [01.450]sunxi-spinand-phy: read id failed : -110 try nand fail [01.458]sunxi_upper_lock, invalid address! [01.467]spi sunxi_slave->max_hz:100000000 [02.450]Sample mode:1 start:0 end:51 right_sample_delay:0x19 SF: Detected w25q256 with page size 256 Bytes, erase size 64 KiB, total 32 MiB [02.718][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00 [02.724][mmc]: get sdc_type fail and use default host:tm1. [02.730][mmc]: can't find node "mmc0",will add new node [02.735][mmc]: fdt err returned <no error> [02.738][mmc]: Using default timing para [02.742][mmc]: SUNXI SDMMC Controller Version:0x50310 [02.761][mmc]: card_caps:0x3000000a [02.764][mmc]: host_caps:0x3000003f [02.767]line:703 init_clocks [02.770]init_clocks:finish [02.773]drv_disp_init [02.782]get flash lcd idx 0 request pwm success, pwm7:pwm7:0x2000c00. [02.791]HDMI 2.0 driver init start! [02.795]drv_disp_init finish [02.798]boot_gui_init:start [02.801]set disp.dev2_output_type fail. using defval=0 [02.806]disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(150000000) clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) [02.842]switch device: sel=0, type=1, mode=4, format=0, bits=0, eotf=4, cs=260 [02.849]set disp.fb0_rot_used fail. using defval=0 [03.015]set disp.fb0_rot_degree fail. using defval=0 [03.023]boot_gui_init:finish [03.025]Loading Environment from SUNXI_FLASH... OK [03.030]try to burn key [03.032]out of usb burn from boot: not need burn key Hit any key to stop autoboot: 0 sunxi work mode=0x11 run card sprite [03.044]try sprite_led_gpio config [03.047]sprite_led_gpio start [03.050]sunxi sprite begin firmware name <NULL> img start = 0x120 try to read mmc start 288 read mmc ok [03.062]firmware probe ok [03.065]fetch download map *************DOWNLOAD MAP DUMP************ total download part 5 [03.075]LCD open finish 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 :0x100 download part[0] addrlo :0x20 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 :0x100 download part[1] addrlo :0x120 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 :0x100 download part[2] addrlo :0x220 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 :0x3c00 download part[3] addrlo :0x320 download part[3] encrypt :0x0 download part[3] verify :0x1 download part[4] name :rootfs download part[4] download file :ROOTFS_NOR_FEX00 download part[4] verify file :VROOTFS_NOR_FEX0 download part[4] lenlo :0x3000 download part[4] addrlo :0x3f20 download part[4] encrypt :0x0 download part[4] verify :0x1 [03.205]fetch mbr 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 :0x3000 part[4] user_type :32768 part[4] keydata :0 part[4] ro :0 part[5] name :UDISK part[5] classname :DISK part[5] addrlo :0x6f20 part[5] lenlo :0x0 part[5] user_type :33024 part[5] keydata :0 part[5] ro :0 *************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 :0x8000 part[0] keydata :0x0 part[0] ro :0x0 part[1] name :env part[1] classname :DISK part[1] addrlo :0x120 part[1] lenlo :0x100 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 :0x220 part[2] lenlo :0x100 part[2] user_type :0x8000 part[2] keydata :0x0 part[2] ro :0x0 part[3] name :boot part[3] classname :DISK part[3] addrlo :0x320 part[3] lenlo :0x3c00 part[3] user_type :0x8000 part[3] keydata :0x0 part[3] ro :0x0 part[4] name :rootfs part[4] classname :DISK part[4] addrlo :0x3f20 part[4] lenlo :0x3000 part[4] user_type :0x8000 part[4] keydata :0x0 part[4] ro :0x0 part[5] name :UDISK part[5] classname :DISK part[5] addrlo :0x6f20 part[5] lenlo :0x0 part[5] user_type :0x8100 part[5] keydata :0x0 part[5] ro :0x0 [03.406]begin to erase flash 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, 3000, 8000 UDISK 6, 0, 8100 need erase flash: 1 [03.429]read item0 copy0 [03.432][mmc]: MMC: block number 0x3008 exceeds max(0x0) read first backup failed in fun sunxi_sprite_mmc_secread line 466 [03.442][mmc]: MMC: block number 0x3008 exceeds max(0x0) read first backup failed in fun sunxi_sprite_mmc_secread line 466 [03.453]unknown error happen in item 0 read [03.457]get secure storage map err secure storage init err no part need to protect user data erase size: 65536 ,sector size: 65536 total 512 sectors, erase index 0 total 512 sectors, erase index 16 total 512 sectors, erase index 32 total 512 sectors, erase index 48 total 512 sectors, erase index 64 total 512 sectors, erase index 80 total 512 sectors, erase index 96 total 512 sectors, erase index 112 total 512 sectors, erase index 128 total 512 sectors, erase index 144 total 512 sectors, erase index 160 total 512 sectors, erase index 176 total 512 sectors, erase index 192 total 512 sectors, erase index 208 total 512 sectors, erase index 224 total 512 sectors, erase index 240 total 512 sectors, erase index 256 total 512 sectors, erase index 272 total 512 sectors, erase index 288 total 512 sectors, erase index 304 total 512 sectors, erase index 320 total 512 sectors, erase index 336 total 512 sectors, erase index 352 total 512 sectors, erase index 368 total 512 sectors, erase index 384 total 512 sectors, erase index 400 total 512 sectors, erase index 416 total 512 sectors, erase index 432 total 512 sectors, erase index 448 total 512 sectors, erase index 464 total 512 sectors, erase index 480 total 512 sectors, erase index 496 [94.071]successed in erasing flash SF: write offset not multiple of erase size write primary GPT success spinor: skip backup GPT [94.087]update partition map GUID Partition Table Entry Array CRC is wrong: 0xeadcc20a != 0xb2aa7578 part_get_info_efi: *** ERROR: Invalid GPT *** GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid Backup GPT *** [94.112]begin to download part [94.115]begin to download part boot-resource partdata hi 0x0 partdata lo 0x14000 sparse: bad magic [94.272]successed in writting part boot-resource origin_verify value = e6f75b5c, active_verify value = e6f75b5c [94.286]successed in verify part boot-resource [94.291]successed in download part boot-resource [94.295]begin to download part env partdata hi 0x0 partdata lo 0x20000 sparse: bad magic [94.527]successed in writting part env origin_verify value = 82bf05f6, active_verify value = 82bf05f6 [94.540]successed in verify part env [94.543]successed in download part env [94.547]begin to download part env-redund partdata hi 0x0 partdata lo 0x20000 sparse: bad magic [94.780]successed in writting part env-redund origin_verify value = 82bf05f6, active_verify value = 82bf05f6 [94.793]successed in verify part env-redund [94.797]successed in download part env-redund [94.801]begin to download part boot partdata hi 0x0 partdata lo 0x6c0800 sparse: bad magic到这里就没响应了,重启也无法进入NOR内的系统,SDK是AWOL的D1S打了nezha补丁的nezha-d1s-nor镜像,谢谢大佬指点!
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号