页次: 1
自己做了一块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 ###
不知道哪里的问题了
页次: 1