问题:hi3536设置从emmc启动,uboot重启后只打印一次空格,uboot没有启动,为什么?
蜗牛哦 2017-06-09 11:01:53 问题:hi3536设置从emmc启动,uboot重启后只打印一次空格,uboot没有启动,为什么?
问题描述:
这是我通过hi-tool工具烧写uboot的的打印日志,说明已经成功烧写了uboot镜像到emmc芯片中
-Boot 2010.06-dirty (Jun 02 2017 - 13:57:06)
NAND: Check nand flash controller v610. found
Special NAND id table Version 1.36
Nand ID: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
No NAND device found!!!
0 MiB
Check spi flash controller v350... Found
Can't find a valid spi flash chip.
Can't find a valid spi flash chip.
MMC:
EMMC/MMC/SD controller initialization.
mmc->init(mmc)/err=0x0
mmc_go_idle(mmc)/err=0x0
mmc_startup(mmc)/err=0x0
Device is not exit !
MMC/SD Card:
MID: 0x15
Read Block: 512 Bytes
Write Block: 512 Bytes
Chip Size: 7452M Bytes (High Capacity)
Name: "M8G2F"
Chip Type: MMC
Version: 4.0
Speed: 25000000Hz
Bus Width: 8bit
Boot Addr: 0 Bytes
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
start download process.
Boot Started successfully!
Send command: mmc write 0x0 0x41000000 0x0 0x297
MMC write: dev # 0, block # 0, count 663 ... 663 blocks written: OK
[EOT](OK)
Fastboot burnt successfully!
同时也确认这三个pin管脚硬件上都上拉为高电平
BOOTROM_SEL 信号与芯片外部管脚MDCK 复用;
BOOT_SEL1 信号与芯片外部管脚EPHY0_CLK 复用;
BOOT_SEL0 信号与芯片外部管脚RGMII0_TXER 复用。
现在断电重启主板,串口检测只是打印一次空格字符,
hex数据为CF 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0A