自己做了一块D1S的板子,仿照全志哪吒D1S的图纸弄的,但是起不来。
[04.231]sunxi-spinand: AW SPINand MTD Layer Version: 1.8 20220106
[04.237]sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.11 20211217
[04.302]sunxi-spinand-phy: request spi0 gpio ok
[04.306]sunxi-spinand-phy: request general tx dma channel ok!
[04.312]sunxi-spinand-phy: request general rx dma channel ok!
[04.317]sunxi-spinand-phy: set spic0 clk to 20 Mhz
[04.322]sunxi-spinand-phy: init spic0 clk ok
[04.326]sunxi-spinand-phy: detect munufacture from id table: Mxic
[04.331]sunxi-spinand-phy: detect spinand id: ff0326c2 ffffffff
[04.337]sunxi-spinand-phy: ========== arch info ==========
[04.342]sunxi-spinand-phy: Model:               MX35LF2GE4AD
[04.348]sunxi-spinand-phy: Munufacture:         Mxic
[04.352]sunxi-spinand-phy: DieCntPerChip:       1
[04.357]sunxi-spinand-phy: BlkCntPerDie:        2048
[04.361]sunxi-spinand-phy: PageCntPerBlk:       64
[04.366]sunxi-spinand-phy: SectCntPerPage:      4
[04.370]sunxi-spinand-phy: OobSizePerPage:      64
[04.375]sunxi-spinand-phy: BadBlockFlag:        0x1
[04.379]sunxi-spinand-phy: OperationOpt:        0x7
[04.384]sunxi-spinand-phy: MaxEraseTimes:       65000
[04.389]sunxi-spinand-phy: EccFlag:             0x2
[04.393]sunxi-spinand-phy: EccType:             8
[04.398]sunxi-spinand-phy: EccProtectedType:    3
[04.402]sunxi-spinand-phy: ========================================
[04.408]sunxi-spinand-phy:
[04.411]sunxi-spinand-phy: ========== physical info ==========
[04.416]sunxi-spinand-phy: TotalSize:    256 M
[04.420]sunxi-spinand-phy: SectorSize:   512 B
[04.424]sunxi-spinand-phy: PageSize:     2 K
[04.428]sunxi-spinand-phy: BlockSize:    128 K
[04.433]sunxi-spinand-phy: OOBSize:      64 B
[04.437]sunxi-spinand-phy: ========================================
[04.443]sunxi-spinand-phy:
[04.445]sunxi-spinand-phy: ========== logical info ==========
[04.451]sunxi-spinand-phy: TotalSize:    256 M
[04.455]sunxi-spinand-phy: SectorSize:   512 B
[04.459]sunxi-spinand-phy: PageSize:     4 K
[04.463]sunxi-spinand-phy: BlockSize:    256 K
[04.467]sunxi-spinand-phy: OOBSize:      128 B
[04.471]sunxi-spinand-phy: ========================================
[04.488]sunxi-spinand-phy: block lock register: 0x00
[04.492]sunxi-spinand-phy: feature register: 0x11
[04.497]sunxi-spinand-phy: sunxi physic nand init end
[04.671]sunxi-spinand-phy: set spic0 clk to 100 Mhz
通过PhoenixSuit下固件,串口打印每次到了这里就停住了。是走线问题?导致SPINAND的频率上不去吗?还是有其他的问题。
用SD卡启动打印如下,也是起不起来
U-Boot 2018.07-ge987def5-dirty (Mar 26 2023 - 21:07:19 +0800) Allwinner Technology
[00.328]DRAM:  64 MiB
[00.330]Relocation Offset is: 01ee9000
[00.335]secure enable bit: 0
can't support chip type 24064
[00.340]CPU=720 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=300Mhz
sunxi flash map init
SPI ALL:   ready
[00.351]flash init start
[00.354]workmode = 0,storage type = 1
[00.357][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00
[00.362][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.375][mmc]: get card0 default pin fail
[00.379][mmc]: can't find node "mmc0",will add new node
[00.383][mmc]: fdt err returned <no error>
[00.387][mmc]: Using default timing para
[00.391][mmc]: sunxi mmc pin set failed!
[00.394]error card no error
[00.397][mmc]: MMC Device -1 not found
fail to find one useful mmc card
initcall sequence 0000000043f91320 failed at call 000000004200df06 (err=-1)
### ERROR ### Please RESET the board ###
不知道哪里的问题了
离线
自制的板子 把原理图贴出来 大家一起看看
离线
就是官方的d1sNezha的原理图,就是PCB上把0402封装的换成了0603封装的
离线
请问楼主的问题解决了吗?我碰到同样问题
[41]HELLO! BOOT0 is starting!
[44]BOOT0 commit : 88480af
[47]set pll start
[48]periph0 has been enabled
[51]set pll end
[53][pmu]: bus read error
[55]board init ok
[57]ZQ value = 0x26
[59]get_pmu_exist() = -1
[61]ddr_efuse_type: 0xa
[64]trefi:7.8ms
[66][AUTO DEBUG] single rank and full DQ!
[70]ddr_efuse_type: 0xa
[72]trefi:7.8ms
[74][AUTO DEBUG] rank 0 row = 13
[77][AUTO DEBUG] rank 0 bank = 4
[80][AUTO DEBUG] rank 0 page size = 2 KB
[84]DRAM BOOT DRIVE INFO: V0.33
[87]DRAM CLK = 528 MHz
[89]DRAM Type = 2 (2:DDR2,3:DDR3)
[92]DRAMC read ODT  off.
[94]DRAM ODT off.
[96]ddr_efuse_type: 0xa
[99]DRAM SIZE =64 M
[101]dram_tpr4:0x0
[102]PLL_DDR_CTRL_REG:0xf8002b00
[105]DRAM_CLK_REG:0xc0000000
[108][TIMING DEBUG] MR2= 0x0
[113]DRAM simple test OK.
[115]dram size =64
[117]card no is 0
[118]sdcard 0 line count 4
[121][mmc]: mmc driver ver 2021-04-2 16:45
[130][mmc]: Wrong media type 0x0
[133][mmc]: ***Try SD card 0***
[152][mmc]: HSSDR52/SDR25 4 bit
[154][mmc]: 50000000 Hz
[157][mmc]: 15193 MB
[159][mmc]: ***SD/MMC 0 init OK!!!***
[212]Loading boot-pkg Succeed(index=0).
[216]Entry_name        = opensbi
[219]Entry_name        = u-boot
[223]Entry_name        = dtb
[225]mmc not para
[227]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-0▒
U-Boot 2018.07-ge987def-dirty (Apr 07 2023 - 21:18:18 +0800) Allwinner Technology
[00.296]DRAM:  64 MiB
[00.298]Relocation Offset is: 01ee9000
[00.302]secure enable bit: 0
can't support chip type 24064
[00.308]CPU=720 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=300Mhz
sunxi flash map init
SPI ALL:   ready
[00.319]flash init start
[00.321]workmode = 0,storage type = 1
[00.325][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00
[00.330][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.342][mmc]: get card0 default pin fail
[00.347][mmc]: can't find node "mmc0",will add new node
[00.351][mmc]: fdt err returned <no error>
[00.355][mmc]: Using default timing para
[00.359][mmc]: sunxi mmc pin set failed!
[00.362]error card no error
[00.365][mmc]: MMC Device -1 not found
fail to find one useful mmc card
initcall sequence 0000000043f913f0 failed at call 000000004200df1c (err=-1)
### ERROR ### Please RESET the board ###
离线
检查下是不是虚焊了
离线
检查下是不是虚焊了
用Phoenixcard烧启动卡,再插SD卡启动,到uboot报错,应该还是软件原因
[43]HELLO! BOOT0 is starting!
[45]BOOT0 commit : 88480af
[48]set pll start
[50]periph0 has been enabled
[53]set pll end
[54][pmu]: bus read error
[57]board init ok
[58]ZQ value = 0x27
[60]get_pmu_exist() = -1
[63]ddr_efuse_type: 0xa
[65]trefi:7.8ms
[67][AUTO DEBUG] single rank and full DQ!
[71]ddr_efuse_type: 0xa
[73]trefi:7.8ms
[75][AUTO DEBUG] rank 0 row = 13
[78][AUTO DEBUG] rank 0 bank = 4
[81][AUTO DEBUG] rank 0 page size = 2 KB
[85]DRAM BOOT DRIVE INFO: V0.33
[88]DRAM CLK = 528 MHz
[90]DRAM Type = 2 (2:DDR2,3:DDR3)
[93]DRAMC read ODT  off.
[95]DRAM ODT off.
[97]ddr_efuse_type: 0xa
[100]DRAM SIZE =64 M
[102]dram_tpr4:0x0
[104]PLL_DDR_CTRL_REG:0xf8002b00
[107]DRAM_CLK_REG:0xc0000000
[109][TIMING DEBUG] MR2= 0x0
[114]DRAM simple test OK.
[116]dram size =64
[118]card no is 0
[120]sdcard 0 line count 4
[122][mmc]: mmc driver ver 2021-04-2 16:45
[131][mmc]: Wrong media type 0x0
[134][mmc]: ***Try SD card 0***
[152][mmc]: HSSDR52/SDR25 4 bit
[155][mmc]: 50000000 Hz
[157][mmc]: 15193 MB
[159][mmc]: ***SD/MMC 0 init OK!!!***
[213]Loading boot-pkg Succeed(index=0).
[216]Entry_name        = opensbi
[220]Entry_name        = u-boot
[223]Entry_name        = dtb
[226]mmc not para
[228]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-0▒
U-Boot 2018.07-ge987def-dirty (Apr 08 2023 - 13:56:30 +0800) Allwinner Technology
[00.298]DRAM:  64 MiB
[00.300]Relocation Offset is: 01ee9000
[00.304]secure enable bit: 0
can't support chip type 24064
[00.310]CPU=720 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=300Mhz
sunxi flash map init
SPI ALL:   ready
[00.321]flash init start
[00.323]workmode = 0,storage type = 1
[00.327][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00
[00.332][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.344][mmc]: get card0 default pin fail
[00.348][mmc]: can't find node "mmc0",will add new node
[00.353][mmc]: fdt err returned <no error>
[00.357][mmc]: Using default timing para
[00.361][mmc]: sunxi mmc pin set failed!
[00.364]error card no error
[00.367][mmc]: MMC Device -1 not found
fail to find one useful mmc card
initcall sequence 0000000043f91400 failed at call 000000004200df1c (err=-1)
### ERROR ### Please RESET the board ###
离线