您好,
我司自行开发的AM3352核心板碰上一个问题,如果设置成 MMC 开机模式,则系统显示找不到 NAND Device;如果设置成 NAND 开机模式,上电后都没有动作,连打印 CCCC…. 的动作都没有。SYSBOOT 的設置是:
Texas Instruments Revision detection unimplemented
EFUSE_SMA: 0x00011E2F, max freq reg: 0X1E2F
Set MPU freq to 800 MHz
Booting from MMC…
OMAP SD/MMC: 0
reading u-boot.img
reading u-boot.img
U-Boot 2011.09 (May 30 2016 – 14:22:58)
I2C: ready
DRAM: 512 MiB
WARNING: Caches not enabled
Did not find a recognized configuration, assuming General purpose EVM in Profile 0 with Daughter board
NAND: HW ECC Hamming Code selected
==dev_id:0x0 type->id :0x33
No NAND device found!!!
0 MiB
MMC: OMAP SD/MMC: 0
*** Warning – readenv() failed, using default environment
Not found the LCD header IC
Net: cpsw
Hit any key to stop autoboot: 0
sysboot[4-0]: 0x16 … sdboot.
SD/MMC found on device 0
reading uEnv.txt
** Unable to read "uEnv.txt" from mmc 0:1 **
reading uImage
3177816 bytes read
reading ramdisk.gz
** Unable to read "ramdisk.gz" from mmc 0:1 **
Booting from nand …
HW ECC BCH8 Selected
no devices available
## Booting kernel from Legacy Image at 80007fc0 …
Image Name: Linux-3.2.0
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3177752 Bytes = 3 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum …
Jian Zhou:
系统没有检测到NAND,需要先检查NAND的硬件这部分。
CSW:
回复 Jian Zhou:
你好,
1. 对比过原理图及参考线路设计并在电路光板上用电表量测,接线方式并没有错误。2. 更换过多颗不同厂牌、型号的 FLASH,输出都一模一样。 (dev_id:0x0 type->id :0x33)3. 将 SYSBOOT 设置改为 0x4013,输出还是不变。
Steven Liu1:
你先确认你的uboot里面使能了nand flash的配置了没有,最直接的办法,就是打印一下对应的gpmc的pin脚设置,如果pinmux的设置都没有,那很显然,根本没有初始化。或者打印GPMC_CONFIG0的配置,也是可以查验你的nand flash是否有使能成功。
leo chen:
回复 CSW:
nand是哪个型号,也要看看uboot中支不支持