V853无法烧写SPI Nand
-
我想采用SPI nand启动,但是我根据客服这边的建议将emmc拆除后,贴了spi nand发现无法烧写,img我已经是将系统配置成spi nand的,烧写时log如下,还请帮忙解答一下,谢谢
板子是百问网的V853PRO,重新焊过,基本能够排除虚焊问题,采用的flash是GD5F4GM8UEYIG,在uboot和kernel中已经添加了对应成员变量。
CCC[2263]fes begin commit:2a3ec52022 [2266]set pll start [2268]periph0 has been enabled [2271]set pll end [2274]PMU: AXP21 [2277]board init ok [2278]beign to init dram [2281]DRAM use external ZQ!! [2283]chip id check OK [2286]DRAM_VCC set to 1500 mv [2289]trefi:7.8ms [2291][AUTO DEBUG] single rank and full DQ! [2296]trefi:7.8ms [2298][AUTO DEBUG] rank 0 row = 15 [2301][AUTO DEBUG] rank 0 bank = 8 [2305][AUTO DEBUG] rank 0 page size = 2 KB [2309]DRAM BOOT DRIVE INFO: V0.16 [2312]DRAM CLK = 936 MHz [2314]DRAM Type = 3 (2:DDR2,3:DDR3) [2318]DRAMC ZQ value: 0x7b7bfb [2320]DRAM ODT value: 0x42. [2324]DRAM SIZE =512 M [2326]dram_tpr4:0x0 [2329]DRAM simple test OK. [2332]rtc standby flag is 0x0, super standby flag is 0x0 [2337]init dram ok U-Boot 2018.05-00002-g3fa945c-dirty (Aug 12 2023 - 17:06:50 +0800) Allwinner Technology [04.767]CPU: Allwinner Family [04.770]Model: sun8iw21 I2C: ready [04.796]DRAM: 512 MiB [04.799]Relocation Offset is: 1ced0000 [04.823]secure enable bit: 0 [04.826]PMU: AXP21 [04.828]PMU: pmu_axp2101 found [04.831]BMU: AXP21 [04.832]BMU: bmu_axp2101 found FDT ERROR:fdt_get_regulator_name:get property handle twi-supply error:FDT_ERR_INTERNAL [04.843]gpio_bias, pc_bias: 1800, pc_supply: not set [04.848]gpio_bias, pl_bias: -1, pl_supply: not set [04.853]dcdc1_vol = 3300, onoff=1 [04.857]dcdc2_vol = 900, onoff=1 [04.860]dcdc5_vol = 0, onoff=0 [04.863]aldo1_vol = 1800, onoff=1 [04.867]aldo2_vol = 1800, onoff=1 [04.871]aldo3_vol = 3300, onoff=1 [04.874]aldo4_vol = 3300, onoff=1 [04.878]bldo1_vol = 1800, onoff=1 [04.881]bldo2_vol = 2800, onoff=1 [04.885]dldo1_vol = 3300, onoff=1 [04.888]dldo2_vol = 1200, onoff=1 bias_name:pc_bias bias_vol:1800 bias_name:pi_bias bias_vol:1800 [04.898]bat_vol=42, ratio=0 [04.900]safe_vol=3500, safe_ratio=1 [04.904]CPU=900 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=24Mhz MBus=300Mhz [04.910]gic: normal mode sunxi flash map init [04.914]flash init start [04.916]workmode = 16,storage type = 0 try card 2 set card number 2 get card number 2 [04.924][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00 [04.930][mmc]: get sdc_type fail and use default host:tm4. [04.936][mmc]: Is not Boot mode! [04.939][mmc]: SUNXI SDMMC Controller Version:0x50400 [04.950][mmc]: Try SD card 2 [04.956][mmc]: mmc 2 cmd timeout 100 status 100 [04.960][mmc]: smc 2 err, cmd 8, RTO [04.963][mmc]: mmc 2 close bus gating and reset [04.968][mmc]: mmc 2 cmd timeout 100 status 100 [04.972][mmc]: smc 2 err, cmd 55, RTO [04.976][mmc]: mmc 2 close bus gating and reset [04.980][mmc]: Try MMC card 2 [04.989][mmc]: mmc 2 cmd timeout 100 status 100 [04.993][mmc]: smc 2 err, cmd 1, RTO [04.996][mmc]: mmc 2 close bus gating and reset [05.001][mmc]: Card did not respond to voltage select! [05.005][mmc]: SD/MMC 2 init error! [05.011][mmc]: mmc init product failed MMC init failed try emmc fail [05.017]sunxi-spinand: AW SPINand MTD Layer Version: 1.8 20220106 [05.023]sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.11 20211217 [05.031]sunxi-spinand-phy: request spi0 gpio ok [05.035]sunxi-spinand-phy: request general tx dma channel ok! [05.041]sunxi-spinand-phy: request general rx dma channel ok! [05.046]sunxi-spinand-phy: set spic0 clk to 20 Mhz [05.051]sunxi-spinand-phy: init spic0 clk ok [06.055]sunxi-spinand-phy: read id failed : -110 try nand fail [06.062]unrecognized JEDEC id bytes: ff, ff, ff data abort pc : [<5ff0b60a>] lr : [<5ff0b5f1>] reloc pc : [<4303b60a>] lr : [<4303b5f1>] sp : 5de6dc38 ip : 00000003 fp : 43000508 r10: 43031ca9 r9 : 5deafe70 r8 : 5def0678 r7 : 5ff7f308 r6 : ffffffed r5 : 5ff4fbe8 r4 : 5def06c0 r3 : 00002000 r2 : 00000001 r1 : 0000000a r0 : 00000030 Flags: nZCv IRQs on FIQs off Mode SVC_32 CCC[1976]fes begin commit:2a3ec52022 [1979]set pll start [1981]periph0 has been enabled [1984]set pll end [1986]PMU: AXP21 [1989]board init ok [1991]beign to init dram [1993]DRAM use external ZQ!! [1996]chip id check OK [1999]DRAM_VCC set to 1500 mv [2002]trefi:7.8ms [2004][AUTO DEBUG] single rank and full DQ! [2008]trefi:7.8ms [2011][AUTO DEBUG] rank 0 row = 15 [2014][AUTO DEBUG] rank 0 bank = 8 [2017][AUTO DEBUG] rank 0 page size = 2 KB [2021]DRAM BOOT DRIVE INFO: V0.16 [2025]DRAM CLK = 936 MHz [2027]DRAM Type = 3 (2:DDR2,3:DDR3) [2030]DRAMC ZQ value: 0x7b7bfb [2033]DRAM ODT value: 0x42. [2037]DRAM SIZE =512 M [2039]dram_tpr4:0x0 [2042]DRAM simple test OK. [2044]rtc standby flag is 0x0, super standby flag is 0x0 [2050]init dram ok U-Boot 2018.05-00002-g3fa945c-dirty (Aug 12 2023 - 17:06:50 +0800) Allwinner Technology [04.461]CPU: Allwinner Family [04.464]Model: sun8iw21 I2C: ready [04.490]DRAM: 512 MiB [04.493]Relocation Offset is: 1ced0000 [04.518]secure enable bit: 0 [04.521]PMU: AXP21 [04.523]PMU: pmu_axp2101 found [04.525]BMU: AXP21 [04.527]BMU: bmu_axp2101 found FDT ERROR:fdt_get_regulator_name:get property handle twi-supply error:FDT_ERR_INTERNAL [04.538]gpio_bias, pc_bias: 1800, pc_supply: not set [04.543]gpio_bias, pl_bias: -1, pl_supply: not set [04.548]dcdc1_vol = 3300, onoff=1 [04.552]dcdc2_vol = 900, onoff=1 [04.555]dcdc5_vol = 0, onoff=0 [04.558]aldo1_vol = 1800, onoff=1 [04.562]aldo2_vol = 1800, onoff=1 [04.565]aldo3_vol = 3300, onoff=1 [04.569]aldo4_vol = 3300, onoff=1 [04.572]bldo1_vol = 1800, onoff=1 [04.576]bldo2_vol = 2800, onoff=1 [04.579]dldo1_vol = 3300, onoff=1 [04.583]dldo2_vol = 1200, onoff=1 bias_name:pc_bias bias_vol:1800 bias_name:pi_bias bias_vol:1800 [04.593]bat_vol=634, ratio=0 [04.595]safe_vol=3500, safe_ratio=1 [04.599]CPU=900 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=24Mhz MBus=300Mhz [04.605]gic: normal mode sunxi flash map init [04.609]flash init start [04.611]workmode = 16,storage type = 0 try card 2 set card number 2 get card number 2 [04.619][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00 [04.624][mmc]: get sdc_type fail and use default host:tm4. [04.631][mmc]: Is not Boot mode! [04.634][mmc]: SUNXI SDMMC Controller Version:0x50400 [04.645][mmc]: Try SD card 2 [04.650][mmc]: mmc 2 cmd timeout 100 status 100 [04.654][mmc]: smc 2 err, cmd 8, RTO [04.658][mmc]: mmc 2 close bus gating and reset [04.663][mmc]: mmc 2 cmd timeout 100 status 100 [04.667][mmc]: smc 2 err, cmd 55, RTO [04.670][mmc]: mmc 2 close bus gating and reset [04.675][mmc]: Try MMC card 2 [04.684][mmc]: mmc 2 cmd timeout 100 status 100 [04.688][mmc]: smc 2 err, cmd 1, RTO [04.691][mmc]: mmc 2 close bus gating and reset [04.695][mmc]: Card did not respond to voltage select! [04.700][mmc]: SD/MMC 2 init error! [04.705][mmc]: mmc init product failed MMC init failed try emmc fail [04.712]sunxi-spinand: AW SPINand MTD Layer Version: 1.8 20220106 [04.718]sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.11 20211217 [04.726]sunxi-spinand-phy: request spi0 gpio ok [04.730]sunxi-spinand-phy: request general tx dma channel ok! [04.736]sunxi-spinand-phy: request general rx dma channel ok! [04.741]sunxi-spinand-phy: set spic0 clk to 20 Mhz [04.746]sunxi-spinand-phy: init spic0 clk ok [05.750]sunxi-spinand-phy: read id failed : -110 try nand fail [05.757]unrecognized JEDEC id bytes: ff, ff, ff data abort pc : [<5ff0b60a>] lr : [<5ff0b5f1>] reloc pc : [<4303b60a>] lr : [<4303b5f1>] sp : 5de6dc38 ip : 0000000f fp : 43000508 r10: 43031ca9 r9 : 5deafe70 r8 : 5def0678 r7 : 5ff7f308 r6 : ffffffed r5 : 5ff4fbe8 r4 : 5def06c0 r3 : 00002000 r2 : 00000001 r1 : 0000000a r0 : 00000030 Flags: nZCv IRQs on FIQs off Mode SVC_32
-
[05.750]sunxi-spinand-phy: read id failed : -110 try nand fail
nand找不到,确认一下sys_config.fex的spi引脚配置对不对
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号